Jump to content

I need to place something in the Middle


The Sea King

Recommended Posts

a centered div

<div style="width:500px; margin:auto; ">This is some centered text.</div>

Link to comment
Share on other sites

  • 2 weeks later...

<p align="center"> Text goes here</p>The only problem is that this does not only put this text in the middle, but it also puts it as a new paragraph.if you wanted in the same line of a given content, then you would do as mentioned earlier in this thread and say: <div align="center">enter tex here</div>hope this helps.Regards,Javaholic5

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...