Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# dagda1 4/24/2006 1:57 AM
Hi,

I was just wondering wh Cuyahoga only caters for one stylesheet?

I think most web app.s would have more than one.

Is there a particular reason for this?

Thanks

Paul
# martijnb 4/24/2006 4:59 AM
dagda1I was just wondering wh Cuyahoga only caters for one stylesheet?

I think most web app.s would have more than one.

Is there a particular reason for this?

No particular reason. I just didn't need more at the time :)
Nowadays, in some situations, I just hardcode any extra stylesheets in the template:
<link rel="stylesheet" type="text/css" href='<%= ResolveUrl("~/Templates/MyTemplate/css/common.css") %>' media="screen" />
<link rel="stylesheet" type="text/css" href='<%= ResolveUrl("~/Templates/MyTemplate/css/print.css") %>' media="print" />
<asp:literal id="Stylesheets" runat="server" />

Also, it's possible to register multiple stylesheets from your code with PageEngine.RegisterStylesheet(key, url).
# crazy-weasel 4/24/2006 5:04 AM
martijnbAlso, it's possible to register multiple stylesheets from your code with PageEngine.RegisterStylesheet(key, url).

Hi.

I'm using the import-Statement for additional css-files. :)
@import url(blahblah.css);

- alex
# martijnb 4/24/2006 8:44 AM
crazy-weaselI'm using the import-Statement for additional css-files. :)
@import url(blahblah.css);

And that might even be a better solution :).