PDA

View Full Version : How do I create round borders for this script



lexxie
02-28-2009, 05:17 PM
1) Script Title:

Pausing up-down Scroller

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex2/crosstick.htm

3) Describe problem:

There is no problem. Dose anyone know how I can make the board/corners rounded?


Thanks

Lexxie

X96 Web Design
02-28-2009, 05:26 PM
If you're looking for round corners, you'll need to use a background image.

The GNU Image Manipulation Program (http://www.gimp.org) has a very handy "round corners" tool in it.

Hope that helps!

Snookerman
02-28-2009, 05:33 PM
You could use CSS3 border-radius (http://www.css3.info/preview/rounded-border/) for this:

#pscroller1{
width: 200px;
height: 100px;
border: 1px solid black;
padding: 5px;
background-color: lightyellow;
-moz-border-radius: 10px; //for Firefox
-webkit-border-radius: 10px; //for webkit browsers
border-radius: 10px; //for future compatibility with browsers supporting CSS3
}

Good luck!