PDA

View Full Version : Moving an image


hadders
11-15-2007, 08:43 AM
Hi
I am new to Dreamweaver.

I have an image in a frame. It is centred with a lot of with space at the top. I want to move the image so that it is at the top of the frame. I can't see any code that determines the position of the image. I see code that governs its size.

Any clues please?

Thanks

d a v e
11-15-2007, 09:10 AM
would you like to share a url or simply guess?!

edbr
11-15-2007, 09:13 AM
do you mean frame or matbe table or division? i ask because frames are not used too much anymore

hadders
11-15-2007, 04:40 PM
Hi folks and thanks for your quick responses.

Here is the url http://www.airconservicetips.com/

It is the image half-way down I want to move to the top of the area it is in. WHat is the correct term for that box?

tks

Cary
11-15-2007, 11:43 PM
WHat is the correct term for that box?


The two-column box is a table, and the left and right area are called cells.

Modify the code below by adding a "valign" attribute to the opening "td" tag.

So you start with this...

<td width="36%"><p><img src="images/ecover.jpg" height="231" width="260"></p>

...and after editing it you have this...

<td width="36%" valign="top"><p><img src="images/ecover.jpg" height="231" width="260"></p>

hadders
11-17-2007, 08:14 AM
Genius!

Thank you so much.

lizaro01
11-18-2007, 07:42 AM
Hi,

Can I know what is the thing that actually replace frame nowadays. I have not been using dreamweaver for quite some times.

Best Regards
lizaro01
--------------------------------------------------------------------------


do you mean frame or matbe table or division? i ask because frames are not used too much anymore

domedia
11-18-2007, 06:16 PM
lizaro, what where you using frames for previously, just the look?