Click to See Complete Forum and Search --> : CSS images
denise1
05-02-2005, 10:03 PM
:rolleyes:
Hello Everyone,
How do I call my images in css? Is this correct? src="../moneymagnet/.gif"
If not what should it be?
Thank you for your help!
grailquester5
05-02-2005, 10:05 PM
#div {
background: url(path/to/image.jpg) repeat;
}
denise1
05-03-2005, 12:24 PM
will this work for a logo?
denise1
05-03-2005, 12:52 PM
My code below. Thanks for your help!
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body>
<title>Untitled</title>
<link rel="STYLESHEET" type="text/css" href=".css">
<!-- Begin top graphical header -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td><img src=".gif" width="1" height="50" alt="">
</td>
</tr>
<tr><td bgcolor="blue" wrap=""><img src="logo.jpeg" width="180" height="75" alt=""></td>
</tr>
</tbody>
</table>
denise1
05-03-2005, 02:41 PM
how do I get my logo to show up on the site? Thanks
grailquester5
05-03-2005, 03:03 PM
Where is your logo located? When using the ' src="" ' tag you have to specify the path to the resource. If the image is in the same directory, then it should be showing up. If it is in a subfolder like "images" then your 'src' tag has to reflect that, like so:
<img src="images/logo.jpeg" width="180" height="75" alt="">
denise1
05-03-2005, 05:33 PM
Thanks!