Image borders would be cool Image borders would be cool
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Image borders would be cool

Started by John, October 20, 2003, 05:47:49 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

John

Any ideas for custom thumb or image borders? eg. A pic frame, filmstrip or similar? I know a number of other gallerys out there atm allow this.

John

Rodinou

All can be done with CSS

For example in style.css    add ...


img.border {
padding:10px;
border:2px dotted #FFFFFF;
margin:1px;
}

Add in code

<img class=border>

And see result :)

Of course, you can add some backgrounds ...

img.border {
background-image:url(url-of-your-choice-of-the-pic.gif);
background-repeat: choose between auto/yes/no;
}

And a lot of possibility, like that ...