logo

New Response

« Return to the main article

You are replying to:

    • avatar
    • Ian B
    • Posted on Mon 8 Dec 2003

    Jake,

    If you place this line at the end of your stylesheet resource:

    @import url("myview.css?openview");

    Then you can include the resource the way Lotus intended and the custom styles will still take precedence. The advantage is that you don't have to hunt round for your stylesheets in $HTMLHead or the form properties.

    If you want custom styles for different media types, then add a category to your styles and:

    @media screen { @import url("myview.css?openview&restricttocategory=screen"); } @media print { @import url("myview.css?openview&restricttocategory=print"); }

    Agreed though, the absence of the final / is a bit annoying.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: