tEXT NOT COMPLETELY FILLING div

Discussion in 'CSS' started by abu117, Jun 3, 2008.

  1. #1
    Please see this site: http://streamline-env.com/june08/index.html

    The css is here: http://streamline-env.com/june08/secl.css

    I have two issues:

    1. I have created a div with an id of "MainContent" and gave this div a width of 550 pixels. No matter what I do, the text only seems to fill about 450 pixels then wraps to the next line...anyone see what I am doing wrong here?

    2. The other issue is a browser incompatibility. If you look at this site in IE6.0 you will see that the (right-aligned) address at the top is aligned with the flash movie below. When you look at it in Firefox 2.0.0.14 the address is further to the right??

    I am loving what i am learning and have ordered a book to help me out. I am using dream weaver cs3 for layout.

    Any help would be awesome

    Abe
     
    abu117, Jun 3, 2008 IP
  2. kmofo

    kmofo Active Member

    Messages:
    442
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    85
    #2
    No.1 is simple. You've set the width for <p> to be 80%. Add this to your css and the problem will be solved:

    #MainContent p{width:100%;}

    As for no.2 it is a little bit more difficult. i'll look into it and i'll get back...
     
    kmofo, Jun 3, 2008 IP
  3. blktallos

    blktallos Active Member

    Messages:
    314
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Try Validating You're Code
    i found 28 error's On You're Index page.
    And using Tags like <strong></strong>
    are bad practice when You want to have Html Validation :)
     
    blktallos, Jun 3, 2008 IP