Sorry, I am new to this. I have Dreamweaver 8. How do I put a picture on the right of a frame and have the text "Wrap around" it on the left?
Not sure what your whole page is like but you can float your image to the right and text will automatically wrap on the left.
Just add as following:
<img style="float:right"...>
To learn more you may refer to followiing link also:
http://codex.wordpress.org/Wrapping_Text_Around_Images
Regards,
vinay
You do this with CSS floats and margins like so:
http://alt-web.com/DEMOS/CSS2-Captions-on-floated-images.shtml
Please don't use Frames in the HTML sense. They're terrible to work with and frustrating for site visitors.
http://apptools.com/rants/framesevil.php
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com
Dreamweaver is a web authoring tool; not a drag & drop desktop publishing app. It does many time saving things for you to save you from hand coding but it's only as good as the skills you bring to the table. Working in code view is similar to checking under the hood of your car. You need to do it in order to keep everything running smoothly.
Start here:
HTML & CSS Tutorials - http://w3schools.com/
When you understand the basics, work your way through the following tutorials.
From Tables to CSS Web Design Part 1 -
http://www.adobe.com/devnet/dreamweaver/articles/table_to_css_pt1.html
From Tables to CSS Web Design Part 2 -
http://www.adobe.com/devnet/dreamweaver/articles/table_to_css_pt2.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com
Go up to Insert | Image, find your image and click OK. A dialog box will pop up asking your to put in your Alt Text, (A description of the image)do that as well.
Now switch to split view, click once on the image in design view, the code in code view will hightlight. Hit Control X to cut this code out, (thus deleting the image) and place your curser in the text close to where you want the image to be, hit control V to paste the image back in.
Your code will look like this
<img src="images/picturefilename.png" alt="The alt text you already added" />
NOw just like Vinay said, you will add style="float:right;" to the above code directly after the png", so it will look like this.
<img src="images/picturefilename.png" style="float:right;" alt="The alt text you already added" />
You may want to reposition (cut and paste same as above) once you see how it lays out.
Then pat yourself on the back, you just worked with HTML code.
Gary
Don't forget about float clearing. ![]()
CSS:
.clearing {/** to clear floats after they are not needed **/
clear:both;
height:1px;
width:100%;
}
HTML:
<br class="clearing" /> <!--apply to <br> <p> <hr> or <div> to clear floats -->
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com
You need to be in code view for the following:
In the head of your document just before the closing </head> tag. copy and paste the following style rules:
<style type="text/css">
/* floats an image right, so text wraps around it */
.imgright {
float: right;
padding: 2px;
margin-left: 10px;
}
/* floats an image left, so text wraps around it */
.imgleft {
float: left;
padding: 2px;
margin-right: 10px;
}
</style>
In Design View, select your image. Look at the tag selector above the Property Inspector and you'll see the <img> tag.
Right click on the tag and select "Class". You should see two classes. imgright and imgleft.
Select imgright. This floats the image to the right. If you want to have the image on the left, choose the .imgleft class.
The HTML will look like this when the class has been applied to the image.
<img src="79267-org.jpg" alt="" width="113" height="91" class="imgright" />
You can use this as many times as you like on a page because we are using a class rule not an ID (#) which can only be used once per page.
Example can be see here
Hey Nancy,
but you don't have to clear an image every time though.
I know, Nadia. Most times this is perfectly fine. But telling people about floats without showing them how to clear them is like handing someone a slice of bread and calling it a sandwich. Something's been left out.
To illustrate what clearing does, look at the following screen shots.
"Float right" text remains below "float left" image.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com
thank you very much this works grate just to try and help other out abit more add the link to ur pic and the size and ur url and where alt is put something that contains ur domain name its better in google for you
<img src="addthelinktourpichere" width="180" style="float:left" height="150" alt="Laptoprepaircourses" longdesc=" " />
I wanted to wrap text arond an FLV player. I floated the player left, and the text wrapped as hoped, except that I wanted it to wrap over the top too, with the player embedded in the text. But when I would move the player down, it left a blank zone over the top-- the text would not fall in over the top, leaving a nice big white area. Nothing semed to work-- tweaking posiitonong, margins, clearing floats, nothing. THen I remembered the advice here about inserting the image in the text close to where you want to position it. SO I went into Code View and put the cursor right in the middle of a paragraph, and pasted-in the FLV player. That worked!
So I thought I'd post this in case (1) it would help anyone else, or (2) what I did was completely wrong even tho it worked, and someone more knowledgeable than me can tell me how a real webmaster would do it!
(DW CS6)
North America
Europe, Middle East and Africa
Asia Pacific