You are currently browsing the page Border style in the CSS category.

Border style

Copy and paste this in your CSS stylesheet or between the style tags, replace STYLE by the style you want... dotted appears like dashed in IE, though they aren't the same. (Use Firefox! ;])

img {
border: STYLE;
}

Of course, you can replace img by whatever you want.

1px dotted #000000

1px dashed #000000

1px solid #000000

3px double #000000

3px groove #000000

3px ridge #000000

1px inset #000000

1px outset #000000

If you want only a border at the bottom, use this:

a {
border-bottom: STYLE;
}

Print This Post Print This Post



Sponsors


Leave a Comment

Works? Doesn't work? Other tips? Please leave a comment! :)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

To post codes, please go to SimpleCode and transform your codes first, so that it will displayed properly. Indeed, < and > need to be converted to &lt; and &gt; :)


Close
E-mail It