473,513 Members | 3,895 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can I get the text to wrap in this code?

3 New Member
I have an image and text, and I need to wrap the text to the image, but everything I try puts the text through the image.

The code is:

Expand|Select|Wrap|Line Numbers
  1.  <div class="image_panel"><img src='images/191951_195678923805881_129928253714282_531690_3568902_o.jpg' alt='' width='250' height='225' style='float:absolute; margin:0px padding:3px;'/></div>
  2. <p>Rebounds Used Books &amp; Teacher Supply is located in the metropolitan St. Louis area. We carry all types of books including fiction, nonfiction, and children's books in both paperback and hardcover. Our specialty area involves books used for teaching and learning, and we also carry gently used classroom items of all types.</p>
  3. <p><br />
  4.   We take books and teaching aids in trade for credit toward in-store purchases. If you are in the St. Louis area, please come visit us in Chesterfield at the corner of Olive Blvd. and Wood Mill Rd. Please enjoy browsing our store, both online and off. We hope you find the materials you are looking for!</p>
  5. <p>&nbsp;</p>
  6. <p>Store Credit:</p>
  7. <p>    Paperbacks receive 25% of the list price</p>
  8. <p>Hardbacks receive 12.5% of the list price</p>
  9. <p>&nbsp;</p>
  10. <div class="cleaner_with_height">&nbsp;</div>
  11.     </div> <!-- end of content right -->
Mar 21 '11 #1
5 1843
drhowarddrfine
7,435 Recognized Expert Expert
Change the upper part to this:
Expand|Select|Wrap|Line Numbers
  1. <p><img src='images/191951_195678923805881_129928253714282_531690_3568902_o.jpg' alt='' width='250' height='225'                                         style='float:left; margin:0px padding:3px;'/>
  2.         Rebounds Used Books &amp; Teacher Supply is located in the metropolitan St. Louis area. We carry all types of books including fiction, nonfiction, and children's books in both paperback and hardcover. Our specialty area involves books used for teaching and learning, and we also carry gently used classroom items of all types.</p
Is that what you're trying to do?

And greetings from St. Charles.
Mar 22 '11 #2
Alexander Lade
3 New Member
Thanks for the answer. Actually, that doesn't work. The text still overlaps the image when I make that change.
Mar 23 '11 #3
Alexander Lade
3 New Member
Actually, you can look at the site yourself, if you'd like, and you can see exactly what is happening.. www.reboundsusedbooks.com/about
Mar 23 '11 #4
drhowarddrfine
7,435 Recognized Expert Expert
So they're down the street from me. ;)

I'm in my car on my iPad right now. I'll look at this later. It's easy enough to do.
Mar 23 '11 #5
drhowarddrfine
7,435 Recognized Expert Expert
The easiest thing you can do is just add a 'margin-left' to those <p> that are affected. It might make more sense to wrap all that in a <div> and assign ids to it so it's not affected by other elements.

To see what I mean, add 'margin-left' to the <p>.
Mar 23 '11 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
2345
by: rked | last post by:
I get nameSPAN1 is undefined when I place cursor in comments box.. <%@ LANGUAGE="VBScript" %> <% DIM ipAddress ipAddress=Request.Servervariables("REMOTE_HOST") %> <html> <head> <meta http-equiv="Content-Type" content="text/html;
3
3386
by: mike | last post by:
I have a script that is not rendering the textwrap in svg properly. //does not work ..... var svgLand = svgObj.getElementById("NarrDisplay"); mytextwrap= document.createElement("text:wrap"); mytextwrap.setAttribute("x","20"); mytextwrap.setAttribute("y","30"); mytextwrap.setAttribute("width","640");...
3
1348
by: Catalin Porancea | last post by:
Can anybody tell me what is wrong with this code? I would really appreciate some help here. The data grid has 4 columns (0,1,2,3), and 1 is not visible. Whenever I click Edit, I get this error: _____________________________ Specified argument was out of the range of valid values. Parameter name: index Description: An unhandled exception...
2
1348
by: Rui Macdonald | last post by:
What is wrong with this code to populate a DropDownList? Can somebody Help me? Tnx RMac ===================================================================================== WebForm.aspx.vb
2
1594
by: Rich | last post by:
I accidentally toggled some key combination in my code module which is causing the code to text wrap. I meant to toggle ctrl-F. Is there a way to untoggle the text wrapt (wrap text)? Thanks, Rich
2
9230
by: zahirbar | last post by:
Hi, I have an image with a basically a big round circle (a photo). How do i make the text wrap around it fully? I use dreamweaver. Thanks
1
14154
by: maya | last post by:
hi, I have to do a page where there's a paragraph with an img on top left and the text in paragr has to wrap around the image.. pls see screen-shot here... http://www.mayacove.com/css/ss_page.jpg the image itself will be inserted dynamically via a CMS.. but NOT the border around it.. there are no. of ways to do the border, of course...
1
3979
by: laura.paterson | last post by:
Hi, I'm new to html, and having difficulty getting my text to wrap around an image the way I'd like it to.. I have an image in the top left corner of a component, and if there is space, I'd like my text to start at the top right and wrap around the image. However, if there is a long word in my text (which is longer than the available...
2
4760
by: imzac | last post by:
So, when I constructed the site, it really didn't bother me of the wasted space in these pages. However, I realize the error of my ways and have tried to change make the right div allow text wrap. http://www.imzac.com/thequiks/07/dec/gift.php I've worked it over and over and can't get it to wrap. I'm missing something simple, I know. ...
1
5982
by: mcelrob5 | last post by:
I have an application that opens new windows and right now the windows re-size and have scroll bars to see all of the text. I was wondering if there is a way to make the text wrap or auto-format itself so that it doesn't require a horizontal scroll bar or need to re-size the window. Like how a Wikipedia page will reformat when you re-size the...
0
7270
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7397
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7125
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7543
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5703
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5102
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4757
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3239
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1612
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.