In your style sheet:
text-align:center
<div align="center"> blah blah blah </div>
Is one way. But why do you want to center? Perhaps you should use
.
Anonymous
thanks, the div align worked
do you have to define the div align in the CSS style sheet? I too have this problem and have tried the div align, but the validation still kicks it back. Yes, I do have validation issues in other areas, working on them .. but I have resorted to < center > for the TLB link on the side bar.
Thanks for explaining something probably very simple to you to a CSS idiot who has read on this until her eyes are bleeding and it’s not sinking in.
http://joscafe.com
In the css:
.center {
text-align:center;
}
In use:
<div class="center">This text will be centered</div>
You do no have to call it center – it’s what is in the brackets that matters.
thank you!!! 🙂 that makes better sense than anything I’ve read 🙂