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.

CSS Forum


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



Reply
Text wrapping of image.
Old 01-30-2007, 07:52 PM Text wrapping of image.
Hamill's Avatar
Novice Talker

Posts: 13
Name: James
Trades: 0
Hi guys,

Just doing some work for college, and I have to make a fictional site, so ignore the content

The problem is the image named contentheader.gif, is in its right position, but what i want is the text to wrap around it. However as you can see from the page http://www.hamilldesigns.co.uk/jan/index.html instead of the text wrapping, it is just started beneath it.

The image is set to float: left; which is fine, and i did originally set the content to float: right; but that didn't seem to work either.

I've tried everything

If that isn't clear, i apologise, just tell me what you need me to explain further

Cheers.
Hamill is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-30-2007, 10:41 PM Re: Text wrapping of image.
spectrum3900's Avatar
Novice Talker

Posts: 8
Name: Jerome Heuze
Trades: 0
Hello,

I would try to put the text into a paragraph tag, try it.

Jerome
__________________
Jérôme Heuzé
[w]:
Please login or register to view this content. Registration is FREE

Co-Founder and Design Director of OpenBookTutorials.com
spectrum3900 is offline
Reply With Quote
View Public Profile
 
Old 01-30-2007, 11:23 PM Re: Text wrapping of image.
Tom_M's Avatar
Ultra Talker

Posts: 250
Name: Tom Maurer
Location: Pennslvania, USA
Trades: 0
There is a bunch of things wrong with your code and css. But to fix the problem enclose the #content rule in an ending bracket }. You left it out.
Tom_M is offline
Reply With Quote
View Public Profile
 
Old 01-31-2007, 10:20 AM Re: Text wrapping of image.
Hamill's Avatar
Novice Talker

Posts: 13
Name: James
Trades: 0
Ahh so i did Tom, cheers for that buddy.

I agree that my code is a tad messy and certainly not valid at the moment, but for the assignment i only have to show evidence of the site, which just means screenshots :P
Hamill is offline
Reply With Quote
View Public Profile
 
Old 01-31-2007, 04:05 PM Re: Text wrapping of image.
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
It's quite a mess in Firefox.
Floating the image will get your text to wrap. Just make sure you CLEAR the floats.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

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


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

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-31-2007, 05:07 PM Re: Text wrapping of image.
kate.SM's Avatar
Average Talker

Posts: 22
Location: England
Trades: 0
Hamill,

When your done creating - validate your markup here:

http://validator.w3.org/

Your CSS here:

http://jigsaw.w3.org/css-validator/

kate.SM is offline
Reply With Quote
View Public Profile Visit kate.SM's homepage!
 
Reply     « Reply to Text wrapping of image.
 

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.17982 seconds with 12 queries