How do you center your logo/header? My forum body is centered on my page (1024px wide), but my header image is off to the right.
Thanks guys.
<div align="center"></div>
or
<center></center>
(2011-12-20, 03:58 AM)Shannon Wrote: [ -> ]<div align="center"></div>
or
<center></center>
Wouldn't
<div style="text-align: center;"></div>
be more proper HTML?
Well he isn't aligning text.
text-align: center will align both images and text to the center.
It is considered better html to use the style attribute rather than align=center or using the depreciated <center> tag.
I don't think it would really matter what you use.
Possibly.
I am merely speaking as an HTML coder, and in turn, giving the proper, valid HTML code for the task.
Valid: Actually supporting the intended point or claim.
I think mine supports the question asked.
Valid HTML meaning properly following the set scheme of HTML.
The <center> tag and the align attribute are depreciated in HTML 4.01 and XHTML1.0, instead recommending the use of the style attribute or CSS.
ps: I'm sorry if I'm coming off as rude at all.
So where am I putting this? I know how to center a picture or div tag in Dreamweaver, but this is my forum header. Where can I insert this code to apply it to the forum header?
Thanks guy!