2 replies [Last post]
sametch
Offline
newbie
Last seen: 18 years 16 weeks ago
Joined: 2004-03-10
Posts: 2
Points: 0

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.

Stu
Stu's picture
Offline
Enthusiast
Bristol uk
Last seen: 18 years 23 weeks ago
Bristol uk
Joined: 2004-01-20
Posts: 282
Points: 0

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.

It's not what you do it's the way that you do it.
So do it with STYLE
http://www.s7u.co.uk

sametch
Offline
newbie
Last seen: 18 years 16 weeks ago
Joined: 2004-03-10
Posts: 2
Points: 0

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.

:?

See here
http://www.4all2view.co.uk/a1/layout.htm