HTML/CSS Help

Discussion in 'HTML & Website Design' started by eight84, Jul 19, 2010.

  1. #1
    I am creating this website:

    http://www.eight84.com/mollymook/mm_9c.jpg


    I changed the design a little and have this coded so far:

    http://www.eight84.com/mollymook/site/index2.html


    How do I add that div for the content with the white boarder? Anytime I add it it gives me a scroll bar in the middle of the page or wont align under the main image (which is 909px) It also keep aligning left. I though I could ad a div 901px or so and give a 4px boarder and align it center with #e7e5d9 as the bg color but it isn't working for me. Any ideas on how to just add that content box to the existing code?
     
    eight84, Jul 19, 2010 IP
  2. eight84

    eight84 Active Member

    Messages:
    104
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #2
    eight84, Jul 19, 2010 IP
  3. Sdigitalpoint007

    Sdigitalpoint007 Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    are you using float with your div for the content? if so you have to clear it ..... just do <div style="clear: both;"></div> add that right before your footer see if it works
     
    Sdigitalpoint007, Jul 19, 2010 IP
  4. Johnta

    Johnta Peon

    Messages:
    101
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Close the style command
    
      <div style ="width:893px; height:500px; background-color:#e7e5d9; border: solid thick #FFF; margin:auto;[SIZE="4"][COLOR="Red"]"[/COLOR][/SIZE]></div>
    
    
    Code (markup):
     
    Johnta, Jul 20, 2010 IP
  5. eight84

    eight84 Active Member

    Messages:
    104
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #5
    thanks...I didn't even realize that.
     
    eight84, Jul 20, 2010 IP