pardicity3
02-01-2003, 10:23 PM
Hello all,
I have a new page I am currently working on. Originally it was a table layout, but now I have converted it to a div layout. The page can be found here:
http://www.mikesadventures.net/trial2/trial_1.html
I just attempted to validate the html--with w3.org's html validator--and I got a couple off errors. First, it said that my closing </head> tag was not allowed because it was never opened...then because of this error it said that my opening <body> tag wasn't allowed either. The problem is, as far as I can tell, I have both opened and closed these tags properly.
My second problem is that for my header div I use float:left to get my image to align to the left of the div. The only problem is that in IE5/mac the whole div floats left instead of just the image. Is there a problem with using float:left in an image?
Also, I don't know if this problem is related, but in Opera 6/win the alignment is just a little bit off. I know my navigation image containers are kind of a bad idea, but they seem to work everywhere but Opera 6, maybe that has something to do with the afforementioned problems?
Thanks for all your help.
p.s. If you need it here is the link to my css:
http://www.mikesadventures.net/trial2/styles.css
I have a new page I am currently working on. Originally it was a table layout, but now I have converted it to a div layout. The page can be found here:
http://www.mikesadventures.net/trial2/trial_1.html
I just attempted to validate the html--with w3.org's html validator--and I got a couple off errors. First, it said that my closing </head> tag was not allowed because it was never opened...then because of this error it said that my opening <body> tag wasn't allowed either. The problem is, as far as I can tell, I have both opened and closed these tags properly.
My second problem is that for my header div I use float:left to get my image to align to the left of the div. The only problem is that in IE5/mac the whole div floats left instead of just the image. Is there a problem with using float:left in an image?
Also, I don't know if this problem is related, but in Opera 6/win the alignment is just a little bit off. I know my navigation image containers are kind of a bad idea, but they seem to work everywhere but Opera 6, maybe that has something to do with the afforementioned problems?
Thanks for all your help.
p.s. If you need it here is the link to my css:
http://www.mikesadventures.net/trial2/styles.css