Scroll Box Borders

Here are examples of HTML scroll boxes with various types of borders. Borders are easy to do in HTML. You can copy/paste the code from any of these examples, then change the values to suit. The border code is relatively self-explanatory. In any case, here's more about CSS borders.

Thin Border

In this example, the border is 1 pixel wide, solid, and a bright green color (hex color value: #0ADA0A).

HTML Code:

Setting borders and colors in HTML is easy - if you know how.

Thick Border

In this example, the border is 9 pixels wide. It's still solid and the same color as the previous example.

HTML Code:

Dotted Border

To create a dotted border, you simply change the value 'solid' to 'dotted'.

HTML Code:

Dashed Border

To create a dashed border, you simply use the value 'dashed' (instead of 'solid' or 'dotted' as in our previous examples).

HTML Code:

Grooved Borders

HTML Code:

Double Borders

HTML Code:

Ridged Borders

HTML Code:

Outset Borders

HTML Code:

Inset Borders

HTML Code:

Mixed Borders

You can use different border styles for each side of your scroll box. Try experimenting to see what you can come up with!

HTML Code: