HI,
If you want it on the bottom then you could do this instead which works in ie.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>2 column layout - no float drop</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
* {margin:0;padding:0}
/* mac hide \*/
html { height: 100%;}
* html #wrap {height: 100%;}
/* end hide */
body {
overflow: hidden;
background: #000;
color: #fff;
height:100%;
min-width:760px;
}
div.content
{
height: 100%;
overflow: auto;
}
#inner{position:relative;width:100%}
#wrap {
min-height: 100%;
margin-left:50%;
border-left:1px solid #000;
position:relative;
background:#fff;
color:#000;
z-index:1
}
#centre_col {
position:absolute;
bottom:1px;
left:-155px;
width:300px;
}
.clearer{
height:1px;
overflow:hidden;
margin-top:-1px;
clear:both
}
</style>
<!--[if IE]>
<style type="text/css">
body {width:expression( documentElement.clientWidth < 760 ? (documentElement.clientWidth == 0 ? (body.clientWidth < 760 ? "760" : "auto") : "760px") : "auto" );}
</style>
<![endif]-->
</head>
<body>
<div id="wrap">
<div id="inner">
<div id="left_col"> </div>
</div>
<div class="clearer"></div>
<div id="centre_col"> <img src="new/Sliced-images/flower.jpg" width="300" height="460" alt="Logo"/> </div>
</div>
</body>
</html>
And these two I should make fixed? Is that what you were saying.
No I was talking about fixed widths not fixed positionng. You need to either absolutely place the elements or float them. It depends on the dynamics you require which I can't really answer from looking at a picture.
If your pages are similar then you can float the logo button left and float the flash button right. then you could use margins to push the bottom content into place and then float things where necessary.
if you look at the very first example
http://www.pmob.co.uk/temp/blackandwhite6.htm
You can see that the elements are floated into place.
Of course you could do the same with absolute positioning but it all depends on what happens to the flow of the document.
Bookmarks