...

View Full Version : Breaking a large string into multiple lines



rakeshstar
04-05-2007, 09:49 PM
Hi All,

I am new to css. Can anybody help me out that how to break a string/text
into multiple lines while displaying. I need css code for this. Here i am giving one example.

<%String str = "css forum in coding forums kdsjfl sdlkfjalsdkfja lkdjfa jfj djf"%>
<html>
<table>
<tr>
<td>str<\td>
</tr>
<table>
<html>

This code displays the string in one line. But if I need to display it in multiple lines how to do it in css. Any help would be appreciated.

TIA
Rakesh

twodayslate
04-05-2007, 11:07 PM
<div style="width: 100px;">this is a long string of text this is a long string of text this is a long string of text this is a long string of text this is a long string of text this is a long string of text this is a long string of text this is a long string of text </div>This should show up in multiple lines.
Is that what you want?


Offtopic: My 100th post!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum