Home  |  About  | Last |  Submit  |  Contact
AllQuests.com

Previous Question:  styleswitcher reading incorrect value  phpBB 3.0.x 3.0.x Support ForumNext Question:  Problem with avatars  phpBB 3.0.x 3.0.x Support Forum
Question validate css with min height ie hack ( SitePoint Forums CSS )
Updated: 2008-11-23 06:30:02 (3)
validate css with min height ie hack

Hello all,

I'm sure this queston has been asked before, but I searched and couldn't find it.

For my site, I chose to use a min-height for IE hack. The hack is as follows:

Code:
#portfoliotop {
min-height:200px;
}

*html #portfoliotop { height:200px; }
It works fine, however it will not validate with the W3C.

The error I get is:

Code:
Line: 0 Context : *

Parse Error - *html #portfoliotop { height:200px; }
Does anyone know a way around this? How I can use a min-height for IE hack, and still vaildate my site's css?

Thanks in advance.

Answers: validate css with min height ie hack ( SitePoint Forums CSS )
validate css with min height ie hack

of course. thanks for the help.

hockeykid

validate css with min height ie hack

Yes there must be white space after the universal selector. You don't join othere selectors together without spaces do you

e.g. divp instead of div p

So give the universal selector the same courtesy

Paul O'B

validate css with min height ie hack

Put spacing between * and html

CyberAlien

Previous Question:  styleswitcher reading incorrect value  phpBB  phpBB 3.0.x 3.0.x Support ForumNext Question:  Problem with avatars  phpBB  phpBB 3.0.x 3.0.x Support Forum

- Source: validate css with min height ie hack SitePoint Forums CSS
- Previous Question: styleswitcher reading incorrect value phpBB phpBB 3.0.x 3.0.x Support Forum
- Next Question: Problem with avatars phpBB phpBB 3.0.x 3.0.x Support Forum





AllQuests.com