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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Netscape CSS implementation

Status
Not open for further replies.

JontyMC

Programmer
Nov 26, 2001
1,276
GB
I am trying to use % values for heights of <div>'s. Works brilliantly in IE, but its seems that netscape doesn't support % values. For example, I would like a title bar to be 20%, page content 60% and a footer 20%. Is there a work-around for this?

Is there a way to change the font size when the user changes the window size with CSS, or would I have to use some JavaScript?

Thanks,

Jonty
 
What version of Netscape? And can you post some example code?

Kevin
A+, Network+, MCP
 
I have this code:

#content {height: 100%;}

with:

<div id=&quot;content&quot;>Some content</div>

Doesn't work with Netscape 7.1, but does with IE 6.

I have solved my problem by using absolute positioning of the footer.

Jonty
 
The percentages are working for me. Can you post the actual code or are you ok with absolute positioning?

Kevin
A+, Network+, MCP
 
I've changed my code so it works ok now. My prob was I couldnt get a div to stretch to a % height, but I dont need to now.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top