Help - Search - Members - Calendar
Full Version: Help with highlighting text
HTMLHelp Forums > Administrative > Feedback and Assistance
birdwin
I'm currently constructing my own site and I would like to know how to highlight my heading. Right now I am using this:
<SPAN style="background-color:#C0C0C0">
<font size="3" face="garamond"><b>About me.</b></font>
</span>

But I want my About Me heading to look more like this:
http://i93.photobucket.com/albums/l79/bird_win/help.jpg

As you can see, my current About Me does not stretch to the end of my page as I would like it to.
I would like to know how to make it appear like the About Me in the link I provided. Thanks. -Danielle

Darin McGrew
That isn't a heading. A heading would look like this:
CODE
<h2>About me.</h2>

To style the heading, use CSS. In a style sheet, it would look like this:
CODE
h2 {
  color: #000000;
  background: #C0C0C0;
  font-face: garamond, serif;
  font-weight: bold;
}

Or if you want to keep using inline style, you could use:
CODE
<h2 style="color: #000000; background: #C0C0C0; font-face: garamond, serif; font-weight: bold">About me.</h2>
But I recommend a separate style sheet.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.