WordWrap on a css div?

This is a discussion on "WordWrap on a css div?" within the Web Page Design section. This forum, and the thread "WordWrap on a css div? are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Apr 4th, 2004, 12:11
New Member
Join Date: Apr 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
WordWrap on a css div?

Hi All,
I'm making a website and have divided it into sections by creating custom divs using ccs. Here's the code with in the css:

Code: Select all
#content
{
	position: absolute; top: 150px; left: 240px; width: 630px;
}
The trouble is whenever I put text between this tag on a page:

Code: Select all
<div id="content">


Text here</p>
</div>
It doesn't wordwrap and the text just goes straight off of the screen. Any ideas? Thanks.

  #2 (permalink)  
Old Apr 4th, 2004, 19:05
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Is the 630px really on a second line in your code?
Closed Thread

Tags
wordwrap, css, div

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 03:09.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43