Quackit Logo
HTML
CSS
Scripting
Database
Hosting
Design
XML

Print Version

Comment Box Borders

This page contains examples of comment boxes with borders. Feel free to copy and paste the code for your own use.

MySpace Users: If you need a comment box for your MySpace profile, use the MySpace comment box code.

Thin Border

In this example, the border is 1 pixel wide, solid, and a dark green color (hex color value: #6DB72C). Borders are created using the CSS border property.

Copy the following code:

Result:


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

Thick Border

In this example, I've made the border thicker (10 pixels wide).

Copy the following code:

Result:


Dotted Border

In this example, I've created a dotted border around the comment box. To do this, you simply change the value "solid" to "dotted".

Copy the following code:

Result:


Dashed Border

In this example, I've changed the border to "dashed".

Copy the following code:

Result:


Grooved Border

You can also give your border a "grooved" effect.

Copy the following code:

Result:


Dashed Border

In this example, I've changed the border to "dashed".

Copy the following code:

Result:


Double Borders

Copy the following code:

Result:


Ridged Border

Copy the following code:

Result:


Outset Border

Copy the following code:

Result:


Inset Border

Copy the following code:

Result:


Mixed Borders

This is where it can get really interesting. You can specify a different border for each side of your comment box. Try changing the values for some cool results!

Copy the following code:

Result:


More Comment Box Tricks!

You can also...

Enjoy this website?

  • Share
  • Add this page to your Favorites
  • Link to this page (copy/paste into your own website or blog):
  • Link to Quackit using one of these banner ads.
  • Help support Quackit by making a donation

Oh, and thank you for supporting Quackit!

© Copyright 2000 - 2010 Quackit.com