Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Aug 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Fine in FF, Broken in IE

    I made a basic, simple, unfinished blog design in which is broken in Internet Explorer, and fine in Firefox. It's basically a container, a header, and a footer.

    This is basically the code without the HTML tag etc...
    Code:
    <img src="header.png" alt="">
    <div style="background: #FFFFFF;">
    Frame area.
    </div>
    <img src="footer.png" alt="">
    Screen shots:
    Firefox
    IE
    Last edited by ConnorHB; 10-26-2006 at 11:31 PM.

  • #2
    New Coder
    Join Date
    Aug 2006
    Posts
    97
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by ConnorHB View Post
    I made a basic, simple, unfinished blog design in which is broken in Internet Explorer, and fine in Firefox. It's basically a container, a header, and a footer.

    This is basically the code without the HTML tag etc...
    try this
    Code:
    <style type="text/css">
    
    body {
    background:#ffffff;
    }
    
    </style>
    
    <div id="container" align="center">
    <img src="header.png" alt="" />
    Frame area.
    <img src="footer.png" alt="" />
    </div>
    Last edited by haveacigar; 10-27-2006 at 12:04 AM.

  • #3
    Regular Coder
    Join Date
    Oct 2006
    Location
    Somewhere
    Posts
    103
    Thanks
    4
    Thanked 3 Times in 3 Posts
    Your IE link's wrong... You forgot to change it when you copied it from the FF...

    -'Dee

  • #4
    Senior Coder
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    2,636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try setting font-size to 0. Also, IE can mis-interpret extra spaces as line breaks.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •