|
Author |
Message |
verto
Senior WebHelper
Joined: 14 Jan 2002
Posts: 220
Location: Cambridge MA USA
|
Posted:
Mon Jun 10, 2002 1:36 am (21 years, 10 months ago) |
|
I've got a short table that I want to completely fill the top navigational frame of my frameset at 55 pixels. When I set the Table's Height attribute to 100%, it works fine in MSIE 5 and NS 4, but in NS 6.2 the table only fills about the top 2/3 of the frame.
So then I tried setting the Height attribute at 55 (pixels, that is, though you're not supposed to have to add any abbreviation for units if you use pixels), which again, is the total height of my frame. What happens? The table gets too BIG now, and parts of my nav disappear below the border.
Is it me? Or is it Netscape 6.2?
I really wanna know! |
|
|
|
|
Darren
Team Member
Joined: 05 Feb 2002
Posts: 549
Location: London
|
Posted:
Mon Jun 10, 2002 7:33 am (21 years, 10 months ago) |
|
I've never found the height attribute to be very reliable.
You could try using a transparent gif set to 55 pixels to hold the size.
Also make sure you set cellpadding and cellspacing to zero. Leaving them out doesn't always set them to zero.
Is the page online so we can test it for you? |
|
|
|
|
Justin
4WebHelp Addict
Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Mon Jun 10, 2002 11:23 am (21 years, 10 months ago) |
|
verto wrote: | I've got a short table that I want to completely fill the top navigational frame of my frameset at 55 pixels. When I set the Table's Height attribute to 100%, it works fine in MSIE 5 and NS 4, but in NS 6.2 the table only fills about the top 2/3 of the frame.
So then I tried setting the Height attribute at 55 (pixels, that is, though you're not supposed to have to add any abbreviation for units if you use pixels), which again, is the total height of my frame. What happens? The table gets too BIG now, and parts of my nav disappear below the border.
Is it me? Or is it Netscape 6.2?
I really wanna know! |
If I had to guess, it's probbably NetsCRAPe |
|
|
|
|
Robert Wellock
WebHelper
Joined: 18 Jan 2002
Posts: 61
Location: Yorkshire - UK
|
Posted:
Mon Jun 10, 2002 5:06 pm (21 years, 10 months ago) |
|
Without seeing your code I cannot tell, however it is likely to be you rather than Netscape 6.2x, I’ve progressed onto using Mozilla 1.0.
As was previously stipulated the <td> height attribute isn’t reliable for percentages and using CSS to set body margins to 0 px, etc. is beneficial, to try and achieve such layouts. |
________________________________ };-) http://www.xhtmlcoder.com/
Last edited by Robert Wellock on Mon May 19, 2003 4:04 pm, edited 1 time in total |
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Mon Jun 10, 2002 5:58 pm (21 years, 10 months ago) |
|
I think I read somewhere that HTML 4 doesn't support the height attribute in tables... but I'm not sure... Head over to w3.org. |
________________________________
|
|
|
|
verto
Senior WebHelper
Joined: 14 Jan 2002
Posts: 220
Location: Cambridge MA USA
|
Posted:
Mon Jun 17, 2002 1:50 am (21 years, 10 months ago) |
|
To all who suspected the HEIGHT attribute is unsupported...
Yes, it's "deprecated," but plenty of ppl still use it, as well as some of the WYSIWYG HTML editors. Anyway, since it didn't solve my problem, I tried spacer gifs next, which also didn't work.
The problem actually seems to be that Netscape opens a differently sized frame at that size than IE by about 8-10%. Or you might say, NS uses larger pixels than MSIE!
To solve it for my site, I had to use JavaScript to open differently sized frames for each major browser (MSIE, NN4, NN6).
It's really hard to be much of a big fan of Netscape or Mozilla (despite it being open source). Fact is, for most of the older systems out there, and even the not so old systems, they're both too big and slow to use. I tried installing NS 6 at a local computer center on some systems with 466MHZ processors and 64MB RAM, and it takes about 15 minutes just to load the program.
At my local public library they avoided installing it up to a couple of months ago, only doing it now as an alternative to NS 4.7, which despite being about 5 years old, they've kept on their systems. It seems to take at least twenty times longer to load than either MSIE 6 or NS 4.7, and it ties up your system so that it's hard to do anything else during the five to ten minutes it takes to load up.
An article on Web browsers for Linux which I read the night before last (in March's Linux Journal) put this another way: "Mozilla... does not have lightweight as a design goal..." (that was in the article's pull quotes).
Anyway now I'm having a different problem with NS 6.x, and if anyone has NS 6.x and can help me, I'll try posting it as a separate thread above to keep things clear. |
|
|
|
|
|
|
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.
|
Page generation time: 0.16155 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
|