Saturday, October 11, 2008

Make borders around pictures

Instead of having to thumbnail pictures manually and putting a niceframe using Photoshop or Fireworks, the easiest way is actually CSS. Here it is:

<style type="text/css">
.float img {

background: #fff;
border: solid 1px #ccc;
padding: 4px;
}

</style>

Here is a very good tutorial on creating frames:
http://www.csstemplatesweb.com/2008/05/08/web-20-design-generators/

No comments: