| View previous topic :: View next topic |
| Author |
Message |
xendistar
Joined: 08 May 2007 Posts: 32
|
Posted: Sun Jun 24, 2007 6:54 am Incorrect table appearance |
|
|
|
I have a table on my web site which appears correctly in Firefox but when viewed in Internet Explorer it does not. In each cell there is either a star (*) or nothing. In Internet Explorer there are only borders around cells that have a * in them. I have searched but can not find the correct code to enter to correct this problem.
The page can be viewed here:
http://www.windfreaks.co.uk/linkman.php
Any suggestions??
Regards
Tim |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 1258 Location: Biloxi, MS
|
Posted: Sun Jun 24, 2007 8:20 am |
|
|
|
You may be using the wrong document type for the elements you are trying to use. Your page has 14 serious errors and 1 minor. I would suggest you validate your page at W3C.org's Validation site and correct all errors. Your CSS only had one problem:
You're probably putting IE in Quirks mode and it is parsing your page the best it can with the information provided. Try correcting all errors and viewing in IE again. Post back how it goes.
Ron |
|
xendistar
Joined: 08 May 2007 Posts: 32
|
Posted: Sun Jun 24, 2007 11:19 am |
|
|
|
OK I have gone through the page and corrected the ones I can but I have now hit a wall, I can't understand what the hell the error is telling me, there are currently 4 errors
Error 1 line 36, I am not sure what to do with this as this is code produced by my hosting company to produce the link to the contact form, changing that will probably cause the form not to work.
Error 2 line 48, what am I supposed to do with this, I have taken the "/" out but that made no difference
Error 3 & 5 what exactly is the error
Why can't they just put the error in plain english??
Tim |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 1258 Location: Biloxi, MS
|
Posted: Sun Jun 24, 2007 4:22 pm |
|
|
|
LOL Yeh it would be nice to have better explanation, but the w3c.org expect you to research what they are telling you. The error on line 36 refers to the fact that you are using an XHTML document type and that does not allow caps for tags and attributes without defining those. Try using just a strict document type or transitional one. See Doc Types.
Error 48 is a link and is not allow where you put it. the <link> tag goes between the <head> </head> tags. Move the whole thing there. It would be wrong even for a transitional doc type.
Errors 27, 187 205 is a <div> tag not closed. This one ( <div id="footer"> ) seems not to be closed. Count your opening and closing tags.
Lot of times a previous error will cause a cascade effect when corrected.
Ron |
|
xendistar
Joined: 08 May 2007 Posts: 32
|
Posted: Mon Jun 25, 2007 11:39 am |
|
|
|
OK I have solved all bar one of the errors which is the ISP supplied link with the capitals in it.
But it has made no difference to the layout in IE (and I don't think the above is causing the problem). ANy other suggestions??
Tim |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 1258 Location: Biloxi, MS
|
Posted: Mon Jun 25, 2007 1:08 pm |
|
|
|
Hi Tim:
OK. Thanks for taking care of those coding problems. The one left is only because of the doc type and can be ignored for now as, as you said, it is not causing the table problem. I'll look at your layout more in depth and get back to you.
Ron |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 1258 Location: Biloxi, MS
|
Posted: Mon Jun 25, 2007 2:49 pm |
|
|
|
Is this what you want for your tables:
Tim's Page
Ron |
|
xendistar
Joined: 08 May 2007 Posts: 32
|
Posted: Tue Jun 26, 2007 10:21 am |
|
|
|
Thats it Ron, I have not had time to study the code yet, but I will do and see where the differences are.
Thanks for your help
Tim |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 1258 Location: Biloxi, MS
|
Posted: Tue Jun 26, 2007 10:43 am |
|
|
|
Added stuff on your style sheet mostly, but cleaned up the other page. It is as an html page so you will have to do want you can with it code wise. I have both files in zipped format, but this forum doesn't allow adding attachments to a post.
Here's what's on the CSS:
| Code: |
/* Added by PayneLessDesigns 6/25/2007 */
table { border: 2px solid #c0c0c0; padding: 25px; margin: 2px; width: 500px; }
td { border: 2px solid #c0c0c0; } |
I removed anything from your table tag and just had this left:
Your empty td tags need this:
Think that's all the changes I made.
Ron |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 1258 Location: Biloxi, MS
|
Posted: Tue Jul 24, 2007 2:46 pm |
|
|
|
Take it you have this solved by now?
Ron |
|
xendistar
Joined: 08 May 2007 Posts: 32
|
Posted: Thu Jul 26, 2007 7:56 am |
|
|
|
My apologies for not coming back to you.
Yes it is fixed, in fact all I needed to do was to add the
<td> </td>
in all the empty cells and the table displayed correctly.
Thanks for the help and again apologies for not confirm your suggestions worked
Tim |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 1258 Location: Biloxi, MS
|
Posted: Thu Jul 26, 2007 1:31 pm |
|
|
|
Thanks Tim for posting back that it did work for you. Now I can delete the email I got out of my Pending file.
Ron |
|
JulesB
Joined: 27 Feb 2008 Posts: 1
|
Posted: Wed Feb 27, 2008 5:15 pm Re: Incorrect table appearance |
|
|
|
Tim, I realize this is from 2007, but visited your site and want to let you know that you should correct the spelling of the word 'explanetary' to 'explanatory'. Sorry, don't mean to nitpik, but looks more professional if there aren't mis-spellings.
I'm having the same problem you were with IE, so will continue on now and read the rest of this topic.
BTW, like your site.
Jules |
|
|