| jonnymorris |
|
NetHosted Customer

Joined: 22 May 2006 Posts: 78
|
Posted: Sat Jul 01, 2006 8:22 pm Post subject: CSS / layout problems in IE 6 |
| |
I just tested my page http://www.jonathanmortimer.co.uk/ on my neighbours' PC running Windows XP Home with IE 6 (SP2), it was over to the left, whereas on my Mac and SGI it's properly centralised. Is this purely just an IE problem? Anyone here running IE 6/7, could you give it a whirl please and tell me where things are? Thanks.

Last edited by jonnymorris on Sun Jul 02, 2006 4:42 pm; edited 1 time in total |
|
| Back to top |
|
| ToonlistGuy |
|
NetHosted Customer

Joined: 17 Jan 2005 Posts: 209 Location: Bolton - YAAAAAAAY!
|
Posted: Sat Jul 01, 2006 10:15 pm Post subject: |
| |
If you're interested, I'm running XP pro / Opera v8.51, and everything is contered, whereas on IE6 on the same PC has everything on the left.
I think IE is to blame for so many things. |
|
| Back to top |
|
| jonnymorris |
|
NetHosted Customer

Joined: 22 May 2006 Posts: 78
|
Posted: Sun Jul 02, 2006 9:05 am Post subject: |
| |
| ToonlistGuy wrote: | If you're interested, I'm running XP pro / Opera v8.51, and everything is contered, whereas on IE6 on the same PC has everything on the left.
I think IE is to blame for so many things. |
Thanks! Yes, this rather proves my view that IE is a piece of pointless crud and not worth the effort. |
|
| Back to top |
|
| Z |
|
NetHosted Customer
Joined: 29 Jan 2005 Posts: 287
|
Posted: Sun Jul 02, 2006 12:25 pm Post subject: |
| |
is it IE doing it right and others making assumptions? Just playing devil's advocate without seeing the stylesheet
align="center" in the <table section corrects it for IE. _________________ Getting the hang of it slowly (subject to comment) |
|
| Back to top |
|
| rhinoian |
|
Community Liason

Joined: 25 Nov 2004 Posts: 631 Location: Manchester
|
Posted: Sun Jul 02, 2006 12:43 pm Post subject: |
| |
Centered on Firefox but left on IE. It is likely that it is IE messing things up as Opera and Firefox are closer to standards compliant than IE. My own site shows differently in Firefox and IE with a workaround which bugs me.
Ian
EDIT:
| Quote: | | align="center" in the <table section corrects it for IE. |
Looks like that is all that is needed from the code _________________ Hard to find and premium pet products at Pennine Vets  |
|
| Back to top |
|
| rhinoian |
|
Community Liason

Joined: 25 Nov 2004 Posts: 631 Location: Manchester
|
Posted: Sun Jul 02, 2006 1:20 pm Post subject: |
| |
I have also noticed that you set the width attribute for the "Logo" box but not for the other two boxes. This may be part of the problem on IE with the logo box being furthest left.
Ian _________________ Hard to find and premium pet products at Pennine Vets  |
|
| Back to top |
|
| jonnymorris |
|
NetHosted Customer

Joined: 22 May 2006 Posts: 78
|
Posted: Sun Jul 02, 2006 3:04 pm Post subject: |
| |
| rhinoian wrote: | I have also noticed that you set the width attribute for the "Logo" box but not for the other two boxes. This may be part of the problem on IE with the logo box being furthest left.
Ian |
Hmm, yeah, it is a bit all over the place. I need to go through the code more thoroughly really as I initially used Nvu to create the layout (I got lazy!)
Thanks for the tips! |
|
| Back to top |
|
| jonnymorris |
|
NetHosted Customer

Joined: 22 May 2006 Posts: 78
|
Posted: Sun Jul 02, 2006 3:07 pm Post subject: |
| |
| Z wrote: | is it IE doing it right and others making assumptions? Just playing devil's advocate without seeing the stylesheet
align="center" in the <table section corrects it for IE. |
Thanks, I'll give that a whirl. There's so many things with CSS and original html, it's so easy to get confused and end up coding for one standard and not the other (because let's face it, IE always seems to be the special case that people have to work around, yet it is probably the most widely used browser simply because of the Windows platform). |
|
| Back to top |
|
| rhinoian |
|
Community Liason

Joined: 25 Nov 2004 Posts: 631 Location: Manchester
|
Posted: Sun Jul 02, 2006 4:21 pm Post subject: |
| |
I checked your site and it validates as CSS and HTML. I think those standards are important and it should mean that you get fewer glitches. IE will always have the odd workaround but as IE7 comes along, using the standards should help.
Ian _________________ Hard to find and premium pet products at Pennine Vets  |
|
| Back to top |
|
| jonnymorris |
|
NetHosted Customer

Joined: 22 May 2006 Posts: 78
|
Posted: Sun Jul 02, 2006 4:46 pm Post subject: |
| |
I checked it all over and made a few changes - anyone with IE 5/6 on Windows care to see if it's now centralised and correct?  |
|
| Back to top |
|
| Z |
|
NetHosted Customer
Joined: 29 Jan 2005 Posts: 287
|
Posted: Sun Jul 02, 2006 4:56 pm Post subject: |
| |
it originally wasn't centred in IE7 either _________________ Getting the hang of it slowly (subject to comment) |
|
| Back to top |
|
| jonnymorris |
|
NetHosted Customer

Joined: 22 May 2006 Posts: 78
|
Posted: Sun Jul 02, 2006 7:09 pm Post subject: |
| |
| Z wrote: | | it originally wasn't centred in IE7 either |
Looking at the code again, I have no idea how it was ever centralised in Firefox or Camino! Should be all sorted now, thanks for the feedback. |
|
| Back to top |
|
| Z |
|
NetHosted Customer
Joined: 29 Jan 2005 Posts: 287
|
Posted: Mon Jul 03, 2006 6:48 am Post subject: |
| |
maybe Firefox/Camino makes assumptions that IE doesn't? _________________ Getting the hang of it slowly (subject to comment) |
|
| Back to top |
|
| rhinoian |
|
Community Liason

Joined: 25 Nov 2004 Posts: 631 Location: Manchester
|
Posted: Mon Jul 03, 2006 7:50 am Post subject: |
| |
All seems to work perfectly in IE6, Firefox and Opera!
Ian _________________ Hard to find and premium pet products at Pennine Vets  |
|
| Back to top |
|
| jonnymorris |
|
NetHosted Customer

Joined: 22 May 2006 Posts: 78
|
Posted: Mon Jul 03, 2006 8:20 am Post subject: |
| |
Thanks everyone!  |
|
| Back to top |
|
User Permissions |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
| |