Another noob problem with HTML:
I tried centering the Feature Box Title text with:
<h3><p style="text-align: center;">Travel</p></h3>
And broke a lot of things! What have I done horribly wrong?
Centering text on feature box titles.
Started by
robbin_g
, Jan 12 2010 04:15 PM
3 replies to this topic
#1
Posted 12 January 2010 - 04:15 PM
#2
Posted 12 January 2010 - 07:35 PM
Got a link to your page, with this change made? Would like to see the horribly wrong results.
You can try this: <p class="center">My wonderful text goes here</p>
#3
Posted 13 January 2010 - 01:23 AM
It had somehow broken my menu bar links...they were all in a pile.
Your code above: <h3><p class="center">Food</p></h3>
Moves the "border line" down, I would prefer that stay flush...
Thoughts? Thanks!
#4
Posted 13 January 2010 - 05:23 PM
Try <h3 class="center">Food</h3> instead. The p tag makes the text a block and adds the space underneath.










