Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problems with divs in netscape

Status
Not open for further replies.

barbar

Technical User
Jul 13, 2000
4
IL
after 5 divs the layer positions in netscape not look same as IE<br><br><br><br>&lt;html&gt;<br>&lt;head&gt;<br>&lt;style type=&quot;text/css&quot;&gt;<br>&lt;!--<br><br>#my1Div {position:absolute; left:0; top:0; width:196; height:520; clip:rect(0,550,520,0); }<br>#my2Div {position:absolute; left:490; top:122; width:189; height:400; clip:rect(0,289,400,0); }<br>#my3Div {position:absolute; left:395; top:90; width:190; height:38; clip:rect(0,384,38,0); }<br>#my4Div {position:absolute; left:133; top:90; width:155; height:38; clip:rect(0,255,38,0);&nbsp;&nbsp;}<br>#my5Div {position:absolute; left:5; top:95; width:120; height:50; clip:rect(0,120,50,0);&nbsp;&nbsp;&nbsp;}<br>#my6Div {position:absolute; left:5; top:10; width:200; height:50;&nbsp;&nbsp;}<br>#my7Div {position:absolute; left:0; top:0; width:50; height:120; clip:rect(0,120,120,0); }<br>#my10Div {position:absolute; left:580; top:180; width:200; height:400; clip:rect(0,400,400,0);&nbsp;&nbsp;}<br>#my11Div {position:absolute; left:145; top:95; width:230; height:100; clip:rect(0,400,400,0); }<br>#my12Div {position:absolute; left:440; top:180; width:200; height:400; clip:rect(0,600,400,0); }<br><br>#listDiv {position:absolute; left:167; top:140; width:290; height:50; clip:rect(0,290,290,0); }<br>#mytvDiv {position:absolute; left:135; top:140; width:50; height:120; clip:rect(0,400,400,0);&nbsp;&nbsp;}<br>#myanimationDiv {position:absolute; left:185; top:200; width:205; height:251; clip:rect(0,400,400,0);&nbsp;&nbsp;}<br>#mybannerDiv {position:absolute; left:230; top:0; width:450; height:50; clip:rect(0,450,450,0); }<br>#allrightsDiv {position:absolute; left:100; top:500; width:450; height:50; clip:rect(0,450,50,0); }<br>#forsaleDiv {position:absolute; left:600; top:100; width:175; height:71; clip:rect(0,450,71,0); }<br><br>#helpDiv {position:absolute; left:5; top:150; }<br>#mediaplayerDiv {position:absolute; left:5; top:230;&nbsp;&nbsp;}<br>#carucaddressDiv {position:absolute; left:5; top:300; }<br>&nbsp;&nbsp;<br><br>--&gt;<br>&lt;/style&gt;<br><br>&lt;head&gt;<br>&lt;!here the contents but i have a problems with netscape , after 5 divs the positions of the layers not look as IE!&gt;<br><br>&lt;body&gt;<br>&lt;Div id=my1Div&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&lt;img src=&quot;images/left_zero.jpg&quot;&nbsp;&nbsp;border=&quot;0&quot; hspace=&quot;0&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;width=&quot;196&quot; height=&quot;520&quot;&gt;<br><br> &lt;/div&gt;<br><br><br><br>&lt;Div id=my2Div&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&lt;img src=&quot;images/img_remarks.jpg&quot;&nbsp;&nbsp;border=&quot;0&quot; hspace=&quot;0&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;width=&quot;289&quot; height=&quot;400&quot;&gt;<br><br> <br> <br>&lt;/div&gt;<br><br>&lt;Div id=my3Div&gt;<br><br>&lt;img src=&quot;images/tabs_down.jpg&quot;&nbsp;&nbsp;border=&quot;0&quot; hspace=&quot;0&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;width=&quot;390&quot; height=&quot;38&quot;&gt;<br><br>&lt;/div&gt;<br><br>&lt;Div id=my4Div&gt;<br><br>&lt;img src=&quot;images/tabs_down_yellow.jpg&quot;&nbsp;&nbsp;border=&quot;0&quot; hspace=&quot;0&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;width=&quot;255&quot; height=&quot;38&quot;&gt;<br><br>&lt;/div&gt;<br><br><br><br>&lt;/body&gt;<br>&lt;/html&gt;
 
