Kristian_C Posted December 19, 2006 Share Posted December 19, 2006 I think i lookd over the whole css style page, but not totally shure.. but anyway i need to find out how i chould make css style with image borders insted of regular :)anyone knows how to do it?- Kris Link to comment Share on other sites More sharing options...
ste Posted December 19, 2006 Share Posted December 19, 2006 I dont think you can use images for borders but instead you can use a background image for a div. something like this:{background: #fff url(#.gif) top center; background-repeat: repeat-y;}example:http://ecomireland.dsvr.co.uk/clients/test/Kristian_C.htmlthe flaw with this method is altough the height can stretch to whatever you want the width has to be fixed to the width of the background hope this helps Link to comment Share on other sites More sharing options...
Kristian_C Posted December 19, 2006 Author Share Posted December 19, 2006 I dont think you can use images for borders but instead you can use a background image for a div. something like this:{background: #fff url(#.gif) top center; background-repeat: repeat-y;}example:http://ecomireland.dsvr.co.uk/clients/test/Kristian_C.htmlthe flaw with this method is altough the height can stretch to whatever you want the width has to be fixed to the width of the background hope this helpsThanks that should do it just fine :)Edit : hmm, have a little problem tho, need top/bottom style to... i guess that will be harder know how to do that? =)- Kris Link to comment Share on other sites More sharing options...
ste Posted December 19, 2006 Share Posted December 19, 2006 you could add a top & bottom div containing those images heres another example:http://ecomireland.dsvr.co.uk/clients/test/Kristian_C2.html (view source for the code)apperently image borders are included in CSS3 but it will be a good while before its a common browser featurehttp://www.w3.org/TR/2002/WD-css3-border-2...he-border-image Link to comment Share on other sites More sharing options...
Kristian_C Posted December 19, 2006 Author Share Posted December 19, 2006 you could add a top & bottom div containing those images heres another example:http://ecomireland.dsvr.co.uk/clients/test/Kristian_C2.html (view source for the code)apperently image borders are included in CSS3 but it will be a good while before its a common browser featurehttp://www.w3.org/TR/2002/WD-css3-border-2...he-border-image works fine Thanks again 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