Thread: Good CSS Tip
View Single Post
Old 05-17-2006, 08:20 AM   · #1
LeetPCUser
Account Suspended
 
LeetPCUser's Avatar
 
Name: Bryan
Location: Whitewater, WI
Trader Rating: (52)
Join Date: May 2005
Posts: 3,714
NP$: 0.00 (Donate)
LeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to behold
AIDS/HIV
Good CSS Tip

I had a previous problem with the min-height attribute because it works in Firefox but not in IE. There are many solutions out there and some are quite tedious. I found a great hack, although the css won't validate this one thing, but it does save a headache.

#Name
{
min-height:300px;
_height:300px;
}

The min-height works for all browsers except IE and the _height is a hack that no other browsers read but IE respects. So if you need to use a minimum height but you are having troubles, try using the _height hack.


Please register or log-in into NamePros to hide ads
LeetPCUser is offline   Reply With Quote
Site Sponsors
Buy Flash Arcade Game Script Find out how! Click to Watch Instant Video
Advertise your business at NamePros
All times are GMT -7. The time now is 03:38 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.