Kieran-R Posted December 10, 2010 Posted December 10, 2010 Hey Well Im trying to get a sort of "heading" I could use in the html of my templete. For example: 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 Quote
Djkanna Posted December 10, 2010 Posted December 10, 2010 <tr><td class="contenth">Blah</td></tr> Quote
Spudinski Posted December 11, 2010 Posted December 11, 2010 I normally use div or span for headings. Maybe you should learn about the selector signs in CSS first. Quote
KyleMassacre Posted March 14, 2013 Posted March 14, 2013 <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 Quote
Joel Posted March 14, 2013 Posted March 14, 2013 http://2.bp.blogspot.com/_bpMgKpXKabQ/TKMrEZGoOLI/AAAAAAAAARQ/JNp1BmVlEB4/s1600/Monkey-Mia-MJK-Australia.jpg Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.