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.
|
|
|
|
|
![]() |
||
text position
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
||||
|
||||
|
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 |
|
|
|
#2
|
|||
|
|||
|
Re: text position
why not try changing the line-height?
That will have the same effect: line-height: 1.2em; |
|
#3
|
||||
|
||||
|
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 |
![]() |
| Tags |
| text, position |
| Thread Tools | |
|
|
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 |