I am having problems messing with some css to get it to look the way I want.
Here is the page:
https://diggardensnursery.com/shop/house-home/
I would like catalog the image to be on the left, with the description to the right and the attributes and add to cart below.
I have tried to float the divs to the left and the right. I’m not sure if I have to stick the image in a div and float it left separately. I’m not too versed with PHP so I’ve been trying to mess with just the CSS to get it to work.
In your site you’ve got a ton of stuff floating. This is not the best way to do it. Float isn’t the same as position, so I think all the things you have set to "float-right" aren’t doing what you think. You don’t want to float stuff all over the place, just one thing.
In this case the only thing you should be floating is the image, you just need to float that one object left and use it’s margins and paddings to line up everything else.
This is a good reference that should help you to get more control over floats.
As for fixing your page:
First, you need to make the image float left. Put sufficient padding to the right, and if necessary put a lot of padding above/below to make things not wrap underneath the image.
Second turn off this float left and add a clear:both property;
Turn off the float on div.grid_product_info, div.product_text, and input.wpsc_buy_button as well, and I would add "margin:10px 0 0 28px;" to input.wpsc_buy_button.
You don’t need the divs called "div.grid_view_newline" if you add a "clear:both" to div.product_grid_display, so I’d get rid of that.
That should take care of it.