Old 04-12-2003, 10:10   #1 (permalink)
sleepingfish
css is for divs
 
sleepingfish's Avatar
 
Join Date: Feb 2003
Location: Norwich
Posts: 4,474
Text Wrapping with CSS

Waiting for guru....

I have a div area that acts as a "main content" area, it is scrollable when necessary, untill now it has had an image at the top followed by text.
However now I want to have an image on the left, with text to the right of the image and then below (wrapped with a space of about 10px) all in the scrollable area.
How can I achieve this with CSS?

(I'll may be able to upload an example but thing's are a bit complex from work)
  Reply With Quote
Old 04-12-2003, 10:17   #2 (permalink)
Stickman
Dr. Lucien Sanchez
 
Stickman's Avatar
 
Join Date: Mar 2003
Location: UK
Posts: 5,602
img {float: left; margin: 10px}

Should work.
  Reply With Quote
Old 04-12-2003, 10:30   #3 (permalink)
sleepingfish
css is for divs
 
sleepingfish's Avatar
 
Join Date: Feb 2003
Location: Norwich
Posts: 4,474
That easy!

It's been said before but I'll say it again, you are a guru.
  Reply With Quote
Old 04-12-2003, 10:46   #4 (permalink)
Mik
Award Winning™
 
Mik's Avatar
 
Join Date: Mar 2003
Posts: 14,832
big headed twit

edit the difference a vowel makes
  Reply With Quote
Old 04-12-2003, 10:50   #5 (permalink)
sleepingfish
css is for divs
 
sleepingfish's Avatar
 
Join Date: Feb 2003
Location: Norwich
Posts: 4,474
<style guru="Stickman">

twat {head: big}

</style>

I just know you're going to correct that.
  Reply With Quote
Old 04-12-2003, 10:56   #6 (permalink)
Stickman
Dr. Lucien Sanchez
 
Stickman's Avatar
 
Join Date: Mar 2003
Location: UK
Posts: 5,602
Shut it, Santa. Just use the pm button like everyone else.


Fish, it looks good but it won't validate.
  Reply With Quote
Old 04-12-2003, 11:06   #7 (permalink)
Mik
Award Winning™
 
Mik's Avatar
 
Join Date: Mar 2003
Posts: 14,832
how the funk did you know who was behind the mask
  Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive
vBulletin © 2000-2009 Jelsoft Enterprises Limited.
Search Engine Optimization by vBSEO 3.0.0 RC8