Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How would I go about putting things in the center?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Web Development
View previous topic :: View next topic  
Author Message
C-Dizzle
Grandmaster Cheater
Reputation: 89

Joined: 16 Mar 2008
Posts: 623

PostPosted: Tue Sep 07, 2010 9:07 am    Post subject: How would I go about putting things in the center? Reply with quote

For example say I wanted to put a text field in the center of the page how would I do this? I know how to center text and make text fields but after experimenting a little I failed. (Eg google's search bar)
Back to top
View user's profile Send private message
Cheat Engine User
Something epic
Ban
Reputation: 60

Joined: 22 Jun 2007
Posts: 2071

PostPosted: Tue Sep 07, 2010 9:18 am    Post subject: Reply with quote

http://www.w3schools.com/CSS/pr_text_text-align.asp
http://www.w3schools.com/css/pr_pos_vertical-align.asp
Back to top
View user's profile Send private message
C-Dizzle
Grandmaster Cheater
Reputation: 89

Joined: 16 Mar 2008
Posts: 623

PostPosted: Tue Sep 07, 2010 10:24 am    Post subject: Reply with quote

Thank you!
Back to top
View user's profile Send private message
Up2Admin
I'm a spammer
Reputation: 126

Joined: 17 Oct 2007
Posts: 6546
Location: Texas

PostPosted: Tue Sep 07, 2010 5:56 pm    Post subject: Reply with quote

For aligning elements, the most effective way is:
Code:
margin:0 auto;

_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Web Development All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites