Forum Moderators: open
I've designed a site for Netscape communicator and IE, now I'm trying to set it up for 6 but my DIV layers with text in them show up around 10 - 15 pixels lower on the page than my layers with only gifs.
I've tried adjusting the style sheet incase it was something there but it wont fix it - does anyone have any suggestions - I'm desperately needing them! :-)
Thanks heaps for your help - I so need it!
------------
Is the text in the DIV layers within a table? I've found that IE,
Communicator, and NN6/7 all position slightly differently unless text is
enclosed within a table (even if it's a single cell table). Ironically,
according to my measurements, it's IE and Communicator that are actually
off otherwise.
What is the problem behavior here - divs get positioned differently when they contain text compared to their positioning when they only contain images?
I can see how tables might fix that but, sheesh, that's some strange behavior.
I'm curious about which positioning is accurate, the one with text included, or the one with no text.
I've noticed that a lot of browser rendering errors can be bypassed by wrapping one block level element in another block level element -- even though the container block "shouldn't" be required.
This is more of an intuitive approach after finding a bunch of work-arounds through the years. After all, we're trying to correct invalid browser behavior, so it's tough to come with "reasons" a lot of the time, except to say that this approach works, and that one doesn't.
Happy, happy, joy, joy!