I have a small problem. I want to make a basic page with an image in the upper right hand corner with the text wrapping around it. I cannot seem to figure this out. I am not a newbie to web design so I feel like a dunce..... :sad:

I have a small problem. I want to make a basic page with an image in the upper right hand corner with the text wrapping around it. I cannot seem to figure this out. I am not a newbie to web design so I feel like a dunce..... :sad:

You want the image to be a background image.

Now, learn HTML and CSS, or else you will be lost and confused for the rest of your web design spree.

I think what you are looking for is an "align=" inside your image tag. This can be done painlessly in dreamweaver. First add your image to the page and in the layout mode you should see it on the page. Next click on the image and in the properties pane at the bottom you should see a box that says align in the bottom right simly select your poison from there and it will align the image. you should now select code view and see that it added an align='''' property to the image tag.

commented: It solved the problem, simply and quickly. Thank you. +0

This doesn't seem to work for me. I have the same issue, and this solution leaves the image in line with text. I'd like the text to wrap around the image without creating a large gap between lines. This would be similar to the text wrapping in Microsoft Word.

The align= attribute is deprecated. Use the style float: right; in a stylesheet class used in the img tag or in a style= attribute in the image tag.

I have a small problem. I want to make a basic page with an image in the upper right hand corner with the text wrapping around it. I cannot seem to figure this out. I am not a newbie to web design so I feel like a dunce..... :sad:

I find an effective and easy way to text wrap is by using borderless tables. You can merge cells etc as appropriate. This views well in both firefox and explorer. Wish there was a wrap text button though!

Layout programs do not produce optimised code
they can do many things, but only the way they were programmed to do
often thimes the best result is to go into "code view" after the page layout is completed and fix it

<p><img src='thispic.jpg' alt='a picture' width='80' height='60' style='float:right; margin:5px padding:5px;'>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas enim turpis, consectetur sed hendrerit eu, fringilla iaculis ante.</P>

or if many images are to be the same appearance

<head>
<style type='text/css'>
<!--
.detail { float:right; margin:5px padding:5px; width:80px; height:60px; }
-->
</style></head><body>
<p><img src='thispic.jpg' alt='a picture' class='detail'>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas enim turpis, consectetur sed hendrerit eu, fringilla iaculis ante.</P>
<p><img src='thatpic.jpg' alt='another picture' class='detail'>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas enim turpis, consectetur sed hendrerit eu, fringilla iaculis ante.</P>

wrapping the image and text in a <div> or <p> performs a 'keep toghther' so that the text and image remain associated

This is a big help, thanks! I've been stuck on doing this for ages

here I found many having a great concept of dreamweaver.as am still a learner I need suggestions and guidance like this from time to time.I think it is here I can refer to

Thank you!!! Works beautifully.

Layout programs do not produce optimised code
they can do many things, but only the way they were programmed to do
often thimes the best result is to go into "code view" after the page layout is completed and fix it

<p><img src='thispic.jpg' alt='a picture' width='80' height='60' style='float:right; margin:5px padding:5px;'>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas enim turpis, consectetur sed hendrerit eu, fringilla iaculis ante.</P>

or if many images are to be the same appearance

<head>
<style type='text/css'>
<!--
.detail { float:right; margin:5px padding:5px; width:80px; height:60px; }
-->
</style></head><body>
<p><img src='thispic.jpg' alt='a picture' class='detail'>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas enim turpis, consectetur sed hendrerit eu, fringilla iaculis ante.</P>
<p><img src='thatpic.jpg' alt='another picture' class='detail'>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas enim turpis, consectetur sed hendrerit eu, fringilla iaculis ante.</P>

wrapping the image and text in a <div> or <p> performs a 'keep toghther' so that the text and image remain associated

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.