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
  1. #1
    Regular Coder
    Join Date
    Nov 2002
    Posts
    567
    Thanks
    2
    Thanked 4 Times in 4 Posts

    Completely different appearances in browsers

    Please check this link out.http://www.alaskaerrands.com

    With Firefox it looks OK, with IE7 it looks like crap. The font sizes are different. Making IE7 hard to read in some places and way too big in others. How do I deal with that? I am using a style sheet. There are hundreds of styles set in there so I don't know how much and what to post. Just to get started I'll leave the styles out until I get an idea of where to look for the problem.

    PS: I probably don't want to hear it but other criticisms can be included if it will help. I know there is a lot more to do with the Contact Us Form, but I had to put it up on the server just to test the mail() function. I am currently adding a bunch of checks to make sure everything is hunkey dorey BEFORE it is mailed.
    Last edited by ScottInTexas; 09-12-2007 at 05:01 PM. Reason: PS
    Scott Stewart
    Always happy to learn from pros.

  • #2
    Senior Coder ahallicks's Avatar
    Join Date
    May 2006
    Location
    Lancaster, UK
    Posts
    1,134
    Thanks
    1
    Thanked 57 Times in 55 Posts
    Yeah, you're best off using either pixels, or em's for your font-sizes. I would steer clear of using pt because I vaguely recall that browser render it at different sizes whereas an em, or a pixel is the same on all.
    "write it for FireFox then hack it for IE."
    Quote Originally Posted by Mhtml View Post
    Domains are like women - all the good ones are taken unless you want one from some foreign country.
    Reputation is your friend

    Development & SEO Tools

  • #3
    Regular Coder Jutlander's Avatar
    Join Date
    Jun 2007
    Location
    In my own sick little world :P
    Posts
    425
    Thanks
    1
    Thanked 12 Times in 12 Posts
    With pixels, IE users are not able to resize the text...
    .
    .

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Also your code contains about 42 errors. From the looks of it you shouldn't be coding in XHTML Strict. You really shouldn't be using the center tag either. I would suggest you validate your page but you would need to add this within the head tags before you do <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #5
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    3,109
    Thanks
    2
    Thanked 326 Times in 318 Posts
    Aero beat me to it, but I got between 57 and 62 errors using iso-8859-1 Encoding and trying both Transitional and Strict Doctype at the w3.org validator.
    If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.

  • #6
    Regular Coder
    Join Date
    Nov 2002
    Posts
    567
    Thanks
    2
    Thanked 4 Times in 4 Posts
    Thanks everyone. What did you use to validate the code? I tried a link at w3schools but was told that my code couldn't be vali thought that was the preferred code. I tried to make sure that the page didn't use anything that was deprecated. And the center tag was a test to move an image into the middle of a column I had defined. Problem was I couldn't find anything better to work and have not been able to get back to it today. Crappy job, I'm expected to work occasionally.

    I'll add the meta tag that Aerospace eng posted and retry validation. Any other suggestions would be greatly appreciated. I'll change the CSS to all em wherever I have px or pt. Hope I get everything to fit nicely.

    Thanks again.
    Scott Stewart
    Always happy to learn from pros.

  • #7
    New Coder
    Join Date
    Sep 2007
    Posts
    34
    Thanks
    0
    Thanked 7 Times in 7 Posts
    check out the attachment.

    for ur notification : some of the content like heading will not be aligned properly in IE thts bcas u hav specified those things in broken div tag....

    make it proper, make it work

    gud day,
    rams
    Attached Files Attached Files


  •  

    Posting Permissions

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