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 7 of 7

Thread: IE vs Firefox

  1. #1
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation IE vs Firefox

    I made a website Here

    The problem is that it is ****ed up in Internet explorer. I checked everything and I can't find a solution.

    I cut my template in pieces. I put them as a background image in a DIV so I can write alineas in the divs. I gave the DIV a height. Why? If u don't give them a height, it wont show the whole background image... Just a piece of it.

    Is there a way to show the picture as background image without using height?
    Or does someone knows why it is ****ed up in IE?

    Background-size:100%; doesnt work btw

  • #2
    Senior Coder
    Join Date
    Oct 2005
    Posts
    1,340
    Thanks
    0
    Thanked 61 Times in 60 Posts
    You will never get IE to attempt to perform like other more modern browsers without a doctype. Use this on your first line:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

  • #3
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,957
    Thanks
    9
    Thanked 727 Times in 721 Posts
    It doesn't look very good in Opera either, so I think IE is not entirely to blame here. The absence of a doctype isn't helping, as drhowarddrfine rightly points out.

    Additionally, you have #topbody with height 40px, containing #menu which has images on height 71px and a 9px padding, total 80px, so #topbody isn't high enough for its contents. You might need to increase the height of TOER_02.gif to accommodate this.

    I'd get rid of both #middlebody divs, not sure what purpose they serve.

    Then apply background-repeat:repeat-y to #middlebody2.

    Give those a try....

  • #4
    Senior Coder
    Join Date
    May 2005
    Posts
    2,137
    Thanks
    96
    Thanked 72 Times in 72 Posts
    I always code my sites for Firefox, IE is extremely picky about stuff.
    Rowsdower! has accused me of having mental problems, and the administrator allowed it. What a great forum huh?

  • #5
    New Coder
    Join Date
    Aug 2006
    Posts
    96
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by masterofollies View Post
    I always code my sites for Firefox, IE is extremely picky about stuff.
    Very picky but extremely important.

    I design everything in firefox too, but never release unless it looks exactly the same in IE and most other modern browsers. If it requires a special IE hack style sheet, so be it

    Safari, IE, and Firefox are the big 3 IMO

    Opera and Chrome are noteworthy

  • #6
    Senior Coder
    Join Date
    May 2005
    Posts
    2,137
    Thanks
    96
    Thanked 72 Times in 72 Posts
    I just tell people to use Firefox 1024 X 768 or go someplace else.
    Rowsdower! has accused me of having mental problems, and the administrator allowed it. What a great forum huh?

  • #7
    New Coder
    Join Date
    Aug 2006
    Posts
    96
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by masterofollies View Post
    I just tell people to use Firefox 1024 X 768 or go someplace else.
    haha, always tempted.


  •  

    Posting Permissions

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