Results 1 to 3 of 3

Thread: CSS Help, Please!

  1. #1
    Charles's Avatar
    Charles is offline Senior Net Builder
    Join Date
    Dec 2008
    Location
    On the Bike
    Posts
    1,211
    Blog Entries
    5
    Thanks
    311
    Thanked 311 Times in 212 Posts

    CSS Help, Please!

    Yep, I'm pretty terrible at CSS... And I need your help. I've tried coding my own template, and I'm down to one error... The sidebar/content area doesn't auto-extend in length (to match each other).

    Removed. No longer need help. Thanks greatly, 1901gt!

    Help me!
    Last edited by Charles; 19 April, 2009 at 07:40 AM.

  2. #2
    1901gt is offline Web Designer
    Join Date
    Jan 2009
    Location
    Singapore
    Posts
    235
    Blog Entries
    2
    Thanks
    35
    Thanked 32 Times in 24 Posts
    add this at #content, #sidebar and #page?

    overflow: hidden;
    Maybe need a clear: both at footer as well.

    #footer {
    clear: both;
    }

  3. Thanked by:

    Charles (19 April, 2009)

  4. #3
    Charles's Avatar
    Charles is offline Senior Net Builder
    Join Date
    Dec 2008
    Location
    On the Bike
    Posts
    1,211
    Blog Entries
    5
    Thanks
    311
    Thanked 311 Times in 212 Posts
    Quote Originally Posted by 1901gt View Post
    add this at #content, #sidebar and #page?
    That didn't appear to do anything.
    Quote Originally Posted by 1901gt View Post
    Maybe need a clear: both at footer as well.
    That moved the footer text below the main content. Step 1 of 2 complete! Thank you!

    In case you didn't understand, what I want to do is... have the sidebar stretch down so that it would be the same size as the main content (without having to update a value for every single new page). Or in the case that the sidebar is larger than the main content... have the main content stretch down to be the same size as the sidebar.

    Edit: Actually... After having a play around in PhotoShop... It looks quite a bit more effective just having a divider (the same colour as the background) between the main content and the sidebar. It looks pretty ugly having the sidebar stretch down. I think I will remove the source code from the first post, just to avoid anyone stealing my newly finished design.

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
  •