- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘Other’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Is this possible? Specifically, I’d like to add an alternate stylesheet to a standalone HTML file.
You can have as many stylesheets as you want. If you want some styles only for one HTML file, add this in the head:
<style type="text/css">
/* all your styles go here */
</style>
If that’s not what you meant, please provide more details.
But how do I use multiple stylesheets in the head? Does each one go in separate <style>...</style>
, like this:
<head>
...
<style type="text/css" rel="stylesheet">
...
</style>
<style type="text/css" rel="alternate stylesheet" title="Dark">
...
</style>
</head>
Yup, you can do it like that.
Did you post any script tags, Zeke? Holler at a mod for deletion maybe.
I’m wondering what purpose multiple style sheets like this could serve…
I tested it – it’s the first lines with the links. Odd (but good to know).