SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot kevinritt's Avatar
    Join Date
    Nov 2002
    Location
    Lynn, Massachusetts-United States
    Posts
    138
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    images and text are not lined up

    I've been banging my head trying to figure this out. On this page in the 'resources' section (under the top content area), the text should line up to the right of each thumbnail. Im using the same css that I have on this page where it lines up but I can't figure out what I'm doing wrong. I'm converting the sample to a Twenty Eleven WP child theme. Could it be some css in WP? Any suggestions?

  2. #2
    From Italy with love silver trophybronze trophy
    guido2004's Avatar
    Join Date
    Sep 2004
    Posts
    9,401
    Mentioned
    147 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by kevinritt View Post
    Im using the same css
    No you're not. Maybe it's the same for 99%, but there are some differences.
    Code:
    h1, h2, h3, h4, h5, h6 {
        clear: both;
    }
    You have this line in the style.css of the page that isn't doing what you want.

  3. #3
    SitePoint Zealot kevinritt's Avatar
    Join Date
    Nov 2002
    Location
    Lynn, Massachusetts-United States
    Posts
    138
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't have the clear in the static site. Should I get rid of the clear from the parent stylesheet or add it?

  4. #4
    From Italy with love silver trophybronze trophy
    guido2004's Avatar
    Join Date
    Sep 2004
    Posts
    9,401
    Mentioned
    147 Post(s)
    Tagged
    4 Thread(s)
    You want to get rid of it for the h3 in this particular case. I don't know if you need it on other h3's.

  5. #5
    SitePoint Zealot kevinritt's Avatar
    Join Date
    Nov 2002
    Location
    Lynn, Massachusetts-United States
    Posts
    138
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    that did it - thank you


Tags for this Thread

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
  •