Jump to content
xisto Community
Sign in to follow this  
jackkkk26

What Is Invalid In This Code ?, That Hinders Cross

Recommended Posts

What is invalid in this CSS that hinders it to show up the edge effect (ripped papper like on left & right side) in Mozilla FireFox Where as Internet Explorer shows it out perfectly....

Problematic URL: http://ajaysekher.net/

This is a CSS effect made by casecading a picture repeatedly in Y axis in the background of a column.... I am attaching the Screenshot of it showing the edges perfectly in IE also the CSS code used for that effect. Astonishingly the CSS and the XHTML code is said to be valid by W3.ORG..... Adding the validation result URLs too....

Can any one figure out the reason for cross browser incompatibility in this code....


CSS CODE:

.shadowleft {
background-attachment: fixed;
background-image: url('edge_left.gif');
background-repeat: repeat-y;
background-position: right top;
}
.shadowright {
background-attachment: fixed;
background-image: url('edge_right.gif');
background-repeat: repeat-y;
background-position: left top;
}

Share this post


Link to post
Share on other sites

Your url doesn't work. So I guess nobody can really see what the problem is. Besides, Firefox doesn't always display stuff properly even if you have "validated" code. It could be a bug.. One time I had a div and tried to change the height but no matter what number I put in there it didn't change. I eventually, just put one line in the html that just showed the div with a border and it still didn't work.

Share this post


Link to post
Share on other sites

background-image: url(edge_left.gif) fixed;I don't know but thats what I think it's probably wrong. Im no good at solving html/css problems unless it's mine ^^

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  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.