Debt Consolidation - Secured Loans - Mortgage Calculator - Ringtones - Free Advertising

PDA

View Full Version : IE width problem (fine in other browsers)


bencallis
Apr 6th 2008, 11:03 am
I am currently redesigning my website but have hit a problem when coming to test it in IE.

http://coffeeclicking.com/pages/test.php

The left panel is included with the centre page and the right panel with the footer.

In the main page the table is set to 100% so everything should resize nicely as it does in all browsers bar ie.

Anyone know how I can get it to render correctly in all browsers.
:confused:

drhowarddrfine
Apr 6th 2008, 11:58 am
You will never get IE to attempt to perform like other modern browsers without a proper doctype. It is in 'quirks mode'. If, for whatever reason, you insist on using the transitional/loose/sloppy doctype, this is the proper one:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

bencallis
Apr 6th 2008, 2:29 pm
You will never get IE to attempt to perform like other modern browsers without a proper doctype. It is in 'quirks mode'. If, for whatever reason, you insist on using the transitional/loose/sloppy doctype, this is the proper one:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

I have used this but still no joy. :confused:

drhowarddrfine
Apr 6th 2008, 2:42 pm
Can't/won't help until you leave the proper doctype in.

bencallis
Apr 6th 2008, 2:55 pm
Can't/won't help until you leave the proper doctype in.

Ok fire away... :o

drhowarddrfine
Apr 6th 2008, 3:52 pm
Next (http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fcoffeeclicking.com%2Fpages%2Ftest.php)
In addition, your charset hasn't been used since 1996. Change it to:
<meta http-equiv="content-type" content="text/html;charset=utf-8" />

Get rid of this garbage, too:
<meta name="generator" content="Dreamweaver">

<meta name="robots" content="ALL">

<meta name="distribution" content="global">

bencallis
Apr 6th 2008, 4:10 pm
Next (http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fcoffeeclicking.com%2Fpages%2Ftest.php)
In addition, your charset hasn't been used since 1996. Change it to:
<meta http-equiv="content-type" content="text/html;charset=utf-8" />

Get rid of this garbage, too:
<meta name="generator" content="Dreamweaver">

<meta name="robots" content="ALL">

<meta name="distribution" content="global">

Thanks for all these tips. I will try and fix many of the 'errors' that website picks up.

Although at the moment I really need to fix the IE problem. Do you know the main problem which is causing this?

drhowarddrfine
Apr 6th 2008, 4:57 pm
Link (http://diveintomark.org/archives/2003/05/05/why_we_wont_help_you) .

dazw1
Apr 9th 2008, 12:17 pm
looks like you fixed it now