Hi there barber<br><br>&nbsp;i copied ur html and with out any changes to it created a html file and then checked the contents i showed me identical ones in both browsers <br><br>&nbsp;I was using ie5 and netscape 4.7&nbsp;&nbsp;<br>&nbsp;Please see what browser u r using it might be different <br>&nbsp;please check <br><br>&nbsp;regards <p>Unicorn11<br><a href=mailto:webmaster@tripmedia.com>webmaster@tripmedia.com</a><br><a href= > </a><br>Hi there it all likeminded fellows!!!!!!
 
but you should always test your code in lower version/s of browser for compatability. check your code in IE 4 and NE 4.6<br><br>Thanks<br>nomy<br><A HREF="mailto:nomy@england.com">nomy@england.com</A>
 
Since Netscape is such a piece of garbage, I made 2 pages, 1 for IE and 1 for Netscape.&nbsp;&nbsp;In the Netscape version, I used the &lt;layer&gt; tag instead of &lt;div&gt;.&nbsp;&nbsp;<br>ex. &lt;layer top=xxx left=xxx&gt;&lt;/layer&gt;<br>Hope this helps.<br>nomy is right, always check in lower browser version since you don't what the users are using.
 
The current version of Netscape is garbage, yes, but that is only because Netscape has been unable to release a new version for quite some time.&nbsp;&nbsp;If you recall, they merged with AOL.&nbsp;&nbsp;They prereleased Netscape 5 at Mozilla.org, but never released the final version because of delays dealing with the AOL merger...that is why the new version of Netscape is going to be called Netscape 6.&nbsp;&nbsp;Netscape 5 was just as good as IE 5.&nbsp;&nbsp;
 
wait... Netscape 5 was a version built on the same engine as Netscape 4- as they wanted to distance themselves with the old engine, they scrapped the entire Netscape 5 project altogether and went on to Netscape 6. That's why they're skipping NN5...<br><br>Please.. please don't use the layer tag. Please. Seriously. refer to the other thread that's pretty current (&quot;Layer limit in Nutscape?&quot;) for more info on exactly the same topic. <p>Liam Morley<br><a href=mailto:lmorley@wpi.edu>lmorley@wpi.edu</a><br><a href=] :: imotic :: website :: [</a><br>"light the deep, and bring silence to the world.<br>
light the world, and bring depth to the silence.
 
Trevman,<br>No version of Netscape was every as good as IE. Compatibilty may be similar in the future, but after years of testing, IE has <b>always</b> out performed Netscape, just from a speed factor alone. I don't see this changing in the future.<br>&nbsp;Just my $0.02.<br><br>SNT
 
snt, you obviously haven't looked at NN6. It's not that NN6 is beginning to comply with IE... it's that NN6 is the first browser EVER (since Mosiac 1, but that doesn't really count now does it) to support W3C standards. IE won't do that any time soon (it's against Microsoft's religion, practically)... and NN6 beats IE in speed, too... at least when they get out of beta, it will. <p>Liam Morley<br><a href=mailto:lmorley@wpi.edu>lmorley@wpi.edu</a><br><a href=] :: imotic :: website :: [</a><br>"light the deep, and bring silence to the world.<br>
light the world, and bring depth to the silence.
 
The last time I looked at NN6 was about 4mos ago, one of the first beta releases, I was not impressed.&nbsp;&nbsp;Maybe it will be different with the final release - Let's hope so.<br><br>SNT
 
Well as I remember verions of IE before 4.0 were just terrible.
 
Yeah, NN3 was 10 times better than IE3. So the only version where snt's statement holds true is IE4 vs. NN4... IE5 doesn't count, because there is no NN5 on the market to compare it with. So it sounds like an unfounded flame to me... <p>Liam Morley<br><a href=mailto:lmorley@wpi.edu>lmorley@wpi.edu</a><br><a href=] :: imotic :: website :: [</a><br>"light the deep, and bring silence to the world.<br>
light the world, and bring depth to the silence.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top