Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 08-19-2002, 05:35 PM Images and Text
Christopher's Avatar
Iced Cap

Latest Blog Post:
Cross-domain AJAX with JSONP
Posts: 3,110
Location: Toronto, Ontario
Trades: 0
Ok, consider this ASCII art I have drawn, the * is an image, and the - is text.

Code:
***----------
***----------
***----------
---------------
See, the text is wrapped to the right of the image, if you were just to put the image (<img src=...) tag then the text, it would look something like this:

Code:
***
***
***----------
----------
----------
I have been experimenting and all I have found to achieve the effect of the first is to put style="float:left" in the img tag, but I'm not sure that it works in all browsers, so I was wondering if someone would try it out on a different browser other than IE6, or tell me a different way.

Thanks in advanced!
Christopher is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-19-2002, 06:49 PM
dk01's Avatar
Ultra Talker

Posts: 373
Location: Ames, IA
Trades: 0
I have been doing some things with float and clear and they worked moderately well in IE 5.
-dk
__________________
Did I help you? If so, be nice and throw me some
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
dk01 is offline
Reply With Quote
View Public Profile
 
Old 08-19-2002, 06:52 PM
Christopher's Avatar
Iced Cap

Latest Blog Post:
Cross-domain AJAX with JSONP
Posts: 3,110
Location: Toronto, Ontario
Trades: 0
Thanks dk01, have you tried it with Netscape, Mozilla or Opera?
__________________

Please login or register to view this content. Registration is FREE
- Latest Articles:
Please login or register to view this content. Registration is FREE
,
Please login or register to view this content. Registration is FREE

--
Please login or register to view this content. Registration is FREE

Christopher is offline
Reply With Quote
View Public Profile
 
Old 08-19-2002, 10:11 PM
Christopher's Avatar
Iced Cap

Latest Blog Post:
Cross-domain AJAX with JSONP
Posts: 3,110
Location: Toronto, Ontario
Trades: 0
How does PHP/Post Nuke do it when they make the text wrap around the topic icons?
__________________

Please login or register to view this content. Registration is FREE
- Latest Articles:
Please login or register to view this content. Registration is FREE
,
Please login or register to view this content. Registration is FREE

--
Please login or register to view this content. Registration is FREE

Christopher is offline
Reply With Quote
View Public Profile
 
Old 08-20-2002, 03:46 AM
dk01's Avatar
Ultra Talker

Posts: 373
Location: Ames, IA
Trades: 0
No I am going to try it today in NS6 and Opera.
I'll let you know my results.
-dk
__________________
Did I help you? If so, be nice and throw me some
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
dk01 is offline
Reply With Quote
View Public Profile
 
Old 08-20-2002, 12:22 PM
Zoram's Avatar
Skilled Talker

Posts: 91
Location: Utah
Trades: 0
well, the standard html practice is to align=left in the image tag and just put the image before the first line of text you want to wrap.

Other than that, i'm too new to css to know how to do it with that...
__________________
- Zoram


Please login or register to view this content. Registration is FREE
- Web Application Development
Zoram is offline
Reply With Quote
View Public Profile
 
Old 08-20-2002, 03:07 PM
AhmedF's Avatar
Left for Better Places

Posts: 258
Trades: 0
I cant remember it, but I THINK There was an IMG tag that let you align font to the top.

Or you could just use tables and vAlign in the TD tags.
AhmedF is offline
Reply With Quote
View Public Profile
 
Old 08-20-2002, 03:19 PM
Christopher's Avatar
Iced Cap

Latest Blog Post:
Cross-domain AJAX with JSONP
Posts: 3,110
Location: Toronto, Ontario
Trades: 0
Quote:
Originally posted by Zoram
well, the standard html practice is to align=left in the image tag and just put the image before the first line of text you want to wrap.
Ahh! Your right, never even thought of that! I haven't tried it yet, but my trusty ol' book says so also. Thanx, I'll let you know if it has the same effects of 'float.'
Christopher is offline
Reply With Quote
View Public Profile
 
Old 08-20-2002, 04:34 PM
dk01's Avatar
Ultra Talker

Posts: 373
Location: Ames, IA
Trades: 0
Tried float on NS6 and Opera. Got the same result for both but was different from my result with IE6. When I get my network between my comps setup i will post screenshots. I think i might find other ways to go about using float. Anyone have mozilla and could try it out? I wish this was working because I am trying to learn css layouts!!!
-dk
__________________
Did I help you? If so, be nice and throw me some
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
dk01 is offline
Reply With Quote
View Public Profile
 
Old 08-20-2002, 07:25 PM
Christopher's Avatar
Iced Cap

Latest Blog Post:
Cross-domain AJAX with JSONP
Posts: 3,110
Location: Toronto, Ontario
Trades: 0
Well, Zoram was right as you could have guessed

It works just as perfectly as float does on IE6. See? The first pic of the game box is where I used align="left".



In the site you see a review, its not mine, I put it there just to let some people review it while it has a full page of content
Christopher is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Images and Text
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30115 seconds with 12 queries