Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2006
    Posts
    3
    Plugin Contributions
    0

    help question Left Justify Attributes

    As you can see at http://www.customcomputerdepot.com/i...&products_id=4
    the attributes are confussing to look at. Is there a way to left justify just attributes? Also I was wondering if there is a way to add a text line under each attribute or a "more info" link to describe the attribute option.

    Thanks!
    Mike Noll

  2. #2
    Join Date
    Sep 2006
    Location
    Madison, WI
    Posts
    64
    Plugin Contributions
    0

    Idea or Suggestion Re: Left Justify Attributes

    It looks like there is no line break after your headers. In your code:

    Code:
    <div class="wrapperAttribsOptions">
    <h4 class="optionName back">Operating System</h4>
    (((you need to break here)))
    <div class="back">
    <input type="radio" name="id[2]" value="1" checked="checked" id="attrib-2-1" /><label class="attribsRadioButton one" for="attrib-2-1"><img src="images/attributes/msxp01_on.gif" alt="" width="50" height="35" />  Windows XP Home</label><br />
    <input type="radio" name="id[2]" value="2" id="attrib-2-2" /><label class="attribsRadioButton one" for="attrib-2-2">Windows XP Professional (+$49.00) </label><br />
    
    </div>
    <br class="clearBoth" />
    </div>
    You can style everything there but I would do something along the lines of...

    .wrapperAttribsOptions back {clear:both;}

    or...

    div.back {clear:both;}

    Try adding those to the stylesheet and that should make it so those blocks don't nestle up next to the headers.

    Good luck, Jonah

  3. #3
    Join Date
    Nov 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: Left Justify Attributes

    Hey Jonah,

    Thanks for the reply. Here is my stylesheet:

    .floatingBox, #accountLinksWrapper, #sendSpendWrapper, #checkoutShipto, #checkoutBillto, #navEZPagesTOCWrapper {
    margin: 0;
    width: 47%;
    }

    .wrapperAttribsOptions {
    margin: 0.3em 0em;
    }

    /*navigation*/

    Where should I put that <br>?

    Thanks! Mike

  4. #4
    Join Date
    Sep 2006
    Location
    Madison, WI
    Posts
    64
    Plugin Contributions
    0

    Idea or Suggestion Re: Left Justify Attributes

    Hey Mike,

    You can't put the <br> in the stylesheet, but you could put it in one of the template files that contains the code for drawing up all the attributes html. But that is more complicated so let's try this method first...

    Enter the new style entry as so...

    Code:
     .floatingBox, #accountLinksWrapper, #sendSpendWrapper, #checkoutShipto, #checkoutBillto, #navEZPagesTOCWrapper {
        margin: 0;
        width: 47%;
        }
    
    .wrapperAttribsOptions {
        margin: 0.3em 0em;
        }
    
     .wrapperAttribsOptions back {
    clear:both;
    }
    That should work but if it doesn't I can help you with modifying some other files to get it to work.

    Let me know.

    - Jonah

  5. #5
    Join Date
    Nov 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: Left Justify Attributes

    Hi Jonah,
    I tried it but it still isn't working.......
    http://www.customcomputerdepot.com/i...&products_id=1
    Last edited by Ajeh; 3 Dec 2006 at 01:54 AM. Reason: removed zenid

 

 

Similar Threads

  1. Left Justify Product Desc. Text
    By toodamnbroke in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 9 Nov 2011, 08:12 PM
  2. Product description left align or justify 1.3.8
    By luvvvvvit in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 27 Aug 2010, 05:57 PM
  3. Can I right justify the left sideboxes?
    By ssdsarah in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Mar 2009, 12:22 AM
  4. Left Justify Pages
    By livingstons in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 5 May 2008, 07:33 AM
  5. Need to left Justify Logo
    By sherbo in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Mar 2007, 04:55 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR