Sent by Big John on 13 January 2003 02:02
Eric wrote:
> I am running into some problems with hiding (display:none) and then
> showing content between a div tag. In IE it works fine, but when I try it
> in Netscape 7.01 the whole box moves down the page.
>
> You can veiw the page here at:
> http://www.vfs.com/~egoodwin/scott/test12.html
>
> Just click on one of the edit buttons to see my problem.
> I've tryed putting my <td> to v-align="top" in my html but it does no
> good. So I figure it must be somewhere in my css.
I doubt it. I removed the Javascript and nothing like that happens.
IMO it's bad practice to use JS for basic positioning (not that I
know any JS).
However, you do have a genuine css problem. You have 'width: 100%'
on the <a>s in the 'inline' navbar. IE5.5 can't handle this, and
makes the links the width of the body.
This article explains in detail about inline lists:
http://www.alistapart.com/stories/taminglists/
HTH
Big John
=====
^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-
| Perennial student + Impractical joker + CSS junkie = Big John |
| XXXX <http://users.rraz.net/mc_on_the_rocks/testpage/pie.html> XXXX |
| XXXXXXXXXXXXX <http://users.rraz.net/mc_on_the_rocks/> XXXXXXXXXXXX |
-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com