[thelist] [fwd] frame height across browsers

Sean Preston razorwise at yahoo.com
Tue Apr 17 11:19:28 CDT 2001


Why not go for the elegant work around and just have a browser detect where if NS x then pixels =
whatever?

Sean
--- Peter-Paul Koch <gassinaumasis at hotmail.com> wrote:
> 
> >| problem is, netscape doesn't seem to respect the height's i've set: it 
> >renders
> >|       the top frame 4px too short. (116px in netscape, 120 in IE,
> 
> >if memory serves me correctly, netscape jumps on 5px when dealing with 
> >frames (caveat, I haven't used them in a loooong time). Try setting the 
> >height as 121 and see if it will be the same in both.(116 through 120px 
> >would be the same width in NN and again 121-125px, etc.)
> 
> No, the problem is that NN2-4 act very weirdly with frame dimensions. When 
> you set a frame width and height in pixels, Netscape first makes the 
> width/heigfht percentages and then pixels again.
> 
> Bottom line is that you cannot know in advance exactly how large a frame 
> will be in Netscape 2-4, so a design that hinges on a particular frame being 
> a particular size will fail spectacularly.
> 
> ppk
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> 
> 
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt ! 


=====
Evil Overlord Inc.  Planning your future, whether you like it or not.

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/




More information about the thelist mailing list