Hi,
Can I use CSS in notes? How?
It`s easier for me than using only HTML.
Notes - CSS
Moderators: Public Relations Department, Players Department, Programming Department
-
Nyder
- Posts: 10
- Joined: Sun Jan 31, 2010 3:25 pm
- joo
- Posts: 5021
- Joined: Fri Jun 17, 2005 2:26 pm
- Location: London, UK
- abandoned
- Posts: 409
- Joined: Thu Oct 28, 2004 8:26 pm
- Location: austria...
Hi,
I managed to use css throug internal style definition (without an seperate *.css file, because I didn't want to link to an external server).
Should work like this:
Just write the style tag in your note and fill it with what normally would go into the css file.
I noticed some anormalies though. Boxing and aligning didn't work correctly (or at least didn't work as I've expected it^^). Global definitions sometimes have effects on the whole Cantr page, sometimes they don't. There might be some extra white spaces in your note where the style definition is written and some extra blank lines around paraghraphs which won't disappear when margin=padding=border is set to 0.
Well, I don't know much css, so maybe there is anyone who can give you better tips, but at least you can start playing around^^ Good luck
I managed to use css throug internal style definition (without an seperate *.css file, because I didn't want to link to an external server).
Should work like this:
Code: Select all
<style type="text/css">
p {
color: red;
}
a {
color: blue;
}
</style>Just write the style tag in your note and fill it with what normally would go into the css file.
I noticed some anormalies though. Boxing and aligning didn't work correctly (or at least didn't work as I've expected it^^). Global definitions sometimes have effects on the whole Cantr page, sometimes they don't. There might be some extra white spaces in your note where the style definition is written and some extra blank lines around paraghraphs which won't disappear when margin=padding=border is set to 0.
Well, I don't know much css, so maybe there is anyone who can give you better tips, but at least you can start playing around^^ Good luck
Strike of the One Million Fear-ridden Pandas (es gibt für alles den passenden Generator)
Who is online
Users browsing this forum: No registered users and 1 guest
