hi,
I have a div tag. Its width is 200px,
now, what happens is that when the text size is large, then the div expands, even though the size is set to 200px, so i would like to know whether there is technique for forcing the text to wrap at the edge of the div.
thanks,
gomzi.
3 4013
Well, that shouldn't be happening and, as the stickies say, without the complete code or a link, we can't help you.
Well, that shouldn't be happening and, as the stickies say, without the complete code or a link, we can't help you.
Here's the code,
<div class="divborder">
<table width="200px">
<tr>
<td>
toshiba_samsung_sony_microsoft_google_oracle@T.C
</td>
</tr>
</table
</div>
I am quite certain that its because of the kind of text that i am trying to display in the div.
i.e. one with no spaces.
so is there any way to wrap the lines in case it tries to exceed the boundary ?
Search for this on this forum. 'word-wrap' is an IE-only property but, iirc, is part of CSS3 and supported by Firefox and others. But double check on that and let us know. We had a recent post about it.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: PJ |
last post by:
I have two img elements in a div tag, the first set up w/ float:left and the
second set up w/ float:right. When the browser's window width is less than
the total width of the two images second img...
|
by: DKode |
last post by:
Ok,
I signed up for a blogger.com account today and when I went to edit
the template design I noticed it is written in pure CSS. At the sight
of this I danced for joy, as I am currently writing...
|
by: Andrzej Kaczmarczyk |
last post by:
Hi
I am experiencing something weird. maybe you could help me.
I have two ineditable classes from outsource libraries: DataColumn and
GridColumn
I have built a wrapper class around...
|
by: jawolter |
last post by:
I have text that is too long to nicely fit on a given page, so I want
to add ellipses to the end that dynamicaly resize based on the person
resizing the page width. If you hover it would show the...
|
by: zeyais |
last post by:
Here is my HTML:
<style>
..leftcolumn{float:left;width:300px;border: 1px solid #ccc}
..rtcolumn{float:left;width:600px;border: 1px solid #ccc}
</style>
<body>
<div class="leftcolumn"...
|
by: Markus Ernst |
last post by:
Hi
Searching for a possibility to display some text with preserved white
space and line breaks, but with long lines being wrapped, I found this
CSS declaration, which I found helpful:
pre {...
|
by: mcwd |
last post by:
I'm trying to put a border around a link when the mouse rolls over it.
I've made an example below and left out the hover to keep it simple. In
IE the example below draws a box arround the image OK,...
|
by: Joe Reynolds |
last post by:
this is kinda off topic, but not totally.
i have an ASP page that pulls text from a database, stores it in a variable,
then uses <%= variable %to write the text inside an html table. the
problem...
|
by: dubing |
last post by:
Hi,
We have some html source like this:
<div class="survey">
<form action="students/cbe-graduate-students/survey.html"
method="post" id="frmPbSurvey">
<fieldset class="survey_item">...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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: 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: 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: 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,...
| |