Previous Message
Next Message

[css-d] Understanging padding/margins + odd HOVER state happenings.

Sent by Joe Howley on 5 August 2002 17:05


> I've been spending some time tweaking my horizontal navigation bar.
You can
> see some samples at:
> 
> http://www.darrelaustin.com/clients/court/rollovertest.html
> 
> The navigation bar was designed as such:
> 
> <div>
>       <div>link1</div>
>       <div>link2</div>
>       <div>link3</div>
> </div>
> 

I have a suggestion regarding this.  Instead of a div for each link,
just make sure all the a's are display: block;'ed.  Then you can apply
all the box stylings you had on the div's to the a's and i think some of
your woes will disappear.  Plus, cleaner markup!  Trust me, it'll make
you happier.

I think I'm taking the easy way out, but some ASP is currently trying to
consume my soul, so I'll let someone else more thoroughly dissect the
situation.

Cheers,
===
joe howley
http://joe.sameperson.net/
Previous Message
Next Message