Dennis' Domino Blog
« IBM DB2 prior to 9.7 Fix Pack 2 Multiple Security VulnerabilitiesInterfaceFLOR news: 'War on waste' and EPD »

xpages: Theme's and css media types

Permalink 05/31/10 10:52, by Dennis van Remortel, Categories: Lotus, xpages

This weekend I was trying to embed blueprint in a xpages app.
All went fine, but I ran into 1 problem: How do you get your theme to use the following syntax?

<!--sample -->
<!-- Framework CSS -->
<link rel="stylesheet" href="../../blueprint/screen.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="../../blueprint/print.css" type="text/css" media="print">
<!--[if lt IE 8]>
<!-- Import fancy-type plugin for the sample page. -->
<link rel="stylesheet" href="../../blueprint/plugins/fancy-type/screen.css" type="text/css" media="screen, projection">

The media= part I can't fix with the theme? I tried the following:

<media>screen, projection</media>

But the generated code doesn't take the media stuff into account at all.

<link rel="stylesheet" type="text/css" href="/dev/blueprint.nsf/screen.css">
<link rel="stylesheet" type="text/css" href="/dev/blueprint.nsf/fancyscreen.css">

Any suggestions on this?

Yet another Domino/Websphere Admin blog.

About me:
Lotus Notes/Domino Admin
Websphere Commerce Admin


XML Feeds

Planet Lotus

powered by b2evolution free blog software

©2014 by Dennis van Remortel

Contact | b2evolution skin by Asevo | blog software | hosting