1 reply [Last post]
Fruit and Veg
Offline
newbie
UK
Last seen: 12 years 1 week ago
UK
Timezone: GMT+1
Joined: 2007-09-17
Posts: 9
Points: 0

This page layout works in IE7, F2 and Mac FF - but the it is playing silly buggers in IE6. I've been playing about with it adjusting heights, trying to specify heights but no joy. Bizarrely, it's working in IE5.5.

The problem appears to be that the left and right columns are not shifting up correctly to the nav bar - the logo is affecting it because if I remove the logo code it lines up perfectly. I've tried line heights but that doesn't work.

http://www.thebrandsurgery.co.uk/Countryman/index.php - the page is online here.

Thanks for any help.

index.php

The Countryman Inn - New Site

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque nonummy lectus mattis turpis. Etiam ultricies hendrerit tortor. Aliquam justo orci, tristique mattis, fringilla eget, tincidunt a, mi. Mauris ipsum. Ut ac velit. Suspendisse imperdiet accumsan neque. Nullam eu mi et pede pretium semper. Nulla facilisi. Nunc quis massa. Phasellus non risus. Suspendisse a metus porttitor leo lacinia sollicitudin.

Sed eget arcu at enim condimentum euismod. Donec magna lorem, nonummy sit amet, rhoncus nec, consequat vel, pede. Nulla auctor interdum enim. Suspendisse tellus odio, sagittis eu, consectetuer ut, porta vel, metus. Nam hendrerit. Aliquam euismod. Donec quis quam in lorem malesuada viverra. Nunc pede odio, hendrerit et, nonummy vestibulum, pellentesque eget, dui. Mauris eleifend tempus justo. Donec condimentum justo et felis varius aliquam. Donec eu diam a metus convallis pharetra. Nullam mauris sem, pretium ultricies, nonummy vitae, elementum quis, nisl.

Sed eget arcu at enim condimentum euismod. Donec magna lorem, nonummy sit amet, rhoncus nec, consequat vel, pede. Nulla auctor interdum enim. Suspendisse tellus odio, sagittis eu, consectetuer ut, porta vel, metus. Nam hendrerit. Aliquam euismod. Donec quis quam in lorem malesuada viverra. Nunc pede odio, hendrerit et, nonummy vestibulum, pellentesque eget, dui. Mauris eleifend tempus justo. Donec condimentum justo et felis varius aliquam. Donec eu diam a metus convallis pharetra. Nullam mauris sem, pretium ultricies, nonummy vitae, elementum quis, nisl.


default.css
/*
Created by Keith Donegan of Code-Sucks.com

E-Mail:

You can do whatever you want with these layouts,
but it would be greatly appreciated if you gave a link
back to http://www.code-sucks.com

*/

* { padding: 0; margin: 0; }

img {border-style:none;}

body {
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
}
#wrapper {
margin: 0 auto;
width: 758px;
border: 0;
}
#header {
color: #000000;
width: 758px;
float: left;
padding: 0;
border: 0;
height: 80px;
margin: 15px 0px 0px 0px;
background: #ffff00;
}

#logo {position: relative; top:-119px; left:20px; width:129px; height:136px; margin: 0 0 -136px 0; padding:0; line-height:0;}

#navigation {
margin: 0;
float: left;
width: 746px;
color: #ffffff;
padding: 6px;
border-bottom: 1px solid #ffffff;
background: #d2952a;
text-align: right;
}
#leftcolumn {
color: #ffffff;
border: 0px;
border-right: 4px solid #d2952a;
background: #000000;
margin: 0px;
padding: 25px 10px 10px 10px;
width: 359px;
float: left;
}

#rightcolumn {
color: #000000;
border: 0;
background: #ffffff;
margin: 0;
padding: 0px;
width: 375px;
float: right;
}
#footer {
width: 738px;
clear: both;
color: #000000;
border: 0;
background: #ffff00;
margin: 0px 0px 10px 0px;
padding: 10px;
}

Fruit and Veg
Offline
newbie
UK
Last seen: 12 years 1 week ago
UK
Timezone: GMT+1
Joined: 2007-09-17
Posts: 9
Points: 0

Solved it. Just needed to

Solved it.

Just needed to add clear:both; to the #logo