This is a discussion on "Mozilla & Netscape vs. IE" within the Web Page Design section. This forum, and the thread "Mozilla & Netscape vs. IE are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Mozilla & Netscape vs. IE
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Mozilla & Netscape vs. IE
I have no idea why but for some reason IE's left:0;top:0; seems to be off. For example, when the code is...
|
|
|
|
||||
|
This is likely because the image is positioned absolutely... but WITHIN a relative container.
The <body> element by default has padding so try setting padding and margin to zero on the body element (or the images parent container) Hope this helps.
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
try tidying up your code:
|
|
|||
|
With this updated code...
![]() and this in Firefox... ![]() Is that the problem you have? |
|
|||
|
No, the problem is that the small box will not go up to the corner it stays about 5 pixels away. I've tried setting margins and padding to 0 on the body and cleaning the code, and it's still doing this in IE; firefox and netscape are okay.
|
|
|||
|
Do you have any other styles applied to the page or its elements?
You'll note that I changed the order of the DIV's, otherwise (in your code) the little image is hidden under the bigger one. |
|
|||
|
I have other elements later on in the page but no visual elements before those two. I'm not sure if I'm seeing your screenshot correct or not but if the gray one is sticking out of the bottom of the red one then that's how mine is.
|
|
|||
![]() That's a drawing of what it looks like. |
|
|||
![]() That's firefox and netscape |
|
||||
|
I think the best thing you can do here is to post it up on a url so we can see whats going on.
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Tags |
| mozilla, netscape |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CSS & Firefox/Netscape | beerme | Web Page Design | 1 | Feb 9th, 2008 03:46 |
| Footer in Netscape | Moonlilly | Starting Out | 2 | Apr 29th, 2007 09:14 |
| Netscape 6 crashing | imagesetting | Web Page Design | 5 | Apr 3rd, 2007 09:06 |
| DIV alignment in Firefox and Netscape | johnmr | Web Page Design | 1 | Sep 11th, 2006 17:15 |
| Netscape/Mozilla - skinning those scrollbars! | gwx03 | Web Page Design | 15 | Apr 8th, 2004 19:37 |