Previous Message
Next Message

CSS in a navbar. Current page has no link

Sent by Jeff Shepherd on 7 December 2004 20:08


At 8:24 PM -0500 11/29/04, Roger Roelofs wrote:
>You are mostly there.  although, I usually use unordered lists for 
>this kind of thing instead of paragraphs.  Given your current markup.
>-------------  css   --------
>.sidelinks {  margin: 0; padding: 0; }
>.sidelinks p { margin: 0; padding: 0; }
>.sidelinks a { display: block; padding: 0.5em 0;}
>.sidelinks a:hover { background: #DDD; }

It took me a while to get back to implementing this, but it doesn't 
seem to help.  I have an example page of all the CSS I am trying at

   http://www.ashep.com/test/sideLinks.html

And yes, I know (and agree with) the logic of using UL for lists, but 
I like the way straight Ps regress for non-compliant browsers.
-- 
(Jeff Shepherd)            Drink your coffee...
[EMAIL-REMOVED]>        There are people asleep in India right now.
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Possibly related: