Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Posts
    10
    Plugin Contributions
    0

    Default CSS Weirdness (Padding Issue - I think)

    Hi everyone,
    I'm having a wierd issue with one box on my site. I've gone through the tutorials and still have a problem that I think is attributed to css, at least somewhere. If you look at my site: http://www.jelcards.com and see the area around the left column Categories it has white space all around it. The right side doesn't have that whitespace, although I made the settings the same (I think) for both. I'd like to have it look like one continuous line both in size and color. The size works well for IE, but can be off on Firefox.

    Two questions:

    1) How do I fix the whitespace? I want it to go away.

    2) How can I ensure that the line across (left, center, right) is the same size in all browsers?

    Thanks! BTW -- below is some of the relvant code from my stylesheet.

    ****
    /*sideboxes*/
    .columnLeft {
    margin: 0em;
    padding: 0em;
    }

    h3.leftBoxHeading, h3.leftBoxHeading a {
    font-size: 1em;
    color: #ffffff;
    }

    .leftBoxContainer {
    margin: 0em;
    }
    .rightBoxContainer {
    margin: 0em;
    }
    .leftBoxHeading, .centerBoxHeading {
    margin: 0em;
    background-color: #996666;
    background: url(../images/grad1.gif);
    background-repeat: repeat-x;
    padding: 0.5em 0em;
    color: #ffffff;
    }

    .sideBoxContent {
    background-color: #ffffff;
    padding: 0.4em;
    }

    h3.rightBoxHeading, h3.rightBoxHeading a {
    font-size: 1em;
    color: #ffffff;
    }

    .rightBoxHeading {
    margin: 0em;
    background-color: #996666;
    background: url(../images/grad1.gif);
    background-repeat: repeat-x;
    padding: 0.5em 0em;
    }


    h3.leftBoxHeading a:hover {
    color: #eedfcc;
    font-size: 1em;
    text-decoration: none;
    }

    h3.rightBoxHeading a:hover {
    color: #eedfcc;
    font-size: 1em;
    text-decoration: none;
    }

    .rightBoxContent {
    background-color: #ffffff;
    margin-bottom: 1em;
    }

  2. #2
    Join Date
    May 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: CSS Weirdness (Padding Issue - I think)

    um, im learning too, so I cant help ya, but maybe you can help me... How did you change the New Products For May Title Background Color? I can't find it in the css... thx

  3. #3
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: CSS Weirdness (Padding Issue - I think)

    .leftBoxContainer {
    border: 1px solid #ffffff; <<<< remove this
    margin-top: 1.5em;
    }
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  4. #4
    Join Date
    Jan 2005
    Posts
    10
    Plugin Contributions
    0

    Default Re: CSS Weirdness (Padding Issue - I think)

    Quote Originally Posted by Kim
    .leftBoxContainer {
    border: 1px solid #ffffff; <<<< remove this
    margin-top: 1.5em;
    }
    Thanks -- but if you look at the .css above, I don't have that line, I have:

    .leftBoxContainer {
    margin: 0em;
    }


    Any other ideas?
    Last edited by howser; 12 May 2006 at 02:14 AM.

  5. #5
    Join Date
    Jul 2005
    Location
    Lancaster CA
    Posts
    70
    Plugin Contributions
    0

    Default Re: CSS Weirdness (Padding Issue - I think)

    Quote Originally Posted by Kim
    .leftBoxContainer {
    border: 1px solid #ffffff; <<<< remove this
    margin-top: 1.5em;
    }

    Thanks Kim, this helped me to remove the 1 pixel border and the top margin so the column aligns correctly using Firefox.

    However in IE it still has the border and additional space between header and lower columns. Any ideas?
    Greg Krynen

    www.krynen.com - Interesting answers
    www.PurpleDragonGifts.com - Jewelry and other gifts
    www.PurpleDragonTraders.com - Beads

    all of life is 50/50

  6. #6
    Join Date
    Jan 2005
    Posts
    10
    Plugin Contributions
    0

    Default Re: CSS Weirdness (Padding Issue - I think)

    Any other ideas, since my css code is very simple for the left box container and is the same as the right box container, wouldn't it stand to reason that they would behave the same?

  7. #7
    Join Date
    Jan 2005
    Posts
    10
    Plugin Contributions
    0

    Default Re: CSS Weirdness (Padding Issue - I think)

    My problem was solved not by removing this line:

    border: 1px solid #ffffff

    For one, I never had it in, but instead I changed it from 1px to 0px and that fixed it. I don't really know why I needed it, but either way, problem solved. Hopefully that helps someone in the future!

  8. #8
    Join Date
    Jan 2005
    Posts
    10
    Plugin Contributions
    0

    Default Re: CSS Weirdness (Padding Issue - I think)

    Quote Originally Posted by yesterda
    um, im learning too, so I cant help ya, but maybe you can help me... How did you change the New Products For May Title Background Color? I can't find it in the css... thx

    Here's the part that does that:

    .leftBoxHeading, .centerBoxHeading {
    margin: 0em;
    background-color: #996666;
    background: url(../images/grad1.gif); <-- This is a 1px by 25px gradient that I made
    background-repeat: repeat-x; <-- This command repeats that gradient.
    padding: 0.5em 0em;
    color: #ffffff;
    }

 

 

Similar Threads

  1. Padding (I think) issue, IE vs FF
    By CharInLasVegas in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Dec 2009, 10:11 PM
  2. CSS/Tables margin/padding issue
    By jamieboulder in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 15 Feb 2008, 04:10 PM
  3. Padding Issue In FF
    By enchantedlingerie in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Apr 2007, 09:09 PM
  4. CSS header background weirdness in IE only.
    By kelvyn in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Aug 2006, 08:22 PM

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