Jump to content
Sign in to follow this  
studentkrubb

Positioning transparent img (shadow along page-canvas)

Recommended Posts

studentkrubb

Hello, I've created a transparent picture using adobe fireworks, measured accordingly to shader the edges of my #page-canvas, making the look compatible for IE. However, I'm not sure how to add the img url and making it repeat itself alongside the canvas. Do anyone have a solution? Thanks!

Share this post


Link to post
Share on other sites
cmunns

what is the css you used? Add repeat-y to the background rule for the selector you used

Share this post


Link to post
Share on other sites
studentkrubb
body {
	  background: url("http://media.nysida.studentkrubb.se/2011/03/shadow.jpg");
	  background-repeat: repeat-y;
	  background-position: top-center;
	}

Is the ruling correct? It doesn't seem to be repeating itself. Live link: http://nysida.studentkrubb.se Thanks!

Share this post


Link to post
Share on other sites
studentkrubb

I'm guessing I have to add a variable of page-canvas or site? Don't know how to apply it though *unsure*

Share this post


Link to post
Share on other sites
kastelic

It almost seems as if its that facebook script that's messing it up because it has a body tag in it. I would validate your site and make sure everythings valid first, or try to specify the main body (like body.home )

Share this post


Link to post
Share on other sites
studentkrubb

Tried both solutions but they made no difference in this case. Any other thoughts? Thank you!

Share this post


Link to post
Share on other sites
catrina

Which area specifically do you want the background image to appear? Is it the area behind the layout content? Also, the code you posted above should've worked, but I think you just need to change the selector.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×