SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Always learning kigoobe's Avatar
    Join Date
    May 2004
    Location
    Paris
    Posts
    1,565
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Weird problem ... copied the style sheet completely, but ...

    Hi

    I'm trying to reproduce the left column of http://clubbusiness75.blogspirit.com/ in http://www.resalog.com/vincent/form.php.

    The two related style sheets are http://clubbusiness75.blogspirit.com/style.css and http://www.resalog.com/vincent/sopno.css respectively. I have copied everything for the sidebar (or I believe that i've) but still I'm having some problem, and I am pulling out my hairs to find out what I've missed.

    Problem is linked to this >
    Code:
    #left .sidebar h2 {
    	background: url("http://www.blogspirit.com/graphics/design/preview/set2/ff9900/left_round.gif") no-repeat 0% 0.45em;
    }
    The h2 is appearing too small, and the image is also eaten from the bottom.

    Can anyone help?

    Thanks.

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,555
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    I didn't have time to look through both stylesheets and see where you went wrong as it could be any font-size that you have set on a parent as reletaives sizes will compound.

    Why don't you just fix it


    Code:
    
    .sidebar h2 {
    	margin: 0px 0px 10px 0px;
     font-size: 100%;
     font-weight: bold;
     border-bottom: 1px solid #000;
     color: #000;
     padding-left: 45px;
    }
    #left .sidebar h2 {
     background: url("http://www.blogspirit.com/graphics/d...left_round.gif") no-repeat 0% .1em;
    That looks much the same.

  3. #3
    Always learning kigoobe's Avatar
    Join Date
    May 2004
    Location
    Paris
    Posts
    1,565
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Paul, you are a CSS magician man. It's working !!! Thanks a lot.

    Cheers.


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
  •