Jump to content
MakeWebGames

CSS heading


Kieran-R

Recommended Posts

Hey

Well Im trying to get a sort of "heading" I could use in the html of my templete. For example:

css.png

 

Like a sub heading. To use this, ive been using the following CSS code:

.contenth { 	
background-color: #000000;
border: 1px solid #444;
padding: 1px;
color: #E9AB17;
font-weight: bold;
-moz-border-radius:5px;
font-size: 12px; }

 

And in the HTML:

<tr><td class="contenth">Bla Bla</tr></td>

 

But when this shows in the HTML, it just shows as text. Any ideas on to make this look like it is suppoed to?

Just to clarify, The css, and HTML I have posted is from a view source of a site I was on. It wont be used exactly like this on my site, Its just so I get the idea.

 

Im new to CSS, so please consider how noobish I may be at this programming language :(

 

Any help is GREATLY appreciated by the way!

- Kieran-R

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 year later...
  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...