spires Posted August 2, 2007 Share Posted August 2, 2007 Hi I'm trying to wrap text around an image. EXAMPLE: MY MAIN IMAGE this would be my wrapper text FOR THE WRAPPER this would be my wrapper text TEXT TO WRAP this would be my wrapper text AROUND. this would be my wrapper text this would be my wrapper text this would be my wrapper text For some reason it works when the image to the left, But when I want it in reverse it does not work. EXAMPLE 2 (this does not work) this would be my wrapper text MY MAIN IMAGE this would be my wrapper text FOR THE WRAPPER this would be my wrapper text TEXT TO WRAP this would be my wrapper text AROUND. this would be my wrapper text this would be my wrapper text this would be my wrapper text this would be my wrapper text HERE IS MY HTML: <div class="left1"> <span class="verdana_10"> When you call us after a few questions from one of our trained consultants we can save you between 30-60% immediately. So why wait? Pick up the phone and call us right now to start saving! <br> <br> Fact: The truth is that most UK companies are on call plans that just aren’t correctly tailored to fit their needs. And it’s usually through no fault of their own. Either they were originally miss-sold a generic low minute package or they have simply outgrown their current deal. <br> <br> Tailored Made Business Mobile Solutions: After a few quick questions from your Businessmobiles.com strategic consultant we will analyse your individual needs, weigh up your mobile use-age, factoring in future growth and then asses which of the countless mobile price plans and Business Solutions is actually the very best fit for you... <br><br> On average we can save you between 30-60% immediately. </span </div> <div class="right1"> <img src="page GFX/we'll save you money/main_img.jpg" border="0"/> </div> HERE IS MY CSS: div.left2 { color: #006; float: left; width: 323; } div.right2 { color: #600; } Any help would be great :-) Thanks Quote Link to comment https://forums.phpfreaks.com/topic/63021-word-wrap-help/ Share on other sites More sharing options...
moberemk Posted August 2, 2007 Share Posted August 2, 2007 Well, in your .right2, you don't say float: right;. Quote Link to comment https://forums.phpfreaks.com/topic/63021-word-wrap-help/#findComment-313941 Share on other sites More sharing options...
timmy2 Posted August 2, 2007 Share Posted August 2, 2007 In your css you said div.left2 { color: #006; float: left; width: 323; } div.right2 { color: #600; } but in your html you said <div class="left1">.........<div class="right1"> In your html you use 1 but in your css 2 Quote Link to comment https://forums.phpfreaks.com/topic/63021-word-wrap-help/#findComment-313968 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.