PDA

View Full Version : Style declaration in body...


swmr
06-24-2003, 01:09 PM
Are there any potential problems (browser-wise) with putting something like: <style type="text/css">.blah{}</style> somewhere in the body of an html document?

This is in regard to selling on Ebay, where I would have no access to the <head> section... and don't want to use a heap of inline style.

ronaldb66
06-24-2003, 01:39 PM
You know that styles are supposted to be declared in the head element; incorporating them in the body, other then through inline styles is therefore incorrect. It can't be excluded that certain browsers will apply them anyway, but I would consider that as "buggy" behaviour and it seems results are at least unpredictable. If you really want to style an entry on eBay, I'd rely on inline styles.

swmr
06-24-2003, 02:43 PM
Ok, thanks; just checkin'... :thumbsup: