N
Noozer
I've been asked to modify the output of one of our pages. (partial HTML and
CSS below)...
The page displays a number of groups of categories. In these categories
there are a number of checkboxes with descriptions to the right. Right now,
these descriptions stay on one line. We need to use some longer descriptions
and would like the description to wrap if it doesn't fit the width of our
DIV. I cannot see any way to do this. IE just makes the DIV wider to
accomodate the text.
Should IE be wrapping and it's just broken, or am I misunderstanding block
elements? Is there a way to get the wrapping to occur?
CSS...
..category{
clear: none;
background-color: #FFFFFF;
margin: 0;
padding: .3em;
float: left;
width: 10.5em;
}
..IssueItem {
display: block;
clear:none;
padding: 0;
margin:0;
}
CSS below)...
The page displays a number of groups of categories. In these categories
there are a number of checkboxes with descriptions to the right. Right now,
these descriptions stay on one line. We need to use some longer descriptions
and would like the description to wrap if it doesn't fit the width of our
DIV. I cannot see any way to do this. IE just makes the DIV wider to
accomodate the text.
Should IE be wrapping and it's just broken, or am I misunderstanding block
elements? Is there a way to get the wrapping to occur?
Issue 1</span>
Another issue, number 2</span>
Issue 3</span>
This is issue number 4</span>
</div>Issue 5</span>
CSS...
..category{
clear: none;
background-color: #FFFFFF;
margin: 0;
padding: .3em;
float: left;
width: 10.5em;
}
..IssueItem {
display: block;
clear:none;
padding: 0;
margin:0;
}