Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > HTML, XHTML and CSS

Reply
 
LinkBack Thread Tools
Old May 13th, 2006, 06:25 AM   #1
New Member
SuperMember
 
bean_2k1's Avatar
 

Join Date: Oct 2005
Location: Walsall
Age: 24
Posts: 34
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 bean_2k1 is on a distinguished road
text position

im making a website for my clan and thought i would try making a website using CSS layout instead of tables. So far i done most of the website just playing with the layout at the moment but the problem im getting is with the box title where is says :: Navigation and :: testing how do i get these to display in the middle of the box not near the top like it is at the moment. i have tryed using padding-top:5px; in the css file but it moves the box below for some reason. here is the site

http://www.consoleplace.com/CP%20Clan/


thanks for anyfeedback, think its only something simple i need to add to the coding
bean_2k1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 13th, 2006, 10:41 AM   #2
WebForumz Member
 

Join Date: Mar 2006
Location: East Sussex, UK
Age: 22
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 darryladie is on a distinguished road
Re: text position

why not try changing the line-height?

That will have the same effect:

line-height: 1.2em;
darryladie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 13th, 2006, 05:58 PM   #3
Highly Reputable Member
 
benbacardi's Avatar
 

Join Date: Feb 2004
Location: United Kingdom
Age: 22
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 benbacardi will become famous soon enough
Re: text position

if you use "padding-top: 5px" take 5px off of the height of the box at the moment.

so if the box is 20 px high without padding, when you add 5px padding, change the height to 15px
benbacardi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
text , position


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
making text field text disapear Phixon JavaScript 4 February 2nd, 2008 03:49 AM
[SOLVED] Image with text -> text with background alexgeek HTML, XHTML and CSS 5 November 13th, 2007 07:25 PM
Text position inside DIV element. Monie HTML, XHTML and CSS 6 September 13th, 2007 09:14 AM
position of text within div tag Craigj1303 HTML, XHTML and CSS 4 April 24th, 2007 07:04 PM
Help with position tunafishy HTML, XHTML and CSS 1 July 25th, 2005 11:14 PM


Search Engine Optimization by vBSEO 3.2.0 RC8