![]() |
Border not fully visible
Hi Folks. This page has a sidebar, which contains an enquiry form.
The form has a border, but the right hand border is being pushed out of view. Can you see how to solve this? |
Hello SRD75,
It looks like your form is 280px wide while the width of your sidebar is only 270px. See the box model here. The box model says that whatever you put inside an element cannot be larger than that element. margin/padding/border all count when figuring width/height. |
Thanks again Excavator.
I've changed the form to 270px, and the fieldset it contains aswell, but the fieldset is being pushed out to 290px. I can't see what is doing the pushing. None of the elements the fieldset contains are this wide. |
*bump*
Can anyone see what is pushing my div sidewards? |
Quote:
Code:
.sidebar-box { |
Beautiful. Thanks.
|
One more Thanks! found it useful for me.
|
| All times are GMT +1. The time now is 04:22 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.