Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2010
    Posts
    111
    Plugin Contributions
    0

    Default Need CSS Help- Where's My Css Friend?? :)

    Hi there folks.. I am in need of my CSS friend- or even a brandy dandy new one.. I've muddled and fuddled and actually do quite well- but this that I am working on has me befuddled... :)

    This is the link I'd like for you to look at: http://kanikis.com/justforkeeps/inde...roducts_id=486

    And what I'd like to do- is "tighten up" the spaces between the two dropdown menu attributes etc.. So all of the dropdowns, the add to cart- etc... All line up nice nice...

    Any takers??? I would just be humbled and ever so grateful!!

    I did try and try to adjust- but just keep getting it further apart...

    Thanks bunches!!!
    Niki

  2. #2
    Join Date
    Jan 2008
    Posts
    73
    Plugin Contributions
    0

    Default Re: Need CSS Help- Where's My Css Friend?? :)

    This one is somewhat easy

    You need to put these elements inside a div
    <div id=tighten>
    </div>

    and then in your css add

    #tighten
    { line-height:1em; }

    That may help it a bit, your probably going to have to apply it to each
    <div id=##### in your style sheet as its not all one div.

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Need CSS Help- Where's My Css Friend?? :)

    Some unknown property is giving the <h4> attribute headings huge top and bottom margins (I say unknown because Firebug doesn't show any margin setting affecting them at all).

    If you explicitly set small margins for them, all is well:
    Code:
    label, h4.optionName {
    	line-height: 1.5em;
    	padding: 0em;
    	float: left;
    	margin: 0.1em;
    }
    These headings are both h4.optionName and label, so the font sizing properties apply twice, making the line-height extra large. Shrinking that doesn't help much, because the margins are still there.
    Last edited by gjh42; 2 Dec 2010 at 05:55 AM.

  4. #4
    Join Date
    Sep 2010
    Posts
    111
    Plugin Contributions
    0

    Default Re: Need CSS Help- Where's My Css Friend?? :)

    Yes- I couldn't find anything unusual either- when I used the developers tools in firefox.. It looked "Okay".... I didn't understand..

    I'm going to go in and try these.. Maybe the label h4 margin will fix this!!

    BRB....

    Thanks guys!!

  5. #5
    Join Date
    Sep 2010
    Posts
    111
    Plugin Contributions
    0

    Default Re: Need CSS Help- Where's My Css Friend?? :)

    Okay!! You guys are great!!

    I added the margin fix- and istead of 0.1... I put 0em. It's a Ton Better!! There's still a "tiny" gap between dropdown options- but... I'm much happier with this look!! This way customers won't get confused!!!

    There are many settings in the css that helped line everything up!! And a huge thanks to everyone who helped me put codes with css- with what they actually are in the shop cart code!!

    YAY!! Thanks again!!!

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Need CSS Help- Where's My Css Friend?? :)

    Glad it worked as you wanted. I first tried a 0 margin and thought it looked too crowded, but if you like it, that's what matters.

  7. #7
    Join Date
    Sep 2010
    Posts
    111
    Plugin Contributions
    0

    Default Re: Need CSS Help- Where's My Css Friend?? :)

    ah hah.. In explorer- it looks about right... Maybe I should re-look in firefox to make sure....

    But then again- I am still very grateful for the help!!

 

 

Similar Threads

  1. Need some CSS help.
    By ChrisVCB in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 25 Nov 2010, 11:52 PM
  2. Need css help
    By kburner in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 28 Jan 2009, 01:54 PM
  3. Need some css help
    By canemasters in forum General Questions
    Replies: 10
    Last Post: 14 May 2008, 05:27 AM
  4. Converting OS css to Zencart Css help please.
    By oavs in forum General Questions
    Replies: 2
    Last Post: 17 Jul 2006, 09:49 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