Forum Moderators: not2easy

Message Too Old, No Replies

CSS and Yahoo Stores

What is causing this odd behavior?

         

Wlauzon

5:51 am on Jan 17, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am updating a Yahoo store with CSS, but have run into a couple of little glitches. This is one:

I put the usual link to a stylesheet in the Head. Works fine for all pages in IE.

But in Firefox it only works for PART of the pages - it seems to "lose" the CSS part about halfway down the page, especially anything in the footer portion of the page at the bottom.

So basically what I end up with in IE6 is:

CSS formatted stuff
-- page content --
CSS formatted stuff

With Firefox (latest version) I get this:

CSS formatted stuff
-- page content --
Non-CSS formatted stuff.

This happens even if the page content is pretty much emtpy, with no products.

Any ideas?

DrDoc

7:37 am on Jan 17, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



does the HTML validate?

xfinx

10:46 am on Jan 17, 2006 (gmt 0)

10+ Year Member



I think there are more that 1 <html> tags on the page!

Wlauzon

2:59 pm on Jan 17, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The HTML on a Yahoo store will never validate completely, get a lot of these type errors:
"Line 4, column 905: required attribute "ALT" not specified". from the image map.

But I don't see how that alone would mess up the CSS.

And there is only one set of <html></html> tags.

The DOCTYPE is hard coded as <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> and I don't think I can change that, it is generated by Yahoo when it builds the page.

This I suspect is where the problem might be, but not sure:

" document type does not allow element "P" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag.
...ucts here<br><br><p class="black_pic">CSS - Test - Section</p><br><b"