hello,
i have created a div with a text inside it and i gave it a width.
when i put a long text line inside it without space, the text is sliding out of the div.
does anybody knows how do i prevent the text slide that it will brake the word when it gets to the edge of the div.
thx.
9 2757
Please provide your code or a link to a test site. Thanks,
{\_/}
(' . ')
(")[DEATH](")
(")(")
provide min-width instead of width.
min-width doesn't exist in IE though.... Thanks,
{\_/}
(' . ')
(")[DEATH](")
(")(")
ohh... I never knew that.
I hate IE.
I'm fairly certain that it's min-width that or it's min-height... or both. I'll check in a moment. Thanks,
{\_/}
(' . ')
(")[DEATH](")
(")(")
Found it:
Height does not work correctly in IE. IE treats height as 'min-height'. And, as you might expect, min-height doesn't work at all in IE.
Thanks,
{\_/}
(' . ')
(")[DEATH](")
(")(")
guy, thx for the comments,
an example code of what my problem is:
just copy and paste it. -
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-
<head>
-
<title>ten la ba rosh</title>
-
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
-
</head>
-
<body>
-
<h1>script.aculo.us test file</h1>
-
-
<div style="width: 100px; border: 1px solid; float: left;">
-
<div style="float: left; ">
-
glskd l;sjk fg sjdjs dkl; gj slkdgskldgs kldjf
-
fgkl;sjdf;gklsjdf;gjks d;fklgjsdlkf;gjsdkl;fgs
-
dfgsdklfgjlk;sgjskl;dgh jksl;dhfgjsldhfgjklshdfgjkshdfg\
-
sdfgsdhfgjkl;sdhfg;jsldhfgs
-
dfghsdkflghsdfjlghsdjlghuitghsdfhgsjlthgsuptghsdj;fghsjdfghsdufghs
-
fgshdlfghs;dfjgs
-
</div>
-
</div>
-
-
</body>
-
</html>
Oh... so you mean by including a div in another div of fixed width?
sorry for the long time...
yes i mean a div within a div, and when i enter a text without any space between the words.
i am not sure that it is possible, but maybe i am missing something, or there is a hack.
thx anyway for all the replys.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Ata |
last post by:
Hello,
I am trying to copy the contents of the output of SQL Reporting Services to
a PowerPoint slide. For this, I am using SQL Reporting Services to obtain an
IMAGE stream, which I paste to the...
|
by: WillRead |
last post by:
I have a VB.Net application and a PowerPoint presentation explaining how each
form in the application works, etc.. I would like to select and display the
slide appropriate for each form by pressing...
|
by: Michael Burtenshaw |
last post by:
I would like to make a slide show using random images. The problem is my
host is 250.com, and they don't support cgi-programs. Is there another
way to accomplish random images?
|
by: B Maxey |
last post by:
I am storing images in a database and need a way to browse those files. I
can load the files into an image list or whatever the control needs, but I
need a control.
It doesn't seem that any of...
|
by: Rudy |
last post by:
Hello All!
After working in the television industry, moving to a developing career has
been interesting to say the least. 3 years of developing with books, and the
help of you fine folks on this...
|
by: Johnny Holland |
last post by:
Hi,
I am working on a presentation tool (Powerpoint like) that allows the
user to display text over a picture background. One of the best ways
to make the text stand out would be to put a black...
|
by: Warren Post |
last post by:
At <http://snow.prohosting.com/srcopan/dry/test.es.html>, you will see
that the background image runs down the left margin. The right hand side
of it is faded, watermark style, but it is one single...
|
by: iam_clint |
last post by:
Heres some sample code I wrote up for you guys to use on making text effects
<script>
//TEXT EFFECTS CODE WRITTEN BY iam_clint!
window.onload = doEffects;
var speed = 15; //lower the number...
|
by: vineetbindal |
last post by:
Hi all,
We have a slide show in a page which shows slids rotating after every 8-10 seconds with some descriptions about them.
The problem is if the connection speed is slow then the page loads...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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...
|
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,...
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|
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...
|
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,...
| |