Jump to content
Sign in to follow this  
Kieran-R

CSS heading

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

Share this post


Link to post
Share on other sites
<h1>This is a heading</h1>

<h2>This is a heading</h2>

<h3>This is a heading</h3>

Wow, this makes no sense. I believe the op about 2 years ago was talking about setting up a header image using CSS classes and ids not using <h> tags lol

Share this post


Link to post
Share on other sites

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.

Sign in to follow this  

×
×
  • Create New...