PDA

View Full Version : Button Keeps Breaking Container


Crumpy1
10-29-2012, 07:15 PM
Hi All,

I have an Add to cart button on my site which is breaking out of the container and i cannot find for the life of me how to get it stay within the div.

Can anybody spot this annoying issue?

http://thebarkercompany.co.uk/product.php?product=119

Thanks

gentleone
10-29-2012, 07:32 PM
The button is not the problem, it's the container where it's place it. Don't you see the horizontal scroll bar underneath your page? Or do you have a super wide screen?

In cw-theme.css the first css block just delete the width property. It's wider then its container which why it breaks your layout and forces a horizontal scroll bar on my 1440px wide screen.

body.cw, .CWcontent a, .CWcontent img,
.CWcontent ol, .CWcontent ul, .CWcontent li,
.CWcontent fieldset, .CWcontent form, .CWcontent label, .CWcontent legend,
.CWcontent tbody, .CWcontent tfoot, .CWcontent thead, .CWcontent tr, .CWcontent th, .CWcontent td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
vertical-align: baseline;
width: 930px;

Crumpy1
10-30-2012, 09:49 AM
thank you for the assist, It worked perfectly. Looks as it should.

Thanks again