43 users online (1 members and 42 guests)  


  Results 1 to 4 of 4

Related

  1. Line breaks not breaking    Forum: Javascript Forum
    Replies: 3
  2. Paragraph line breaks lost on preview    Forum: AHFB Feedback
    Replies: 2
  3. Line breaks    Forum: CSS Forum
    Replies: 10
  4. Page Breaks    Forum: ASP Forum
    Replies: 1
  1. #1
    zac's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    6

    IE putting extra breaks in layout

    I have a page here:

    http://www.folkphotography.com/contact.php

    that looks fine in Firefox but Explorer adds a line break that I can not get rid of. Here are some screenshots:

    http://www.folkphotography.com/screenshots/ss6.jpg

    http://www.folkphotography.com/screenshots/ss7.jpg

    The break is right at where my form tag starts. Does anyone know how to fix this??

    Thanks for any help !

    Zac

  2. #2
    ALL's Avatar
    Super Dooper Nerd

    Status
    Offline
    Join Date
    Feb 2005
    Location
    localhost
    Posts
    382

    Re: IE putting extra breaks in layout

    after battling this for a while i gave up!

    what i did find though, if you put a 1px border on #image-content it moves it up, but it puts a un-needed border there.

    hope you figure it out,
    -ALL

  3. #3
    coothead's Avatar
    bald headed old fart

    Status
    Offline
    Join Date
    Aug 2003
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    732

    Re: IE putting extra breaks in layout

    Hi there zac,

    add this rule...
    Code:
    
    form {
         margin:0px;
     }
    
    ...to your stylesheet.

    Also be aware that your page does not validate.

    Check the result here...http://validator.w3.org/check?uri=http%3A%2F%2Fwww.folkphotography.com%2Fcontact.php]validator.w3c.org

  4. #4
    zac's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    6

    Re: IE putting extra breaks in layout

    Great! Thanks for your help. That did the trick Coothead. As far as the validation goes... I am having a tough time tuning that...



Tags for this Thread