Previous Message
Next Message

Text wrapping

Sent by ZEFXIS - Nick Mavros on 23 February 2005 18:06


Hello.

I have the following HTML code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
 <title></title>
 <style type="text/css">
 /*<![CDATA[*/
 div {
  width: 40px;
  height:40px;
  padding: 4px;
  background: #CCFF66;
  border: 1px solid #7CB900;
 }
 /*]]>*/
 </style>
</head>

<body>
<div>1234567890</div>
</body>
</html>



What I want to achieve is make the text wrap inside the division and some of 
the numbers to appear in a second line.

Is it possible, if so, how? 


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: