The Sea King Posted November 6, 2007 Share Posted November 6, 2007 How do I place text in the middle of the page?like in this site: http://www.spriteart.com/ Link to comment Share on other sites More sharing options...
bdt1 Posted November 6, 2007 Share Posted November 6, 2007 How about putting everything in the page within some <div> tags and centering it.<div align="center"> How do I place text in the middle of the page?like in this site: http://www.spriteart.com/ Link to comment Share on other sites More sharing options...
Err Posted November 6, 2007 Share Posted November 6, 2007 <p style="text-align:center;">This is some centered text.</p> Link to comment Share on other sites More sharing options...
Synook Posted November 6, 2007 Share Posted November 6, 2007 a centered div <div style="width:500px; margin:auto; ">This is some centered text.</div> Link to comment Share on other sites More sharing options...
javaholic5 Posted November 18, 2007 Share Posted November 18, 2007 <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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.