Welcome visitor
* Login
* Register
It is currently September 20th, 2019, 5:15 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 3 posts ] 
Author Message
  text behind my image
PostPosted: May 16th, 2009, 8:12 pm 
User avatar

Posts: 44
hi, im using this code to position text and an image. with a few words on the text there is no problem.

but when the width of the text is bigger than the screen it wraps in a funny way and the problem is that when it wraps the next line goes behind the image. how can i have a looooong line that doesn wrap?

thanks.


Top
 Profile  
 
  Re: text behind my image
PostPosted: May 16th, 2009, 8:15 pm 
User avatar

Posts: 44
sorry, forgot the code
<div style="position: absolute; top: 80px; left: 10px; color: #fff">blablabla
blablablablablablablablablablablablablablablablablablablablablablablablablabla
blablablablablablablablablablablablablablablablablablablablablablablablablabla
blablablablablablablablablablablablablablablablablablablablablablablablablabla</div>
<div style="position: absolute; top: 100px; left: 10px"><img src="images.bmp" /></div>


Top
 Profile  
 
  Re: text behind my image
PostPosted: May 16th, 2009, 9:05 pm 
User avatar

Posts: 137
try putting all your text together, something like
<div>blablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablabla</div>

or use a fixed width.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron