Hi,
I am trying to achieve with CSS what I typically used to do in Dreamweaver with HTML: inserting an image (jpg and gif) and also image rollovers. Can you please post a external code css example of how I can insert an image in Div Layers that are created in Dreamweaver, but controlled with CSS.
The example basically should say where to call the file from, something like:
.div.image {url(images/logo.gif)}
and it should also say the positioning, where do I want the image to be positioned:
top: 0px;
left: 0px;
width: 33px;
height: 33px;
For the rollover images in addition to the url call and the positioning, I also want the following states:
.div.image:link
.div.image:active
.div.image:visited
.div.image:hover
If the link, active, visited and hover works with text, I’m guessing it ought to work with images too.
I don’t even know if the images should be in Div layers, but that’s what Dreamweaver gives me. If it’s possible I wouldn’t even put them in any layers and just have them floating and positioned with the top, left, width and height.
Thanks.
-jms