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

CSS valid method

RSS
Modified on 2010/05/20 18:41 by Administrator Categorized as Web Standard

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

Relation document

http://www.satzansatz.de/cssd/onhavinglayout.html

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.