Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: CSS
I'm in the process of reorganizing my articles. Before I press the 'Publish' button, does anyone know if custom CSS is possible? In one article I want to highlight some in-paragraph text like the following:
 
<style type="text/css">
.VseCallout {
   text-transform:uppercase;
   font-weight:bold;
   font-size: 90%;
   }
</style>
 
In the submission wizard, placing that code at the top in HTML view has the desired effects in the non-HTML view, but a preview indicates the code has no effect, and shows up at the top of the article as plain text. Of course I can hard code each instance, but that is far from optimal.
 
Thanks,
David
Posted 9-Feb-13 12:47pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

We filter out a lot of HTML from the article. I don't think we allow <style> tags as this could cause the formatting of the entire page to be disrupted.</style>
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Thanks, Dennis. I'll finish them up the hard way then.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.1411022.1 | Last Updated 11 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100