Slum Posted March 29, 2006 Share Posted March 29, 2006 Hey, im new to this CSS stuff, its a school project and we just started.And i do belive i can find answer to my question in here =)So, we are making a page useing css. But its a lot work to write everything in codes.So is it possible to use an img file as background? If so, how do you do it? And if there is a 'how to do' link allready feel free to add a link.-Thanks Link to comment Share on other sites More sharing options...
Slum Posted March 29, 2006 Author Share Posted March 29, 2006 http://www.w3schools.com/css/tryit.asp?fil...ackground-imageYes, i do feel stupid =) Link to comment Share on other sites More sharing options...
SillyBilly Posted March 31, 2006 Share Posted March 31, 2006 http://www.w3schools.com/css/tryit.asp?fil...ackground-imageYes, i do feel stupid =)<{POST_SNAPBACK}> I put this code in my CSSbackground-image: url("pictures/blackmarble3.gif");I made a small image using Paint Shop Pro and called it blackmarble3.gif. I then put the image in the pictures folder, which is uploaded to my site. So when the CSS is called from each page, the above code tiles the gif as a background. W3schools gives ways to put the background image on selected parts of the page - top, left side . . . 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