Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Ok, I was wondering how all the dashed tables work in CSS, and I'd like
to know a good website to learn CSS in its entirety.  Im trying to keep
current, you know?

Also, i am wondering how you can use XML to do stuff like Parse CSS
using javascript, just to see if its possible.
Using the DOM, i expect that you should be able to call XML, but i
forgot how...could someone help me on that as well?  So i figure that
you could call XML in the DOM then use it as CSS or something right?

I know that its alot to ask but could you help?  This stuff always runs
out of my brain.

Later on im going to make a sparknotes for essential DOM management.


BryanHalf@gmail.com wrote:

Quoted text here. Click to load it

Dashed tables? The border-style property will accept a value of "dashed".

Quoted text here. Click to load it

http://w3.org/TR/CSS2 /

Quoted text here. Click to load it

XML is a language for creating Markup Languages with. You can't "do"
anything with it other then represent data structures.

Quoted text here. Click to load it

There are ways to generate a DOM representation of XML with JavaScript (the
XMLHttpRequest object probably being the most common)

Quoted text here. Click to load it

DOM 2 has a Style module, so I suppose you could have an HTML document which
uses JavaScript to create an XMLHttpRequest object. and then walk the DOM
tree to extract data from it which you could use to modify the stylesheet
of the HTML document ...

http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113 /

Quoted text here. Click to load it

I'm really not sure what you are trying to achieve.

David Dorward       <http://blog.dorward.me.uk/ <http://dorward.me.uk/
                     Home is where the ~/.bashrc is


BryanHalf wrote:

Quoted text here. Click to load it

Huh?! What are you blathering on about?

XML is a framework for creating markup languages. XML isn't a programming
language so it can't "do stuff"; and it's not a styling language so it
can't be "[used] as CSS or something right". (There are however styling
languages formulated in XML.)

Javascript is a programming language, so it could theoretically parse CSS.
It would be pretty tricky, and I wouldn't touch it with a barge pole; and
it's not entirely clear why anyone would want to do it given that most
browsers are perfectly capable of parsing most CSS on their own (even if
they can't render the results very well).

The DOM is an object-like representation of an XML or XML-like document.
It doesn't have any XML "in" it -- certainly not in a form that could be
"called" to do anything.

So again... what are you blathering on about?

Toby A Inkster BSc (Hons) ARCS
Contact Me  ~ http://tobyinkster.co.uk/contact

Site Timeline