"Clear:both" the culprit? Need help!

Discussion in 'CSS' started by jeeplaw, Jul 30, 2009.

  1. #1
    jeeplaw, Jul 30, 2009 IP
  2. AssistantX

    AssistantX Peon

    Messages:
    173
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I see that you are left floating the content on the left, and right floating the content on the right. Doing both is not necessary since you do not have any centered content area. Since by default, elements are left justified you do not need to float your content on the left.

    I also see that you have your right side content in a container, but not your left side content. Is there any reason you chose not to do this? Putting your left content in a specified width container would keep your left content together.

    If you take a look at the source of my website, you will see how I kept both left and right content contained/aligned.
     
    AssistantX, Jul 30, 2009 IP
  3. jeeplaw

    jeeplaw Well-Known Member

    Messages:
    827
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    118
    #3
    Good call. The extra container worked. Thank you!
     
    jeeplaw, Jul 30, 2009 IP
  4. hkhera

    hkhera Peon

    Messages:
    118
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Greetings..
    as i gone through i saw that your template still contains many problems and some elements behave in a weird way like footer, horizontal scroll on page at 1024 screen resolution, in IE6 layout is totally mess..

    i can recreated all html and css for u...:)
    thanks.
     
    hkhera, Aug 11, 2009 IP