808WARRIOR
New member
- Sep 9, 2009
- 3
- 0
- 1
...put text in the header? When working with Cascading Style Sheets (CSS), is it okay to put text in the header?
I'm not talking about
<header>
</header>
I'm talking about
#header
...
<div id="header">This is the header I'm talking about</div>
I put some text into the header and centered it. If I were to change my browsers dimensions, the text in the header would no longer be centered with the rest of the page.
#header
...
<div id="header">
<center>
Text I   Text II   Text III
</center>
</div>
I'm not talking about
<header>
</header>
I'm talking about
#header
...
<div id="header">This is the header I'm talking about</div>
I put some text into the header and centered it. If I were to change my browsers dimensions, the text in the header would no longer be centered with the rest of the page.
#header
...
<div id="header">
<center>
Text I   Text II   Text III
</center>
</div>