Re: Extra space?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Kent McPherson wrote:
The problem is because IE and Firefox do not implement CSS the same way for certain CSS features. FF is more standsrds compliant than IE.


For your example,
IE applied the align center style to the table while FF did not
FF applied the postion in the HR tag as not space beetten the previous element while IE ignore it.


Be careful when you use rative and abo*** psotioniong. Not all broseres implement them the same way.

For your example:
You may want to remove the text align form th ebody tag and instead use DIV tags and apply style and alingnemnt thtough them
To get around the expara space/lien problem btween lemnts (table and HR), romve th epostion styl formth elien and insrtet into a an extra cell within the table.


....PC


I can't seem to eliminate the space that shows up in IE between the table and horizontal rule in the code below:

The same code previews in Firefox without the space but the table is left justified instead of centered.

Any ideas?
.


Quantcast