Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

HTML Question....

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
This topic is archived.
Home » Discuss » The DU Lounge Donate to DU
 
On Par Donating Member (912 posts) Send PM | Profile | Ignore Sat Sep-17-05 01:48 PM
Original message
HTML Question....
If you want to place a .jpg in among text and have the text wrap around the pic, say to the left of it, how would you accomplish that?
Printer Friendly | Permalink |  | Top
SoCalDem Donating Member (1000+ posts) Send PM | Profile | Ignore Sat Sep-17-05 01:53 PM
Response to Original message
1. There are some really interesting threads from a while back
Printer Friendly | Permalink |  | Top
 
aePrime Donating Member (676 posts) Send PM | Profile | Ignore Sat Sep-17-05 01:56 PM
Response to Original message
2. This uses CSS
But CSS is really the only way to go nowadays.

It's a great site.

http://css.maxdesign.com.au/floatutorial/
Printer Friendly | Permalink |  | Top
 
aePrime Donating Member (676 posts) Send PM | Profile | Ignore Sat Sep-17-05 01:59 PM
Response to Original message
3. I don't advocate putting formatting tags in HTML
But if you must, here's what you'd write:

<img src="image.jpg" align="left" />

align="left" will put the image on the left, the text on the right. There's also align="right". The align attribute is deprecated in favor of CSS's float property.
Printer Friendly | Permalink |  | Top
 
On Par Donating Member (912 posts) Send PM | Profile | Ignore Sat Sep-17-05 02:23 PM
Response to Reply #3
7. Thanks, That Worked Out Great !
When the photos are all up, I'll post it, Right now, the unique story of PA's Bob Casey and the "blue writst band are ready thanks to your help. At http://www.wcdcpa.net/ click on Casey's photo for the story.
Printer Friendly | Permalink |  | Top
 
mainegreen Donating Member (1000+ posts) Send PM | Profile | Ignore Sat Sep-17-05 02:13 PM
Response to Original message
4. use float in the style tag
of any element you wish to have text wrap around. For example to have text wrap around an image floating on the left do this:

<img src="yay.gif" style="float:left;">blah blah blah

All the text AFTER the image will float around it. Text before it may depending on how you deal with <DIV>s etc. To stop something from floating, like to keep the next text from floating, because say its a new paragraph or whatnot add the attribute clear:both. Like so

<img src="yay.gif" style="float:left;">blah blah blah
<p style="clear:both>This wont float</p>
Printer Friendly | Permalink |  | Top
 
AlCzervik Donating Member (1000+ posts) Send PM | Profile | Ignore Sat Sep-17-05 02:13 PM
Response to Original message
5. Some helpful DU'er gave me this link
i needed help with my blog and i use it all the time.

http://www.w3schools.com/html/html_examples.asp
Printer Friendly | Permalink |  | Top
 
OhioChick Donating Member (1000+ posts) Send PM | Profile | Ignore Sat Sep-17-05 02:23 PM
Response to Original message
6. look into using css2 styles...
position or float should give you what you need....

see: http://www.devguru.com/technologies/css2/home.asp
Printer Friendly | Permalink |  | Top
 
On Par Donating Member (912 posts) Send PM | Profile | Ignore Sat Sep-17-05 02:45 PM
Response to Reply #6
8. Thanks, You've All Been A Great Help...
...you can check it out at http://www.wcdcpa.net
Printer Friendly | Permalink |  | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Fri Apr 26th 2024, 03:13 PM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » The DU Lounge Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC