
11-04-2009, 03:49 AM
|
 |
|
|
Join Date: Sep 2007
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by briansol
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]
|
Thank you Brian. I am so sick of seeing <center> tags in vb mods. Drives me insane.
|