Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Posts
    419
    Plugin Contributions
    0

    Default Re: Layout and Display of Attributes

    Well, after some fiddling, I still can't the drop down boxes to the right of the option names, even when I got their alignment right.

    Code:
    <div class="wrapperAttribsOptions" style="float:left;">
    <h4 class="optionName"><?php echo $options_name[$i]; ?></h4>
    <div class="options"><?php echo "\n" . $options_menu[$i]; ?></div>
    </div>

    Code:
    .options {
        float: left;
    	text-align: left;
    	}
    	
    .optionName {
       text-align: right;
       float: right;
       }

  2. #2
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Layout and Display of Attributes

    .optionName {
    text-align: right;
    float: right;
    }

    change float to left

  3. #3
    Join Date
    Feb 2009
    Posts
    419
    Plugin Contributions
    0

    Default Re: Layout and Display of Attributes

    Ok, that worked.

    I guess I can't do it in CSS, but will have to somehow make a table out of it ... so I can have the the drop downs stack neatly ...

    What I have:
    http://www.oldtradingpost.com/old-we...roducts_id=688


    What I would like (x-cart):
    https://www.oldtradingpost.com/weste...ter-p-745.html

  4. #4
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Layout and Display of Attributes

    what happens if you change ..

    <h4 class="optionname"></h4>
    to
    <div class-"optionname"></div> ?

    i guess this way , do what you want with div ..

    i seen some very good examples of using CSS to make your form elements looks great with out using any tables .. just pure CSS and divs.

  5. #5
    Join Date
    Feb 2009
    Posts
    419
    Plugin Contributions
    0

    Default Re: Layout and Display of Attributes

    Not 100% what I wanted, but definitely close enough and looks fairly clean.

    http://www.oldtradingpost.com/old-we...oducts_id=3095

    Thanks SO much for your help. Definitely appreciated!

 

 

Similar Threads

  1. Attributes and Display Prices
    By haabachic_2743 in forum General Questions
    Replies: 1
    Last Post: 21 Feb 2012, 12:38 PM
  2. Attribute layout and dynamic price display
    By mgwirelessllc in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 8 May 2011, 09:25 PM
  3. Column Layout in IE - Pushing Product Image and Attributes Across
    By limelites in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Feb 2010, 07:39 PM
  4. layout on products info page - attributes and add to cart switch?
    By Sabine_in_MG in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 24 Apr 2008, 11:22 PM
  5. Invoice layout - swapping display of postcode and county
    By palm in forum Managing Customers and Orders
    Replies: 5
    Last Post: 4 Jan 2007, 12:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg