Styles in a post ? Yes, so long as you have defined the style in the css already.
To give an example, I have a class called “ipa” that sets a font for phonetic characters. When I use the international phonetic alphabet in a post, I type <span class="ipa">[...]</span>. Easy as pie.
In a similar vein I have .post in my CSS.
Okay. Thanks for the help.
So let’s say I have .highlight defined in my stylesheet… to use that in a post I simply add the tag
<span class=”highlight”>highlighted text</span>
and that will apply that style. Yes?
Great. Easy as pie.,
Cheers,
Jonathan
Yup. that’ll do the job 🙂
And to save any typing, you could make a quicktag for it ?
http://www.mfr.f2s.com/quicktags/
Hmm … and if I need other CSS file atach only in that post ?
I mean, for pages in WP 1.3(5) i need other CSS file or a link for it … ??
Like that:
<style type=”text/css”>
<!–
h1 {
border-bottom-width: 1px;
border-bottom-style: dotted;
border-bottom-color: #006600;
}
–>
</style>
Villas
I discover that ! .. just include a new CSS tag in CSS theme file.
the result: http://musica.educar.pro.br/WPR/index.php?page_id=3
Okay, but can you add just a style code within a post such as <a href="dummy.html" style="color:blue;border:solid 1px blue">fred</a>?
And is there any way to attach a style sheet to just one post. I have done a series of CSS experiments that I want to post out of fixed html and they have styles embedded and added in the header. Any way to make that work?
If I add all those experimental CSS codes…my style sheet would be a kilometer long. Any way to do that?