Google+

IE6 2 #

IE6.

overflow:auto position:relative
html:

css:
#element{
background: #95CFEF;
border: solid 1px #36F;
width: 300px;
height: 150px;
margin: 30px 0;
overflow: auto;
}
#anotherelement{
background: #555;
width: 150px;
height: 175px;
position: relative;
margin: 30px;
}

:
  IE6   2

IE:
  IE6   2

:
#element{
background: #95CFEF;
border: solid 1px #36F;
width: 300px;
height: 150px;
margin: 30px 0;
overflow: auto;
position: relative;
}




div :
css
#element{
background: #95CFEF;
border: solid 1px #36F;
width: 300px;
height: 2px;
margin: 30px 0;
}


:
  IE6   2

IE :
  IE6   2

2 :
1
#element{
background: #95CFEF;
border: solid 1px #36F;
width: 300px;
height: 2px;
margin: 30px 0;
font-size: 0;
}

: IE

2
#element{
background: #95CFEF;
border: solid 1px #36F;
width: 300px;
height: 2px;
margin: 30px 0;
overflow: hidden
}

, , .



min-height . , :
#element {
min-height:150px;
height:auto !important;
height:150px;
}




.

html:

http://net.tutsplus.com/



css:
#element, #anotherelement{
background: #95CFEF;
border: solid 1px #36F;
width: 100px;
height: 150px;
margin: 30px;
padding: 10px;
float: left;
}
#container{
background: #C2DFEF;
border: solid 1px #36F;
width: 365px;
margin: 30px;
padding: 5px;
overflow: auto;
}


:
  IE6   2

IE6 :
  IE6   2

:
#element{
background: #C2DFEF;
border: solid 1px #36F;
width: 365px;
margin: 30px;
padding: 5px;
overflow: hidden;
}

CSS, XHTML / : IE6, / 26.11.09 / [0]

IE6 #

"" "" , :

. , float:left . :

html






css
ul {
list-style: none;
}

ul li a {
display: block;
width: 130px;
height: 30px;
text-align: center;
color: #fff;
float: left;
background: #95CFEF;
border: solid 1px #36F;
margin: 30px 5px;
}


, :
 IE6

, IE6:
 IE6

? :)
, . IE6 css :
ul li {
float: left;
}

.

margin .
#element{
background: #95CFEF;
width: 300px;
height: 100px;
float: left;
margin: 30px 0 0 30px;
border: solid 1px #36F;
}

:
 IE6

IE:
 IE6

:
#element{
background: #95CFEF;
width: 300px;
height: 100px;
float: left;
margin: 30px 0 0 30px;
border: solid 1px #36F;
display: inline;
}




html

css
ul {
margin:0;
padding:0;
list-style:none;
}

li a {
background: #95CFEF;
display: block;
}

:
 IE6

IE6:
 IE6

1:
css
li a {
background: #95CFEF;
display: block;
width: 200px;
}

2:
css:
li a {
background: #95CFEF;
float: left;
clear: left;
}

CSS, XHTML / : , , IE / 22.11.09 / [0]

ul #

, . text-align , margin:auto . :

div#mainmenu, div#mainmenu ul { position:relative; }
div#mainmenu{ float:right; right:50%; margin:38px 0px; width:auto;}
div#mainmenu ul { float:none!important; float:left; right:-50%; }


:
- (#mainmenu) . 50% (right:50%;), .
- ( ) (#mainmenu). 100% (ul) 150%, 100% . .

CSS, XHTML / / 20.11.09 / [0]

#

: + + .
:

 /><br>
<h2><a href=#>Heading</a></h2><br>
<p>text tex text text text text</p><br>
</div>
</div>
<br>
C           <b>    </b>.         <b>  </b>.<br>
<br>
    <b> float:left</b>; ,    .      -         .            .      ,     , :<br>
<div class= div.post p{
display: table;
_height: 0;/* 5-6*/
zoom: 1;/* 7*/
}


Opera 7-8, Firefox 1.0, Safari 1.2.4, IE/win

CSS, XHTML / : table, css, novalid, / 17.11.09 / [0]