+ Reply to Thread
Results 1 to 3 of 3

Thread: Float (?) Issue

  1. #1
    Join Date
    May 2010
    Posts
    2

    Default Float (?) Issue

    Hi all, I've been wrestling this for a few days and I can't figure it out (yes I'm a total newbie). Through changing something (no idea what did it) in styles.css I've somehow stopped the main contents of the page (in #content_box??) stop floating and align to the left. The site is located here: http://aliveaustralia.com/blog/

    I believe I should be working in here to sort it out:


    /*---:[ core layout elements ]:---*/

    #container { width: 770px; margin: 15px auto 0 auto; }

    #content_box { width: 770px; text-align: left; clear: both; }

    #content { width: 500px; padding: 0 40px 0 0; float: left;}

    #sidebar { width: 230px; float: left; }

    #footer { width: 770px; height: 250px; padding: 0 0 0 0; float: left; clear: both; }

    I really appreciate any help to get this worked out, thank you in advance!

  2. #2
    Join Date
    Feb 2009
    Posts
    605

    Default

    I'm not sure how much you added but I recommend you first look at the default Cutline stylesheet to see how much you've changed.

    Without looking at that file though, I noticed you have some position: absolute and negative margins, etc. Try removing those, then:

    - Float #sidebar to the right
    - Float #content to the left
    - Remove the content_box float and give it a margin: 0 auto

  3. #3
    Join Date
    May 2010
    Posts
    2

    Thumbs up Thank you!!!

    Quote Originally Posted by admin View Post
    I'm not sure how much you added but I recommend you first look at the default Cutline stylesheet to see how much you've changed.

    Without looking at that file though, I noticed you have some position: absolute and negative margins, etc. Try removing those, then:

    - Float #sidebar to the right
    - Float #content to the left
    - Remove the content_box float and give it a margin: 0 auto

    Thank you so much!!! After another 4 fruitless hours I found your response, followed your advice and it seems to be working perfectly.

    Much appreciated

+ Reply to Thread

Similar Threads

  1. Multi-level/suckerfish dropdown menu styling issue
    By mimikbos in forum Bugs & Fixes
    Replies: 1
    Last Post: 07-08-2009, 06:23 AM
  2. Huge Issue: Dog Ate the Power Cable
    By davidcubed in forum General Discussion
    Replies: 12
    Last Post: 05-26-2008, 09:44 PM

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