How to manage length of dashes


Tags: css,styles

Problem :

How to manage length of dashes in CSS? I could have added border-width: 2px but this makes it thicker and bigger, not longer/wider.



Solution :

CSS border dash length is browser specific and uncontrollable (source). You can however |use border images| with the border-image option to give you full control of the border style. It is pretty cool.


    CSS Howto..

    external css loaded but not aplied to html - php codeigniter ssl - how to change css mimetype = text/html to text/css

    How to detect if html contains block level elements using jQuery?

    How do you set the scroll bar skin on a single List instance?

    How to tell google bot to skip part of HTML?

    How to dynamically add more width inside a div?

    How to access my .png from a folder using CSS?

    How can vertically center a chunk of line-wrapping text next to an image?

    How do i split user inputed text into individual characters?

    how to show ng-repeat horizontal?

    How to version files in the section?

    How to preserve styles of embedded widget?

    Getting an class to show when item is clicked

    How to prevent HTML code in a literal inside a DIV from affecting outer page styles

    In Windows8 Metro, how can I change the highlight color of the already selected item in a dropdown list

    css transform. How to get rotation degree value from “matrix( 0, 1, -1, 0, 0, 0”)?

    How can I better regulate BootStrap's width styling from scaling down elements at specific width sizes?

    How to correctly apply the .clearfix:after class to HTML?

    How can I make a div 100% of the browser window height, but with a top and bottom margin?

    How to upload image to an existing image src in angularjs, css

    How can I make all images of different height and width the same via CSS?

    How do I create page transitions for my website

    Show just the necessary div when user clicks on a targeted div

    How to indent text in a select drop down menu using CSS

    How to center my a div in a table using CSS?

    How to not send images to mobiles in a semantic manner

    How to css target “Tab” state of the input?

    HTML/JavaScript - How can I hide the links and cursor?

    How can I use ellipses in a fluid width table without making each column the same size?

    How can I make a similar shape to a parallelogram in css?

    How to give the background-image path in CSS?