Welcome Guest, you are in: Login

MUST Creative Engineering Laboratory

RSS RSS

Navigation



Technical Doc



Search the wiki
»

MUST Corp.

MUST Corp.

www.must.or.kr

 Microsoft CERTIFIED Partner Software Development, Web Development, Data Platform

 Microsoft Small Business Specialist

MCSD

Microsoft Certified IT Professional

Microsoft Certified Professional Developer

Page History: CSS valid method

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: 2010/05/20 18:39


Valid IE6/IE7 CSS selectors

selector {
	*property : value; // for IE6, IE7
	_property : value; // for IE6
}

change this style

// for IE6
* html selector {  
	property : value;
}

// for IE7
*+html selector {  
	property : value;
}



Triggering hasLayout (hasLayout=1)

(if display: inline-block; then hasLayout=1)

selector {
	display: inline-block;

	*display: inline;
	*zoom: 1;
}

change like this

selector {
	display: inline-block; // hasLayout=1
}

// for IE6
* html selector {
	display: inline;
}

// for IE7
*+html selector {
	display: inline;
}

selector {
	zoom: 1;
}

change like this

//hasLayout=0
selector {
	height: 1px;
}

//hasLayout=1
selector {
	height: auto;
}

// all about hasLayout=1

MUST Creative Engineering Laboratory

ImageImage Image Image

Image Image Image Image Image Image Image

Copyright © 2010 MUST Corp. All rights reserved. must@must.or.kr
This Program is released under the GNU General Public License v2. View the GNU General Public License v2 or visit the GNU website.