Hello to all forum members,
I can't solve this strange behaviour of IE6 (win); I need to make one row of 90x40px buttons with one of them divided horizontally in two mini-buttons of 90x20px.
This is the screenshots as it should be (safari/mac):
And this is IE6/win:
i've prepared a simple html and css test to illustrate it:
HTML:
CSS (I've omitted all the css-reset rules that came before):
I've searched a lot and examined the peekaboo bus as described in positionisevery thing.net. But there should be something that i can't get.
Can you help me?
Thanks in advance
Alex - Italy
I can't solve this strange behaviour of IE6 (win); I need to make one row of 90x40px buttons with one of them divided horizontally in two mini-buttons of 90x20px.
This is the screenshots as it should be (safari/mac):
And this is IE6/win:
i've prepared a simple html and css test to illustrate it:
HTML:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>test</title> <link rel="stylesheet" type="text/css" href="test.css" media="all" /> </head> <body> <ul id="masthead"> <li><a class="but1" href="#"></a></li> <ul id="masthead2"> <li><a class="but2a" href="#"></a></li> <li><a class="but2b" href="#"></a></li> </ul> <li><a class="but3" href="#"></a></li> </ul> </body> </html>
Code:
ul#masthead {
width: 270px;
}
#masthead li {
float: left;
}
#masthead li a.but1 {
width: 90px;
height: 40px;
display: block;
background-color: yellow;
}
ul#masthead2 {
width: 90px;
float: left;
}
#masthead2 li a.but2a {
width: 90px;
height: 20px;
display: block;
background-color: blue;
}
#masthead2 li a.but2b {
width: 90px;
height: 20px;
display: block;
background-color: red;
}
#masthead li a.but3 {
width: 90px;
height: 40px;
display: block;
background-color: green;
}
Can you help me?
Thanks in advance
Alex - Italy
Comment