Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ Having problems

Posted by: dsmith530 Aug 11 2011, 08:52 PM

Hi, I'm having trouble with a site I'm tying to build. The problem is this:
if you go to: http://megansmetalworks.com/home.html
in safari the top frame/row shows up exactly the height it should be... but in FireFox it takes up about half the page and I can't figure out how to fix it.

The code is as follows: <frameset rows="70, 20% framespacing="0" frameborder="0">


It should be 70 pixels tall in both browsers but it's not, and I can't figure out why. I think I'm the one making the error.

Can somebody please help me figure out what I'm doing wrong?

Thanks.


Attached thumbnail(s)
Attached Image

Posted by: Darin McGrew Aug 12 2011, 01:15 AM

QUOTE
The code is as follows: <frameset rows="70, 20% framespacing="0" frameborder="0">
First, you left out a quote after the value for the rows attribute.

Second, there shouldn't be spaces in the value of the rows attribute.

Third, your rows specification is broken. Unless the display area is 87.5 pixels high, 70 + 20% won't fill the height of the display area. To make the first row 70 pixels and to give the second row the remaining space, use: rows="70,*"

See also:
http://htmlhelp.com/reference/html40/values.html#multilengths

Posted by: dsmith530 Aug 26 2011, 03:37 PM

QUOTE(Darin McGrew @ Aug 11 2011, 11:15 PM) *

QUOTE
The code is as follows: <frameset rows="70, 20% framespacing="0" frameborder="0">
First, you left out a quote after the value for the rows attribute.

Second, there shouldn't be spaces in the value of the rows attribute.

Third, your rows specification is broken. Unless the display area is 87.5 pixels high, 70 + 20% won't fill the height of the display area. To make the first row 70 pixels and to give the second row the remaining space, use: rows="70,*"

See also:
http://htmlhelp.com/reference/html40/values.html#multilengths



Thank you!!

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)