Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 03-03-2008, 02:58 PM custom border-styles
Junior Talker

Posts: 1
Trades: 0
Is there a way to use CSS to apply custom borders (e.g. a jpg image) to an HTML element? In other words can I have borders that are more graphically appealing then the standard ones, i.e. solid, double, groove, ridge, inset, outset, etc? What is the best way to do this? Thank you!
jeronimo is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-03-2008, 08:55 PM Re: custom border-styles
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Not with css alone. With css you're limited to the standard borders types.

You'd have to get more creative. Maybe use several images as backgrounds on different elements that ultimately gives the impression of being a border around the element. It can be tricky since you can only add one background image to each element. Depending on what you're trying to accomplish you might need to use a couple of standard image tags in combination with a background image or wrap several elements around the the one you want to have show a border.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to custom border-styles
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.27054 seconds with 12 queries