Yes actually I did it

ul a{
display:block;
width: 6em;
padding 0.2em;
line-height:1.4em;
background-color:#000000;
border: 1px solid black;
color:#d22539;
text-decoration: none;
text-align: center;
}

and that worked.  Still have to make it prettier

Michael Horowitz
Your Computer Consultant
http://yourcomputerconsultant.com
561-394-9079



Mike at Green-Beast.com wrote:
Hello Michael,

trying to create a button affect
a:{
[...]
}

but it is not working.

Remove the colon after the anchor element, or add the word link (a:link) after it. Do bear in mind, as written, it may affect links you don't want it to so you will either want to specify it with a class or ID [1], or assign it to a parent [2].

--------------
[1]

<a class="foo" href="/">Foo</a>

a.foo {
 your : styles;
}

--------------
[2]

<p class="foo"><a href="/">Foo</a>

p.foo a {
 your : styles;
}

--------------

Make sense?

Cheers.
Mike Cherim
http://green-beast.com




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to