NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: rjolda on November 20, 2024, 04:43:37 PM
-
Hi,
I am trying to apply red color to the h2 header - I tried in-line styling which did not work. I want the header h2 line to always be red at the top of the page.
Anyone done this and willing to share?
Thanks,
Ron
-
'<h2><span style="color: red;">This is a test Heading which needs to be red.</span></h2>'
If you are adding this to a NetWeb Form as the heading you need to check
Allow XHTML in Heading
-
HI Vinnie,
Thanks - I was missing the span ... /span part of it.
Got it working.
Ron
-
Of course, if you want ALL h2 elements in your app to be red it's easiest to put a line into your custom.css file
h2{color:red;}
Remember that it doesn't take a period or hash mark before the h2 designation.
-
THanks Jane,
I kept trying it with a .h2 and .<h2> , etc and could not get it to work in my custom css. In line worked once I added the span tag.
Thanks for the help on getting this in my custom css.
Ron