text position

This is a discussion on "text position" within the Web Page Design section. This forum, and the thread "text position are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 13th, 2006, 10:25
bean_2k1's Avatar
SuperMember

SuperMember
Join Date: Oct 2005
Location: Walsall
Age: 23
Posts: 32
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via Skype™ to bean_2k1
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
Reply With Quote

  #2 (permalink)  
Old May 13th, 2006, 14:41
Up'n'Coming Member
Join Date: Mar 2006
Location: East Sussex, UK
Age: 20
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Re: text position

why not try changing the line-height?

That will have the same effect:

line-height: 1.2em;
Reply With Quote
  #3 (permalink)  
Old May 13th, 2006, 21:58
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbacardi Send a message via Skype™ to benbacardi
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
Reply With Quote
Reply

Tags
text, position

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 Forum 4 Feb 2nd, 2008 07:49
[SOLVED] Image with text -> text with background alexgeek Web Page Design 5 Nov 13th, 2007 23:25
Text position inside DIV element. Monie Web Page Design 6 Sep 13th, 2007 13:14
position of text within div tag Craigj1303 Web Page Design 4 Apr 24th, 2007 23:04
Help with position tunafishy Web Page Design 1 Jul 26th, 2005 03:14


All times are GMT. The time now is 22:01.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43