开发者

use custom border

is there any way to use custom border by css or can make by JavaScript or jquery.

i want to use a different style of border. like we开发者_运维百科 use

border-style:dashed;


with CSS3 you can use border-image, which is what you are looking for. for more information click here - but note, that this is only supported by very few good browsers (firefox, safari - maybe opera - but no IE (until some day IE9 comes...)).

EDIT:

if you could give some more information how the border should look like, we could try to do some cross-browser-solution - but the best way is to use border-image... and some not-too-ugly-standard-border-fallback for that dumb piece of software called "IE".


CSS3 can do this, but IE won't support it until IE9.

Check out this link: CSS3 border images.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