Discussion Locked

Mis-aligned graphics in IE

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
The webpage contain images inside tables. When using IE, if the Text Size setting (View>Text Size) is greater than Smaller, an image drops down. It gets worse as the Text Setting goes larger. This doesn't happen in NN6. The width and the height of each image are specified, as well as the cells of the table that contain them. Also, the style of the entire body of the homepage is specified with a small-sized font but still the font size is changed whenever the Text Size setting is changed. Pleasehelp.

5 replies

by jay eckles

First thing I would look for is if you have a space or other character between your cell tags and your image tag...i.e.

<--note the space after

Another thing you might do is specify the font size in the CSS in px units; CSS purists would (rightly) go nuts over such a suggestion, but if there's no text on the page, only images, it won't matter.

The proper solution would probably be to abandon tables altogether and align the images using CSS2. Of course that results in older browser support problems, which is why I still use tables myself.

If that doesn't work, why don't you post a URL or some sample code for us to look at.

Jay

by jomard

You're correct. Our tables were written this way:

When written in one line

, it worked fine. Thank you, thank you, thank you. :)

by hadley

What version of IE are using?
What doctype are you using?

Is there a page we can look at?

Hadley

by jomard

The previous answer has helped with the situation, thanks. But we're still encountering some more bugs, which I hope you'd be interested to take a look at.

This discussion is closed to new replies.