sly_foxx68 Posted October 23, 2005 Share Posted October 23, 2005 Hi again everyone! Quick question for you all please, atleast I hope it will be quick! What I would like to do is use an image in a style definition. I am going to be using this image many times through out my site and it would be great if I could make it part of a layer or div that I could call when needed. Thanks again everyone. Link to comment Share on other sites More sharing options...
actionsketch Posted October 23, 2005 Share Posted October 23, 2005 not really sure what you mean exactly... you can set images through styles with the background-image declairation or if you use the content declairation. I recommend you look these two up and see if they would work for you, if not then I don't think you can. Link to comment Share on other sites More sharing options...
F-Man Posted October 23, 2005 Share Posted October 23, 2005 There is a CSS3 feature for this, but it only works in Opera so far... So you could do like many others and just use it as a background-image. However this is not the prefered method, especilly if the image is a link to the home page, because you won't be able to set an alternate text to non-image clients. Link to comment Share on other sites More sharing options...
sly_foxx68 Posted October 23, 2005 Author Share Posted October 23, 2005 Hey everyone, sorry I have been posting CSS questions here! I feel like such a dope :-) CSS is the next level down. Thanks Again Brian Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now