473,503 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Vertical alignment of text inside a div?

Dear NG-Readers,

It's me again on my long road to perfection. I would like to center
the copy text between the two large arrows vertically when there is
not enough text to fill "copy"-div. It should then look like here:
http://tomasio.at/temp/Us_Templ_copy.jpg

In the moment I just managed with help from Neredbojias to achieve
this behaviour: http://tomasio.at/temp/Us_Templ_copy.html.
The regarding stylesheet resides here:
http://tomasio.at/temp/stylesheet3.css.

Can anybody give me a clue how to get the text vertically centered?
--
kind regards,
tomasio
"describing an issue reveals the way to solve it"
Jun 27 '06 #1
4 3498
On Tue, 27 Jun 2006 12:43:17 +0200, tomasio <da****@jan.et> wrote:
Dear NG-Readers,

It's me again on my long road to perfection. I would like to center
the copy text between the two large arrows vertically when there is
not enough text to fill "copy"-div. It should then look like here:
http://tomasio.at/temp/Us_Templ_copy.jpg

In the moment I just managed with help from Neredbojias to achieve
this behaviour: http://tomasio.at/temp/Us_Templ_copy.html.
The regarding stylesheet resides here:
http://tomasio.at/temp/stylesheet3.css.

Can anybody give me a clue how to get the text vertically centered?


Is there nobody here who can give me a hint? I put a more simplified
example online so you don't have to wade through too much code. Any
help will be appreciated.

Jun 28 '06 #2
tomasio <fr*********@bled.de> schrieb:
Is there nobody here who can give me a hint? I put a more simplified
example online so you don't have to wade through too much code. Any
help will be appreciated.


I forgot to post the URL: http://tomasio.at/temp/vertical_center.html
and the according stylesheet: http://tomasio.at/temp/stylesheet3.css
--
kind regards,
tomasio
"describing an issue reveals the way to solve it"
Jun 28 '06 #3
tomasio <da****@jan.et> wrote:
tomasio <fr*********@bled.de> schrieb:
Is there nobody here who can give me a hint? I put a more simplified
example online so you don't have to wade through too much code. Any
help will be appreciated.


I forgot to post the URL: http://tomasio.at/temp/vertical_center.html
and the according stylesheet: http://tomasio.at/temp/stylesheet3.css


http://www.student.oulu.fi/~laurirai/www/css/middle/

--
Spartanicus
Jun 28 '06 #4
tomasio schreef:
tomasio <fr*********@bled.de> schrieb:
Is there nobody here who can give me a hint? I put a more simplified
example online so you don't have to wade through too much code. Any
help will be appreciated.


I forgot to post the URL: http://tomasio.at/temp/vertical_center.html
and the according stylesheet: http://tomasio.at/temp/stylesheet3.css
--
kind regards,
tomasio
"describing an issue reveals the way to solve it"


http://www.jakpsatweb.cz/css/css-ver...-solution.html

Jun 29 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
66002
by: Markus Ernst | last post by:
Hi I have a strange problem with vertical-align. The case can be viewed at http://www.brainput.info/geschichte.html. HTML code: <div id="bild"><img src="geschichte.gif" width="274"...
1
7884
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...
2
19366
by: Kay | last post by:
Hello, I have a asp lable control, which I use to display text in, I would like to have the text display aligned in the center and vertical alignment left however when I add the following style...
4
41776
by: Gabriella | last post by:
hi, I am writing a simple bulleted list with ul/li, with my image as the list-style-image, and for some reason the image bullet on IE only (FF is fine) is vertically aligned to the top. Meaning,...
18
7874
by: ~john | last post by:
Sorry if this is a dumb question buy my CSS is pretty bad... but how do I get text to center vertically within a div tag? Here's my code below... the text is displaying on the far top-right. I...
11
19179
by: C.W.Holeman II | last post by:
I what to hide an input element and the following text. I have the selector for the input working and just need to grab the text following it. CSS: form{ display:table; text-align:center; }
4
3286
by: O11Y | last post by:
Hello, I've read numerous posts & guides on this subject but i'm still having problems. I'm writing some HTML for the company intranet and all our browsers are currently (you guessed it) IE6. ...
2
15535
by: esteuart | last post by:
I need to get the right combination for a div to clip any text inside and allow vertical alignment. I only have this problem in FireFox. I have 3 divs nested within each other. The outer div has...
8
3520
by: ayamopamo | last post by:
Hi- I am trying to center a web page. It seems like this should be very simple to do, but apparently it isn't my day. I have successfully centered the background by calling it in the css body tag:...
13
1662
by: Bill | last post by:
Hi How can I have IE7 act correctly on that ? The rules make the link text go down when hovered. It works in FF , I had to add a hard space right after the LI tag to have OP9 work but I can't...
0
7202
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
7084
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6991
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
7458
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5578
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
4672
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
3167
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
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
736
muto222
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.