Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

questions concerning css in xml

Status
Not open for further replies.

Fantatier

Programmer
Jun 28, 2006
2
DE
first of i know xml isnt realy meant for XML, but my boss wants it, so i have to provide ;) it doesnt matter if it only works in FireFox.
i have tried searching the answers myself but have had absolutely no success sofar, so any help would be greatly appriciated!
i have an XML file
here

and the css file is here

at the bottom of the xmlfile you will see a table, i would like to add a heading row to that with the css as i dont want to have to do it by adding another element to my xml file.

2 more little questions, how can i embed the CSS file in my XML file, like it did with the DTD.
and can i somehow add a tab stop after my CSS "content: "Wavelength: ";" so that it is content: "Wavelength:TABSTOP";

oh and one more
i have a mouseover in my file, but rather than having a mouseover i would like to have it so that it stays open when clicked on and closes again when clicked on, like when you open a xml file without a stylesheet in FF.
or similar to windows exploerer.
file
im just not sure how to substiture my hover part to achive this.

and one other thing, why doesnt IE like my XML file with css?

thanks for your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top