[LON-CAPA-users] Cascading Style Sheets?

Stefan Bisitz lon-capa-users@mail.lon-capa.org
Sun, 03 Jun 2007 16:03:42 +0200

Hi Brew,

some mor information about using CSS in LON-CAPA:

> Cannot set the css link for Instructions.html 

Yes, you cannot set the "CSS file to link" parameter for html resources.
It doesn't work for html files. Don't ask me why. This should have been
changed, too. Guy? :-)

Until this isn't changed, try to include a css LINK in the header
similar to what you already did with sty files:

> As Author, I created an HTML file Instructions.html with a <LINK> tag to
> get Basic.sty. Works great! and I can put multiple links for better
> control.
> <LINK index="11" TITLE="LabStyles" REL="StyleSheet" TYPE="text/css"
> MEDIA="screen, print, projection"
> HREF="/res/monroe/brewington/Common/css/Basic.sty"></LINK>

Use a reference to your css file instead. This also works.
Of course, this is far away from being as flexible as it could be with
the "CSS file to link" parameter.

Stefan Bisitz