Jag har två problem
Jag försöker göra en (nästan 100%) sida men jag skulle vilja att "toppen" har ändå lite luft. så att den inte blir riktigt 100% ändå.
Och själva #text id vill jag att den ska fylla det resterande i det vita innehållet:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<style type="text/css" media="screen,projection">
@import url(style.css);
</style>
</head>
<body>
<div id='content'>
<div id='logo'>
<div id='logo2'></div>
</div>
<div id='text'>aaa</div>
</div>
</body>
</html>
body
{
background-color:#ddd;
height:100%;
}
#content
{
border: 1px solid #999;
height:95%;
background-color:#fff;
width:800px;
margin: 0 auto;
min-height:95%;
}
#logo
{
border: 1px solid #880000;
background: #993333;
height: 70px;
margin:10px;
margin-bottom: 5px;
padding:0px;
}
* html #logo
{
height:72px;
}
#text
{
border: 1px solid #bbbbaa;
background: #ddddcc;
margin:10px;
margin-top:5px;
}
#logo2
{
width:96px;
height:110px;
background: url(qi.gif) no-repeat;
float:left;
position:absolute;
top:0px;
margin-left:60px;
}
* html #logo2
{
top: 7px;
}