I am trying to create some banners using divs rather than table cells.
When I view them in the IE6 they look as required, but in Mozilla 1.5 the width of the border appears to be added. Also in Mozilla 1.5 the table cell that contains them grows in width (the right hand boder moves across) which doesn't happen in IE6
I have heard of differences between IE5 and others with box properties, but I thought IE6 was meant to be the sameish as Mozilla.
You can see what I mean by viewing http://www.4all2view.co.uk/a1/ in both the browsers.
Any help appreciated.
Borders create different widths IE6 vs Mozilla 1.5
Remove the <?xml version="1.0" encoding="iso-8859-1"?> declaration (it is not necessary for validation).
IE6 requires the doctype as the first line to put it into standards compliant mode.
Borders create different widths IE6 vs Mozilla 1.5
Stu
That's a great help I can now sort out the banner widths, but I still don't understand why Mozilla/Netscape increase the width of the main content area as soon as I put a banner in there. If I take the banner out and replace with text or an image the main content ends up the same size as IE.
:?