473,799 Members | 2,711 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 Dienstleistunge n
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 Promotionverans taltung 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:absolu te;
width:250px;
height:200px;
top:400px;
left:200px;
background-color:red;
font-family:monospac e;
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 3058
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.infosystem s.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***@pearboug h.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 Dienstleistunge n
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 Promotionverans taltung 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:absolu te;
width:250px;
height:200px;
top:400px;
left:200px;
background-color:red;
font-family:monospac e;
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***@pearboug h.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.stylesh eets.
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
1761
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 some interactive remote debuggers (such ActiveState's) that try to read the contents of the variables in the namespace and graphically present them in tree form. I reported the crash on win32 platform. I am using python 2.3.4, apache 2.0.47,...
1
5476
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. sample query:
14
19186
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
1452
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; // assume on odd boundary 0xaa01 } mstr;
11
3786
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. How is this adjustment/alignment done? I goolged around alot and wans't able to find how is it done, all it said was what is byte alignment and byte padding.
6
4408
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. D:\C#Programs\ArrayAppCoder\Class1.cs(20): Compiler limit exceeded: Line cannot exceed 2046 characters
2
2552
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 omitted
3
2320
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 http://www.math.ufl.edu/~squash/course.calc3.html
6
2032
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 brief descriptive paragraph. The contradiction is that if I float the image to the left, the text in the paragraph is shifted right in its the paragraph box by the amount of the image width; if I put the text where I want it closer to the image...
0
9550
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10269
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10248
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9085
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7573
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5597
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4148
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 we have to send another system
2
3764
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.