Go to Post Stand strong mentors. You never know who you have become a brother, sister, father, or mother to. - MysterE [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-01-2008, 23:13
FourPenguins's Avatar
FourPenguins FourPenguins is offline
Back in the Game
AKA: Ed Venator
FRC #2399
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Mount Olive, NJ
Posts: 261
FourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud of
IE 6 Content Cut Off

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.
__________________
MORT 11
-2005 New Jersey Regional Chairman's Award Winner
-2006 Palmetto Regional Winner
-2007 New York Regional Delphi Driving Tomorrow's Technology Award
-2008 New Jersey Regional Finalist, Chesapeake Regional Winner, Championship Event Overall Top Seed
HB 2399
-2009 Buckeye Regional Delphi Driving Tomorrow's Technology Award, Pittsburgh Regional GM Industrial Design Award
  #2   Spotlight this post!  
Unread 07-01-2008, 01:10
GRaduns340 GRaduns340 is offline
The Fruit Man
AKA: Gary
FRC #0340 (Greater Rochester Robotics)
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Rochester, NY
Posts: 152
GRaduns340 has a spectacular aura aboutGRaduns340 has a spectacular aura aboutGRaduns340 has a spectacular aura about
Send a message via AIM to GRaduns340
Re: IE 6 Content Cut Off

This was an issue I had to resolve on my old site as well. All relatively positioned divs on a page seem to have no size in IE6, and the content beneath them covers their content. Unfortunately, I didn't find a nice solution that still used relative positioning. In general, you can usually avoid the need for relative positions, but if you would like to continue it, you may have to use a table just as a sort of container for the text. I know that works, as I tested it before throwing out relatives, but it should work if you can't find a better solution. Let me know what you find.
  #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

世上无难事,只怕有心人.
  #4   Spotlight this post!  
Unread 08-01-2008, 17:46
Vanquish Vanquish is offline
Registered User
no team
 
Join Date: Jan 2008
Rookie Year: 1980
Location: Somewhere
Posts: 19
Vanquish is an unknown quantity at this point
Re: IE 6 Content Cut Off

This is why I hate divs sometimes. Depending on certain things it can be fine on one computer and horrible on another, (maybe it was just how I set it up), but I've learned and found better ways instead of using div
  #5   Spotlight this post!  
Unread 08-01-2008, 23:38
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 Vanquish View Post
This is why I hate divs sometimes. Depending on certain things it can be fine on one computer and horrible on another, (maybe it was just how I set it up), but I've learned and found better ways instead of using div
<div>'s are the proper way to create the layouts for websites nowadays. Using tables or other methods is considered bad practice, and should generally be avoided.

The only reason why it's hard to get CSS-based layouts using <div>'s that work well is Internet Explorer. I guarantee you that it's really easy to write W3C-compliant code thats works perfectly in standards-compliant browsers like Firefox, Safari or Opera. But as soon as you have to make it work in IE as well, everything breaks because Microsoft has not correctly followed the industry standards for HTML and CSS for most of the past decade.

IE7 is an improvement over IE6, but it's still far from behind Firefox, Safari, and Opera.
__________________
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

世上无难事,只怕有心人.
  #6   Spotlight this post!  
Unread 09-01-2008, 06:31
FourPenguins's Avatar
FourPenguins FourPenguins is offline
Back in the Game
AKA: Ed Venator
FRC #2399
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Mount Olive, NJ
Posts: 261
FourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud of
Re: IE 6 Content Cut Off

I have tried throwing a <p>nbsp;</p> in there, no dice.
As ArtDutra mentioned, the use of divs (short for division iirc) is the proper way to lay out a web page. Table tags have a specific use (tables) and are not meant to be used for webpage layout.
Making a page with tables may be easier, but it's sloppy and usually flows poorly. I've never been a subscriber to the (photo)shop and chop method of website layout.
For those who would like to see the problem:
http://www.chrisms.net/MORT
__________________
MORT 11
-2005 New Jersey Regional Chairman's Award Winner
-2006 Palmetto Regional Winner
-2007 New York Regional Delphi Driving Tomorrow's Technology Award
-2008 New Jersey Regional Finalist, Chesapeake Regional Winner, Championship Event Overall Top Seed
HB 2399
-2009 Buckeye Regional Delphi Driving Tomorrow's Technology Award, Pittsburgh Regional GM Industrial Design Award
Closed Thread


Thread Tools
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
content library.. naroarr Inventor 0 20-01-2007 12:13
Content Filtering FRANK(WGH) IT / Communications 1 23-10-2004 09:21
cut off date? ryan_f General Forum 1 26-10-2003 16:52
Custom Pneumatic Pistons, Cut off date? Jordan A. Pneumatics 2 29-01-2002 21:15
Extra Content Brandon Martus Announcements 0 03-07-2001 01:43


All times are GMT -5. The time now is 01:16.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi