Jump to content

Border images/help?!


Kristian_C

Recommended Posts

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

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
Thanks :) 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

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

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

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
×
×
  • Create New...