Quote:
Originally Posted by RTMdotORG
Edit H1 unlinked or linked templates to this...
Code:
<center>
<div class="h1tags"><h1 class="myh1"><font color="#FFA200">$foruminfo[title_clean]</font></h1>
<h2 class="myh2">$foruminfo[description]</h2></div>
</center>
<br />
|
I'd suggest no one use this code.
this is not valid xhtml.
center and font are deprecated tags. further, its not remotely semantic, and the use of class names is completely wrong.
try something like:
Code:
<div id="heading">
<h1>$foruminfo[title_clean]</h1>
<h2>$foruminfo[description]</h2>
</div>
along with
Code:
#heading { margin: 0 auto 0 auto; text-align: center; padding: 1em 0; }
#heading h1 { color: #345; font-size: 1.3em; }
#heading h2 { font-size: 1.1em; }
much cleaner, less C2C, VALID, semantic, etc etc
[/code]