Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2005
    Location
    Hoedspruit
    Posts
    528
    Plugin Contributions
    2

    Default Attributes display alignment

    I would like my attributes drop down boxes and text to right align.

    The display is untidy for left align - see here

  2. #2
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,291
    Plugin Contributions
    1

    Default Re: Attributes display alignment

    If adjust the dropdown's part in the css, other portion of the page will be affected.

    You can set a width to the option name of the first part at the left side, and this make a clear look to the the dropdown at the right side.
    .optionName {
    width: 16em; /* should set a width which ssufficient for all the option names */
    }
    If still want the text to right align for the option name.
    in the above css add the following:
    text-align: right;
    .
    A New Starter again

  3. #3
    Join Date
    Jul 2005
    Location
    Hoedspruit
    Posts
    528
    Plugin Contributions
    2

    Re: Attributes display alignment

    I'm very new at this and don't really know what I'm doing. using Aardvark, I found this bit of code that, I think, relates to what you're talkin about:

    LABEL, h4.optionName {

    line-height: 1.5em;

    padding: 0.2em;

    }
    Do I add
    width: 16em;
    to the above stylesheet2.css and

    1. adjust the value to suit

    1. add values for each drop down box?

  4. #4
    Join Date
    Jul 2005
    Location
    Hoedspruit
    Posts
    528
    Plugin Contributions
    2

    Default Re: Attributes display alignment

    Cool man. Thank you. Iadded that tiny bit of coding
    width: 16em;
    , and my whole site's a lot neater.


  5. #5
    Join Date
    Jul 2005
    Location
    Hoedspruit
    Posts
    528
    Plugin Contributions
    2

    Default Re: Attributes display alignment

    A very big thank you to seethrou. Aardvark and other web tools for Firefox are great. I recommend them to anyone that would like to learn and understand how their sites are put together!

  6. #6
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,291
    Plugin Contributions
    1

    Default Re: Attributes display alignment

    Glad that can help.
    A New Starter again

 

 

Similar Threads

  1. v139h Attributes alignment
    By dank in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 1 Jun 2012, 03:43 PM
  2. image display alignment
    By gsdcypher in forum General Questions
    Replies: 5
    Last Post: 15 Nov 2010, 10:37 PM
  3. Alignment on Attributes
    By Maccon in forum Setting Up Categories, Products, Attributes
    Replies: 12
    Last Post: 16 Dec 2008, 09:03 PM
  4. Display alignment issue
    By Parafanaylya in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 13 Sep 2007, 01:49 PM
  5. Attributes display alignment
    By Parafanaylya in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 8 Jul 2006, 07:44 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