try float: middle, instead of commenting it out
try float: middle, instead of commenting it out
No such thing as float: middle? Anyways, I tried it and float:center but they both do not work. I'm guessing I need to add some invisible boxes on the right and left side of the Add to Cart button to make it float properly without stretching.
Other thoughts out there? If I figure something out on my own I'll update...
Float can only be left, right or none. Floated divs automatically shrink to just fit their content width, so if you remove the float, you need to explicitly set the element width if you do not want it 100% width. No invisible boxes are needed; margin: auto; will give the element equal left and right margins, centering it.