Sent by David Dorward on 23 July 2007 11:11
On 23/07/07, Christopher Blake [EMAIL-REMOVED]> wrote:
> If you can't see what the names of the IDs and CLASSs are from the
> HTML (because the javascript is all that you can see) how the hell
> are you supposed to style them????
You either parse the JavaScript in your head to determine what the
generated markup will be, you use a DOM inspector (I'm fond of the one
built into Firebug) to look at the generated DOM, or you use something
that shows you the generated source rather then the actual source.
> I am not interested in whether you should or shouldn't style rss
> feeds.
Well, you aren't doing that. You appear to be taking some RSS,
converting it to HTML, embedding that HTML in a bunch of JavaScript
document.write statements, and then injecting it into the page.
Incidentally, if your XHTML is every going to be parsed as XHTML then
that script is going to break due to the lack of support for
document.write in XHTML documents.
http://www.webdevout.net/articles/beware-of-xhtml might be worth a
read.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/