HITMAN 17 Posted August 2, 2010 Share Posted August 2, 2010 I am trying to make it so the text goes in the cener like the users name as at the moment its going to the left please can someone tell me how to do this thanks Quote Link to comment Share on other sites More sharing options...
DELETE-ME-NOW- Posted August 2, 2010 Share Posted August 2, 2010 goto your header.php file, or your CSS file. You can change it from there Quote Link to comment Share on other sites More sharing options...
Paddy Posted August 2, 2010 Share Posted August 2, 2010 <div style=text-align:center;>text</div> Quote Link to comment Share on other sites More sharing options...
Dayo Posted August 2, 2010 Share Posted August 2, 2010 or use <div align="center"></div> it will center the tables mccodes uses aswell (not only the text outside/inside the table) Quote Link to comment Share on other sites More sharing options...
Danny696 Posted August 2, 2010 Share Posted August 2, 2010 use <div style="font-align: center;">blahh</div> Quote Link to comment Share on other sites More sharing options...
Dayo Posted August 3, 2010 Share Posted August 3, 2010 woops my bad just saw the title yea text-align:center would be what you want then you may have to define something like table { text-align:left; } - probley wont work, just got up for work :sleeping: Quote Link to comment Share on other sites More sharing options...
Djkanna Posted August 3, 2010 Share Posted August 3, 2010 table { text-align: center; } will center text within the table I think :/ XD table { width: 80%; margin: 0 auto; } Should center the table. Quote Link to comment Share on other sites More sharing options...
Danny696 Posted August 3, 2010 Share Posted August 3, 2010 They said not in a table :/ Quote Link to comment Share on other sites More sharing options...
Equinox Posted August 8, 2010 Share Posted August 8, 2010 To center the table you could do: <table width = "100%" class = "table" align = "center"> or to center the text inside the table <td align = "center">Text</td> Or just center the text <div style = "text-align : center;">Text</div> Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted August 8, 2010 Share Posted August 8, 2010 <table width = "100%" class = "table" align = "center"> would be something like what i'd use. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.