This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > August 2005 > confused with images
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
confused with images
|
|
| hartk10 2005-08-13, 11:14 pm |
| I'm confused. I'm trying to get to grips with css and at present I'm
experimenting with images.
Using tables I find that the following code will place an image on my screen .
However when I try to do the same using css all that happens is that a blank
box appears on the screen. I've used the following css code.
If, however, I type the image style out and then use Dreamweaver to place the
image in 'img src'. it produces the following code and produces the desired
picture, but there must be something wrong the code is way to big.
As it is only a few images I'm concerned with I'm using an internal
stylesheet. Images are placed in an image folder
Many thanks
Kevin
<td><img src="images/abc.gif" width="75" height="50"> </td>
<IMG STYLE="position:absolute; TOP:135px; LEFT:170px; WIDTH:75px; HEIGHT:50px"
<img src="images/abc.gif">
<IMG STYLE="position:absolute; TOP:135px; LEFT:170px; WIDTH:50px; HEIGHT:50px"
<img
src="file:///C|/Documents%20and%20Settings/Kevin/My%20Documents/abc04/images/abc
..gif">
| |
| Gary White 2005-08-13, 11:14 pm |
| On Sat, 13 Aug 2005 23:03:59 +0000 (UTC), "hartk10"
<webforumsuser@macromedia.com> wrote:
> <IMG STYLE="position:absolute; TOP:135px; LEFT:170px; WIDTH:75px; HEIGHT:50px"
><img src="images/abc.gif">
The style attribute is used to style the <img> tag that loads the image.
You just use ONE <img> tag:
<img src="images/abc.gif" style="position:absolute; top:135px;
left:170px; width:75px; height:50px">
Gary
| |
| hartk10 2005-08-14, 7:14 am |
| Many thanks, problem solved
Kevin
| |
| Gary White 2005-08-14, 7:14 am |
| On Sun, 14 Aug 2005 08:54:45 +0000 (UTC), "hartk10"
<webforumsuser@macromedia.com> wrote:
>Many thanks, problem solved
You're welcome.
Gary
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|