...

View Full Version : CSS height problem



sdm
12-31-2006, 02:21 PM
Hopefully someone may be able to shed some light on this for me.

I have created a design for a CubeCart store but the centre column does not go all the way down as far as the content.

If you visit http://www.partybasics.co.uk/index.php you will see what i mean on this page, I cannot seem to get it to expand properly. Below is the CSS for the centre box.

.boxContent {
padding: 3px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 75%;
color: #333333;
background-color: #FFFFFF;
margin-top: 20px;
border: 1px solid #FA0A0B;
}

THanks for your time.

SDM

1212jtraceur
12-31-2006, 04:15 PM
I recommend not using tables for layout and not using WYSIWYG editors. Both make pages much more difficult to 'debug'.

If you make your img element a child of div#boxContent, you can then use an :after pseudo-class (http://www.positioniseverything.net/easyclearing.html) to make div#boxContent contain your image.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum