This is a discussion on "Text position inside DIV element." within the Web Page Design section. This forum, and the thread "Text position inside DIV element. are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Text position inside DIV element.
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Text position inside DIV element.
I have a footer in my css page:
Maybe this illustrator will help me explain: ie7: ______________ This is my footer <-- The text is on top of the div element ______________ Firefox: ______________ This is my footer <-- The text is on the bottom of the div element How do I make so that the text is in the center of the div element something like this: ______________ This is my footer <-- The text is in the center of the div element ______________ Thank you.
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Last edited by Monie; Sep 11th, 2007 at 00:23. |
|
|
|
|||
|
Re: Text position inside DIV element.
Here's a link to center things vertically with css. http://murphy.cz/victoria-s-vertical-centering/
|
|
|||
|
Re: Text position inside DIV element.
Thanks Lchad for that links.
I solved my problem already. Now I can move on...
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: Text position inside DIV element.
Quote:
Well it was actually my <h3> problem. I put my <h3> inside the footer div. and I started to give padding, margin and bla..bla..bla.. to the div instead of the <h3> After playing around with the code I've come up with this code that looks perfect inside Firefox and IE7:
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: Formatting ASP results using Float and CSS
I will make it my habbit from now on
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
![]() |
| Tags |
| div |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| dynamic text field inside movieclip | shan | Flash & Multimedia Forum | 0 | May 1st, 2008 13:47 |
| position of text within div tag | Craigj1303 | Web Page Design | 4 | Apr 24th, 2007 23:04 |
| Picture wrap around text? (more info inside) | KOinMotion | Web Page Design | 1 | Nov 13th, 2006 09:59 |
| text position | bean_2k1 | Web Page Design | 2 | May 13th, 2006 21:58 |
| XHTML Block Element in an Inline Element | gohankid77 | Web Page Design | 6 | Jul 27th, 2004 10:15 |