473,472 Members | 2,155 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 3057
> 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Harlan Messinger | last post by:
Is IE6 known to have a bug whereby a vertical table cell border (with border-collapse: collapse), instead of stopping at the bottom of a horizontal border, sticks up into it by one pixel? My other...
22
by: Mel | last post by:
i have a div with with 300 and height 100 i need to place a text centered withing this box, can someone please help ? thankx Mel
1
by: Kenneth | last post by:
Okay, I've been scouring Google for hours looking for a solution to this problem, but as of yet I can't find one. XHTML Transitional seems to specify that I can no longer set a table's height to...
1
by: malpani.abhijit | last post by:
Hi, I am having a ListView component in my WinForm, when i add some images into it, it gives me a vertical scroll bar. What i want is, the horizontal scrollbar instead of vertical. Is there any...
5
by: Markus Ernst | last post by:
Hello This is a test example: http://www.markusernst.ch/anthracite/ http://www.markusernst.ch/anthracite/living_divani.html After googling and experimenting for several hours, I ended up...
0
by: slakmagik | last post by:
Is there a way to declare horizontal positioning (without referring to or changing vertical) or vertical positioning (without referring to or changing horizontal) in a single declaration? ...
0
by: mjohnson0321 | last post by:
I am trying to incorporate a CSS drop-down menu into a site (suckerfish menu). The menu gets lost behind the content below it, but only on one of the drop downs (News). The error occurs on all of...
19
by: Jim | last post by:
Hi, I have two questions/problems pertaining to CSS horizontal dropdown menus and am hoping that someone here can help me out. (1) I'm having a problem centering the menu. I picked up the...
1
by: vingomail | last post by:
Hi friend I want the updatepanel progress bar to be displyed at absolute center of the page(Horizontal-vertcal centering). It should be done at unknown height and width. Also It should display...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.