1 reply [Last post]
mrRoberts
Offline
Enthusiast
London
Last seen: 14 years 19 weeks ago
London
Joined: 2005-05-08
Posts: 61
Points: 0

Hi there,

would you know the answer to this one....

I've made a form though would like it if the heights of each section were to but up to the last item in the lists.

This is the code I've created to style the form

.form_colWrap {
border:1px solid #222;
background: black!important;
margin: 30px 30px;
height: 440px; 
padding: 20px;
}


.form_row {
float:left; 
margin:0;
padding: 0;
}

.form_row p {
border-bottom:1px solid #222!important;
width:125px;
line-height: 28px!important;
line-height: 26px;
margin: 0!important;
}


.form_colWrap h3 {
font-size:1.2em;
color:#4c97bb;
margin: 0;
}

.form_row input {
height: 20px;
color: #333;
padding: 0;
margin: 0;
}

If I take the height of the form wrapper div it doesn't wrap around the content to each section.

here's the page: http://www.bhbgroup.co.uk/orderForm.html

Thanks for any help you can give

mrRoberts
Offline
Enthusiast
London
Last seen: 14 years 19 weeks ago
London
Joined: 2005-05-08
Posts: 61
Points: 0

[Solved] Can you help with a height issue I'm having

I've resolved the issue! was to do with clearing the floats in the end! :oops: