473,385 Members | 1,587 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Paragraph exceeding div boundary

hi!

there is something I dont quite understand. I have a paragraph within a
layer. It looks like this:

<div id="ueber_uns">
<p>
Einige Leute sind der Ansicht unersetzbar zu sein und alles alleine in
die Hand nehmen zu müssen... Wir teilen diese Ansicht.Von der Planung
und Vorbereitung bis hin zur Umsetzung und Koordination sportlicher
und kultureller Aktivitäten, sowie persönlicher Dienstleistungen
entsprechend individueller Bedürfnisse: up-2-d8 setzt Ihre Ideen und
Wünsche mit Fantasie und Kreativität vom Anfang bis zum Ende um. Sie
konzentrieren sich auf all die anderen wichtigen Aufgaben, die
ebenfalls erledigt werden wollen, während wir die Organisation ihrer
Präsentations- oder Promotionveranstaltung in die Hand nehmen. Von
der Technik und Auswahl der Musik bis hin zur Raumgestaltung und
Catering-Sevice, nichts bleibt dem Zufall überlassen. Alles wird
individuell auf den Kunden und den Anlass zugeschnitten, jeder Schritt
mit Ihnen abgestimmt. Sind Sie zufrieden, sind wir zufrieden. Für
Anregungen sind wir natürlich jeder Zeit offen. Springen Sie über
Ihren Schatten, lernen sie Aufgaben zu delegieren... am besten an uns!
</p>
</div>

this is its style:
#ueber_uns {
position:absolute;
width:250px;
height:200px;
top:400px;
left:200px;
background-color:red;
font-family:monospace;
font-size:12px;
z-index:4;
}

What bothers me, is why the text is exceeding the boundary of the div.
From the docs I read I thought it would be cut of at the border of the
div. What can I do against this?

Best regards,
Axel
Jul 23 '05 #1
3 3040
Axel Siebenwirth wrote:
#ueber_uns {
width:250px;
height:200px;
}

What bothers me, is why the text is exceeding the boundary of the div.
From the docs I read I thought it would be cut of at the border of the
div.


The default value of the overflow property is "visible". (BTW, this would
have been better addressed to comp.infosystems.www.authoring.stylesheets)

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 23 '05 #2
me
"Axel Siebenwirth" <se***@pearbough.net> wrote in message
news:pa****************************@pearbough.net. ..
hi!

there is something I dont quite understand. I have a paragraph within a
layer. It looks like this:

<div id="ueber_uns">
<p>
Einige Leute sind der Ansicht unersetzbar zu sein und alles alleine in
die Hand nehmen zu müssen... Wir teilen diese Ansicht.Von der Planung
und Vorbereitung bis hin zur Umsetzung und Koordination sportlicher
und kultureller Aktivitäten, sowie persönlicher Dienstleistungen
entsprechend individueller Bedürfnisse: up-2-d8 setzt Ihre Ideen und
Wünsche mit Fantasie und Kreativität vom Anfang bis zum Ende um. Sie
konzentrieren sich auf all die anderen wichtigen Aufgaben, die
ebenfalls erledigt werden wollen, während wir die Organisation ihrer
Präsentations- oder Promotionveranstaltung in die Hand nehmen. Von
der Technik und Auswahl der Musik bis hin zur Raumgestaltung und
Catering-Sevice, nichts bleibt dem Zufall überlassen. Alles wird
individuell auf den Kunden und den Anlass zugeschnitten, jeder Schritt
mit Ihnen abgestimmt. Sind Sie zufrieden, sind wir zufrieden. Für
Anregungen sind wir natürlich jeder Zeit offen. Springen Sie über
Ihren Schatten, lernen sie Aufgaben zu delegieren... am besten an uns!
</p>
</div>

this is its style:
#ueber_uns {
position:absolute;
width:250px;
height:200px;
top:400px;
left:200px;
background-color:red;
font-family:monospace;
font-size:12px;
z-index:4;
}

What bothers me, is why the text is exceeding the boundary of the div.
From the docs I read I thought it would be cut of at the border of the
div. What can I do against this?

Best regards,
Axel


The overflow attribute controls what happens to anything that exceeds the
size of the layer. Possible settings are: visible, hidden, scroll and auto.
Signed,
me
Jul 23 '05 #3
Axel Siebenwirth <se***@pearbough.net> wrote:
there is something I dont quite understand.
Neither do we, since you don't give enough information.
Please post the URL, after considering whether this would really
belong to c.i.w.a.stylesheets.
I have a paragraph within a layer.
Please don't use obscure and obsolete terms like "layer". You have a
<div>, which you position absolutely in CSS. And the <div> contains a
<p> element, that much we can see. But there must be something else.
this is its style:
It has more oddities than I bear to list down (absolute dimensions for
a text block, red background, monospace font, fixed font size, vomit).
But nothing in it seems to cause the phenomenon you describe:
What bothers me, is why the text is exceeding the boundary of the
div.


Unless you have done something to prevent it, the text is formatted to
fit within the available width. Are you perhaps using white-space: pre?
Then you would more or less get what you ask for, except that on
overflow, some browsers make the content overflow (the correct behavior
by CSS specs) while IE widens the box (extending the background too).

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 23 '05 #4

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

Similar topics

1
by: Daniele Varrazzo | last post by:
Hi everybody, i'm experiencing crashing of the apache process when a mod_python handler access the properties "boundary" and "allowed_xmethods" of the request argument. This prevents the use of...
1
by: T.S.Negi | last post by:
Hi, A query is exceeding the length of varchar and nvarchar variable. Because I'm picking the data from each record from table and giving it to the query. suggest me some way to do it. ...
14
by: Singleton | last post by:
Can some one guide me what is word boundary? google is no good for me for this thanks in advance
1
by: Devrobcom | last post by:
Hi I have read somwhere that this problem is handled by the Intel cpu's (firmware), but what will happen on other types of cpu's. struct { char aa; // even boundary 0xaa00 char bb; ...
11
by: Taran | last post by:
Hi all, I was wondering how does address alignment to x byte boundary is done. For example, if I say "adjust the requested size to be on a 4-byte boundary" or for that matter 8 byte boundary....
6
by: Travis | last post by:
I am new to C# but cannot find how to avoid exceeding thje line length for coding when using a really really long array. I get this error message and dont know how to break up long lines of code....
2
by: kgeorge2 | last post by:
A library which i use, has an array class class LibArray { public: LibArray():_array(NULL),_len(0); LibArray(int n, float val):_array( new float),_len(n){} /** more complete definition...
3
by: gentsquash | last post by:
I'm trying to display a paragraph that has a centered phrase, such as this one, in the middle of the paragraph. An example is the section "End of semester project" on my course-page ...
6
by: Haines Brown | last post by:
I'm trying to resolve a contradictory situation in which I have rows going down a page, and each consists of two elements: to the left is a thumbnail image that is a hot link; to its right is a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
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...

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.