469,580 Members | 1,883 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,580 developers. It's quick & easy.

Horizontal & Vertical Centering

I *HAVE* Googled the hell out of it, but there's nothing I can
understand (in words of one syllable or less) that works for me.

If you go to http://www.journeys.ws/layout.html, on the
header/banner I'm trying to center the text vertically and
horizontally to the right of the image on the left. As you can
see, I've got the vertical part, I just can't get the horizontal
part to go along with it.

Any ideas?

Hat in hand, I beseech thee... ;-)

TIA

Neill

--
Wayfarer
Journeys: http://www.journeys.ws/contact.asp

There is a difference between knowing the path and walking the
path. - Morpheus
Jul 21 '05 #1
3 2887
> I *HAVE* Googled the hell out of it, but there's nothing I can
understand (in words of one syllable or less) that works for me.

If you go to http://www.journeys.ws/layout.html, on the
header/banner I'm trying to center the text vertically and
horizontally to the right of the image on the left. As you can
see, I've got the vertical part, I just can't get the horizontal
part to go along with it.

Any ideas?

Hat in hand, I beseech thee... ;-)

TIA

Neill


In your amm.css file, in the #outer properties add "margin: auto;" and
it will center that div in the remaining space to the right (in
Mozilla/Netscape). I'm not sure how to make it do so in Internet
Explorer, since nothing I try seems to work. Good luck getting IE to
display it right though :)

Jul 21 '05 #2
Wayfarer wrote:
Any ideas?

Hat in hand, I beseech thee... ;-)

TIA

Neill


http://www.quirksmode.org/css/centering.html
Jul 21 '05 #3
Thus spake Gordon McVey <fa**@dev.null>:
Wayfarer wrote:
Any ideas?

Hat in hand, I beseech thee... ;-)

TIA

Neill


http://www.quirksmode.org/css/centering.html


Thanks, but I'd seen that one. I don't want to h & v center a
fixed size block in the browser area. I want to h & v display
*any* text alongside of a floated image within a div.

Neill

--
Wayfarer
Journeys: http://www.journeys.ws/contact.asp

There is a difference between knowing the path and walking the
path. - Morpheus
Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Harlan Messinger | last post: by
22 posts views Thread by Mel | last post: by
1 post views Thread by Kenneth | last post: by
5 posts views Thread by Markus Ernst | last post: by
reply views Thread by slakmagik | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.