Click to See Complete Forum and Search --> : Image in DW question
HockeyJose
11-04-2005, 11:07 AM
I really feel like the biggest moron for having to ask this, but I am still in the ocward learning process with web design :confused: . I have been to plenty of websites where they have a picture lined up beside a text collum, when i try to do this it puts the pic under my text, or splits the text apart. Is there a way to do it, with out making a table or re-slicing my design? Also it seems alot of websites that have that also have "Function MM_nbGroup" in the source, does this have anything to do with it and if so, how do i go about doing that? Thanks in advance for anyone who can answer this for me...
kiwibrit
11-04-2005, 12:34 PM
You could set up a 2 column table, putting the text in - say - a left-hand cell, and the image in a right-hand cell. Or, better, set up a 2-column CSS layout. Do a search for how to do that.
JAPerson
11-04-2005, 01:39 PM
It is often difficult to figure out exactly what people are asking for. So forgive me if this is not what you wanted. I believe what it is you need is a bit of css coding. Put the following in between your <head> </head> tags.
<style type="text/css">
#imagehold {
width:40px; /*This is the width of your image*/
float:left;
}
</style>
Adjust the width parameter to match the width of the image you wish to use.
If you want the image on the right side, change the float parameter. You can also inset padding parameters if needed like so.
<style type="text/css">
#imagehold {
width:40px; /*This is the width of your image*/
padding-right:10px;
float:left;
}
</style>
Now place the next line right before the paragraph of where you want the image to be along side of.
<div id="imagehold"><img src="image.gif" class="floatLeft" border=0></div>
The <img scr=""> tag needs to point to your image of course. Change class="" tag if you do a right side float.
Again, I apologize if this is not what you were looking for. Perhaps a link to a page that does what you wish to do may help?
HockeyJose
11-04-2005, 01:53 PM
here is an example of what i am trying to do.
http://www.ohnward.net/WebDesing.htm
I want text collums, that i can have next to a picture. Like i said before, when i try, it just puts the pic in the same collum, and splits the text or puts it in under the text. I hope looking at this site will help clear up what i am trying to figure out. Thanks again for the help.