html - Add a css link to xhtml files that I cannot modify using an XSLT? -
according programming supervisor should able link css file xhtml file cannot touch using xslt. how achieved? have ideas? how "run" xslt? open in browser?
i need format xhtml page fits onto mobile device, cannot control or modify xhtml page coming in (its basic xhtml).
how link these xhtml pages .css?
sorry if sounds confusing, clarification questions happy answer.
thanks in advance.
xslt transforming xml html/xhtml. because xml data. there many different ways access or display data xml, php , xslt.
so clear xslt can not "run". can think of css xml. xslt supported major browsers, there shouldn't problems.
you can transform xml html/xhtml linking @ begining of xml file. best right after <?xml version="1.0" encoding="utf-8"?>
you link link code
<?xml-stylesheet type="text/xsl" href="file.xsl"?>
you can learn xslt @ link. doesn't take long through.
to link css file html/xhtml file simple.
<link rel="stylesheet" type="text/css" href="file.css">
if looking make html/xhtml file different mobile user desktop users, can use media="" ( http://www.w3schools.com/tags/att_style_media.asp ). not recommend because html/xhtml pages coded work css file.
hope helps!
Comments
Post a Comment