Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1073403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T20:59:18+00:00 2026-05-16T20:59:18+00:00

I am having problems messing with some css to get it to look the

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T20:59:18+00:00Added an answer on May 16, 2026 at 8:59 pm

    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.

    div.product_grid_display div.product_grid_item img {
        border:medium none !important;
    >>> float:left;
    >>> padding:0 20px 35px 0; /*this padding worked for me */
    }
    

    Second turn off this float left and add a clear:both property;

    div.product_grid_item {
    >>> float:left; /*DELETE THIS LINE*/
        height:auto !important;
        margin:4px 8px 8px 0;
        position:relative;
        clear:both;
    }
    

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im having problems with displaying ONLY some elements ONLY on print page. For example
Just got an Arduino and I'm messing around having some problems with the lights.
I am currently messing with C# XNA 4.0, but I am having some problems
I'm having some problems statically linking ncurses to one of my programs Here's a
I am having some problems with finding out if the value is missing or
Im having problems getting at the HTML5 video tag with jQuery. Here is my
I have started messing around with the MVVP pattern, and I am having some
i am haveing some problems with JSON and arrays. I have been messing around
I'm having some problems regarding a jQuery modal window. I'm a dba and SQL
Weird stuff happening here. See this tinkerbin page, if you may: http://tinkerbin.com/UZy6H6q4 Here's the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.