Forum Moderators: buckworks

Message Too Old, No Replies

IE tr and td elements

Can't get IE to look like Firefox

         

Bo_Dill

8:08 pm on Jan 1, 2009 (gmt 0)

10+ Year Member



Hello,

Please help me. I have lost two days trying to figure out why I can't get a very simple table to look the same in IE and Firefox.

I hope that I am not breaking rules by telling you my URL, but if you go to www.oldmanleather.com and open "Handbag Gallery" in both Firefox and EI, you will see what I mean. The Firefox version is just what I want, IE is a mess.

NOTE: Since I am working on this page, it is not complete, and clicking on the first two photos will take you to another page. The rest of the photos are just there to take up space.

Thank you for any advice you can give me.

Bo

Corey Bryant

9:22 pm on Jan 1, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You question would probably be better in another zone (not the ecommerce one) since you are wanting HTML development help.

But you might want to validate [validator.w3.org] your code. And rely more on CSS (styles) then some of the (deprecated) attributes.

g1smd

9:34 pm on Jan 1, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Use validator.w3.org [validator.w3.org] to check your code.

There are a number of nesting errors.

Don't put heading tags inside a set of paragraph tags. Heading tags are their own block element.

Don't put font tags outside of paragraph tags. Infact don't use font tags at all. Use CSS to style the paragraphs.

Add alt="" to all of your image tags. Fill in the quotes with text, for images which are vital parts of the page content.

Add quotes around all of your attribute values.

In the URLs for images quote the full path to the image, starting with a / and make sure your do not have any spaces in any of the URLs. Use hyphens to separate words. Do not use spaces.

Remove the non-breaking spaces between the table cells. That code is totally non-valid. You cannot use spaces to separate table cells.

Try to use all lower case for all of your folder names and file names. Using mixed case will cause you a lot of grief in the long run. Change it to all lower-case now, while the site is small.

Do not use spaces in URLs. Use hyphens to separate words.

After doing that, check your code again in the validator. There should be a lot less stuff to fix by now.

[edited by: lorax at 10:13 pm (utc) on Jan. 1, 2009]

nathon11

1:18 pm on Jan 7, 2009 (gmt 0)

10+ Year Member



This is not a proper category to get your answer, but i will give you some information on this.

g1smd

7:30 pm on Jan 7, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



How are you getting on with this?

It should be about time to move on to the next stage.