The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Help with highlighting text, Please help me, I am a beginner
birdwin
post Nov 13 2007, 12:14 PM
Post #1





Group: Members
Posts: 1
Joined: 13-November 07
Member No.: 4,304



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

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Nov 13 2007, 12:24 PM
Post #2


WDG Member
********

Group: Root Admin
Posts: 7,851
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



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.


--------------------
Darin McGrew
WDG Member since 1998
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 20th May 2013 - 10:16 AM