HighDots Forums  

How to put text beside an image placeholder?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss How to put text beside an image placeholder? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
FL_Chong
 
Posts: n/a

Default How to put text beside an image placeholder? - 11-25-2004 , 07:44 PM






hi, I have a problem with inserting text beside an image placeholder. take
a look at this URL http://members.tripod.com/fooleong-chong/ and I want to
achieve this as shown in below URL
http://members.tripod.com/fooleong-chong/completed.html How to do it in Design
view?


Reply With Quote
  #2  
Old   
Nadia *TMM*
 
Posts: n/a

Default Re: How to put text beside an image placeholder? - 11-25-2004 , 07:51 PM






Copy and paste the following in the head of your document, somewhere before
the closing </head> tag

<style type="text/css">
<!--
..imgleft {
float: left;
margin-right: 5px;
}
-->
</style>

or to have the text on the other side:


<style type="text/css">
<!--
..imgright {
float: right;
margin-right: 5px;
}
-->
</style>


and then apply the class to your image.

--
Nadia
Team Macromedia Volunteer for Dreamweaver
--------------------------------------------
Free Templates | Free Nav Bar Sets
http://www.DreamweaverResources.com
Dropdown/Flyout Menu Designs | CSS Layouts
Ecommerce - YVStore | SEO Articles |Tutorials
---------------------------------------------
MM Dreamweaver Tutorials
http://macromedia.com/devnet/mx/dreamweaver/
---------------------------------------------
Email: nperre at gmail dot com
---------------------------------------------


"FL_Chong" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
hi, I have a problem with inserting text beside an image placeholder.
take
a look at this URL http://members.tripod.com/fooleong-chong/ and I want
to
achieve this as shown in below URL
http://members.tripod.com/fooleong-chong/completed.html How to do it in
Design
view?




Reply With Quote
  #3  
Old   
FL_Chong
 
Posts: n/a

Default Re: How to put text beside an image placeholder? - 11-25-2004 , 09:24 PM



thank you

so float is another way of doing it... hmm.. and I learned that in dreamweaver, I just use the rightclick on the image and goto alignment->left and voila the text align perfectly...



Reply With Quote
  #4  
Old   
.: Nadia :. *TMM*
 
Posts: n/a

Default Re: How to put text beside an image placeholder? - 11-26-2004 , 04:00 AM



Yes, you can use that too :-) but using css gives you more control over
the placement, you can give it some padding so that you have more or less on
one side of the graphic etc.,

--
Nadia

Team Macromedia Volunteer for Dreamweaver
--------------------------------------------
Free Templates | Free Nav Bar Sets
http://www.DreamweaverResources.com
Dropdown/Flyout Menu Designs | CSS Layouts
Ecommerce - YVStore | SEO Articles |Tutorials
---------------------------------------------
MM Dreamweaver Tutorials
http://macromedia.com/devnet/mx/dreamweaver/
---------------------------------------------
Email: nperre at gmail dot com
---------------------------------------------



"FL_Chong" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
thank you

so float is another way of doing it... hmm.. and I learned that in
dreamweaver, I just use the rightclick on the image and goto
alignment->left and voila the text align perfectly...





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.