Re: text overflows div container - it should wrap?
- From: dorayme <doraymeRidThis@xxxxxxxxxxxxxxx>
- Date: Fri, 02 Jan 2009 12:33:56 +1100
In article <cN6dnTaZ1tym_MDUnZ2dnUVZ_g2dnZ2d@xxxxxxxxxxxx>,
"krraleigh" <kraleigh@xxxxxxxxxxxxx> wrote:
I have two problems with my site.
the first is that for some reason the text in my body container flows right
out of the box.
I thought that text was supposed to stay inside the container and wrap...
What else can it do when you have what the browser thinks is a very very
long word. It respects you and knows you would be pretty angry with it
if it broke up a word. Imag
ine this! Put some realistic spaces in between your "xxxxx..."s
The second problem is that I have made the background-color of the main
container blue and this shows up in IE but for some reason it only takes in
the right nav column and not the rest of the containers
in firefox 3.0.
Add to your #mainContainer" the CSS of overflow:hidden;
Test this by putting in:
<div id="mainContainer" style="overflow:hidden;">
This is the site. http://www.testbeddesigns.com/patient/test.php
I have trimed it down so only needed content shows. I also stopped the W3C
to validate the document and all is good.
Look again about validation at
<http://validator.w3.org/>
I am seeing:
<div style:="" width:780px;="" align="center">
If you use CSS, use it and don't mess about with presentational stuff
like "width=...". Get all your inline styles out of your html if you can
and rely on your CSS ***.
Don't use stuff like this if you can help it, use margins:
<div class="shimMinHeight"> </div>
--
dorayme
.
- Follow-Ups:
- Re: text overflows div container - it should wrap?
- From: krraleigh
- Re: text overflows div container - it should wrap?
- References:
- text overflows div container - it should wrap?
- From: krraleigh
- text overflows div container - it should wrap?
- Prev by Date: text overflows div container - it should wrap?
- Next by Date: Re: DIV's rendering incorrectly in IE vs Firefox/Chrome
- Previous by thread: text overflows div container - it should wrap?
- Next by thread: Re: text overflows div container - it should wrap?
- Index(es):