SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: Gap in Design

  1. #1
    SitePoint Wizard
    Join Date
    Nov 2000
    Location
    Chico, Ca
    Posts
    1,125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Gap in Design

    I'm not sure if this is CSS related or not..

    It's probably something stupid. I just need another set of eyes to look over my code.

    http://beta.chuckknows.com/

    Thanks

    Chuck
    "Happiness doesn't find you, you find happiness" -- Unknown
    www.chuckknows.com

  2. #2
    SitePoint Zealot pionar's Avatar
    Join Date
    Nov 2003
    Location
    Indianapolis
    Posts
    168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't know the exact explanation, but if you add float: left; to the content and main divs, the gap disappears.

  3. #3
    SitePoint Wizard
    Join Date
    Nov 2000
    Location
    Chico, Ca
    Posts
    1,125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmm.. Doesn't exactly work the way it should. I need the main div too expand with the content div. If I add float left it doesn't.


    Chuck
    "Happiness doesn't find you, you find happiness" -- Unknown
    www.chuckknows.com

  4. #4
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,236
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    The top margin from your "date" header is pushing everything else down. Use this set of rules to get rid of it:
    Code:
    h2.date
    {
    	color:#4785A8;
    	padding-left:3px;
            margin-top: 0;
    }

  5. #5
    SitePoint Wizard
    Join Date
    Nov 2000
    Location
    Chico, Ca
    Posts
    1,125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, Vinne.

    I knew it was something simple

    Chuck
    "Happiness doesn't find you, you find happiness" -- Unknown
    www.chuckknows.com


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
  •