View Single Post
  #3   Spotlight this post!  
Unread 07-01-2008, 01:22
artdutra04's Avatar
artdutra04 artdutra04 is offline
VEX Robotics Engineer
AKA: Arthur Dutra IV; NERD #18
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2002
Location: Greenville, TX
Posts: 3,078
artdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond repute
Re: IE 6 Content Cut Off

Quote:
Originally Posted by FourPenguins View Post
I've got a div on my page that used the following css code for vertical alignment:
Code:
position:relative;
top:160px;
I find that in IE6, the bottom 160 px of this page are cut off. I have tried setting the overflow in the body and html tags to "visible" to no avail. The only way to make this text visible is to manually set the height of the body tag. However, I need a way to do this dynamically to make the page the appropriate height for the content (there are several similar pages).
I have tried using the expression hack, but can't seem to get an expression to work. If anyone has experience with expressions in css or any other suggestions to fix this, please help.
...Which is why I hate Internet Explorer.

IE6 has a lot of issues with CSS in general. Some (mostly float'ed content) can be solved by adding the position:relative; however when certain content in IE6 is given a position:relative, it needs to also have a set width and height. And then there are the cases where adding a simple <p>&nbsp;</p> after the content in question, with given a CSS of font-size:1px;margin:0;clear:both; can solve some issues.
__________________
Art Dutra IV
Robotics Engineer, VEX Robotics, Inc., a subsidiary of Innovation First International (IFI)
Robowranglers Team 148 | GUS Robotics Team 228 (Alumni) | Rho Beta Epsilon (Alumni) | @arthurdutra

世上无难事,只怕有心人.