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!

is it possible to combine CSS + XSL ?

Status
Not open for further replies.

tyris

Programmer
Nov 2, 2000
311
FR
hi all,
i used a CSS file before (when i had html page and not xml data). now i do have XML data and do use XSL to display data.
is it possible to combine my CSS (where my body is defined, and also tags like textarea, and own classes (.SUBTIT for example)
how cloud i keep those styles and add the way i display my data in my XSL ? or maybe is there a way to define all classes and tag in the XSL also ? Best regards X-),
Elise
 

hello

with XSL you can do all that you can do with CSS,

because you can transfer the CSS code directly in the XSL, or use the XSL tags that do the same...

manu0
 
okay so if i do have a css file with:
.TITLE {
background-color: #336699;
color: White;
text-decoration: none;
font-family: verdana,sans-serif;
font-size: 13;
font-weight: bold
}
.TITLE2 {
color: black;
text-decoration: none;
font-family: verdana,sans-serif;
font-size: 13;
font-weight: bold
}

i can simply put those lines in the XSL ? or must i put a tag before and after ?
Best regards X-),
Elise
 
Yes you can have both css and xsl for your html. Please refer documentation .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top