CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 23rd, 2002, 01:51 PM
InOblivion InOblivion is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Location: Norway
Posts: 34 InOblivion User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 11
CSS: problems with the height property

I'm developing a site which is based on CSS and XHTML.

I have a div which uses the "height" property with a percentage value. The height of the div box is supposed to be 100%, and that works in both Opera, Mozilla and even IE 5 and 5.5, but not in IE 6!

In IE 6 the height of the box is only relevant to the containing text, and not relevant to the browser window. This means that the div is far from 100%.

What can be done to work around this?

Reply With Quote
  #2  
Old September 23rd, 2002, 05:39 PM
diggity diggity is offline
Just Diggity
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Location: Sherman Oaks, CA
Posts: 126 diggity User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 12
You could retrieve the height of the window and then adjust the value of the div height using that value if the browser (using some browser sniffing) is IE 6.0
__________________
Dave Pedowitz

Reply With Quote
  #3  
Old September 26th, 2002, 05:56 AM
InOblivion InOblivion is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Location: Norway
Posts: 34 InOblivion User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 11
Thanks, man. I ended up making a script that makes a specific style to IE 6.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS: problems with the height property

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap