+ Reply to Thread
Results 1 to 10 of 19
Thread: Rounded image corners
-
04-02-2012 01:07 PM #1
Rounded image corners
It's in the documentation, but thought I would post it here as well because the ads really do look great with it.
Attached is an example. Basically, now that you have css control over the ads, you can simply paste the following into your stylesheet, or as an additional stylesheet. This removed the border and rounds the corners:
That's itPHP Code:div.prosperent-pa {
border: 0px !important;
}
/*
* round image corners
*/
div.prosperent-pa div.prosperent-pa-image {
-moz-border-radius: 10px !important;
border-radius: 10px !important;
}
div.prosperent-pa img.prosperent-pa-image {
-moz-border-radius: 8px !important;
border-radius: 8px !important;
}
-
04-02-2012 02:27 PM #2
If you have a light colored background, you can apply the rounded corners with the above code and also add the following:
You can of course adjust the thickness and color of the border as well.PHP Code:div.prosperent-pa div.prosperent-pa-image {
border: 2px solid #cccccc !important;
}
-
04-02-2012 03:52 PM #3Senior Member
- Join Date
- Apr 2011
- Posts
- 820
What if I had a green background with purple text?
-
04-02-2012 03:53 PM #4
-
04-03-2012 01:33 AM #5Junior Member
- Join Date
- Apr 2012
- Posts
- 7
Whoo, rounded corners! Now if you guys could provide shiny / glossy "buy" buttons then we would be fully into the web 2.0 era.
-
04-03-2012 01:41 PM #6
Guys, these really are amazing... drop in banners that automatically pick up the style of the page they're on... this makes is VERY easy to leverage banner positions on large networks of things like blogs and forums. Very nice
-
04-03-2012 01:49 PM #7
-
04-03-2012 02:45 PM #8
Um.. did something just change? Do banners expand now to fill their container? ... when I resize the window the banner refreshes itself ... awesome!
-
04-03-2012 02:52 PM #9
I was actually trying to set 100% in the JS code earlier today... I guess now that I know that the banner will reformat on resize, I could set the size to 100% in the CSS
-
04-03-2012 02:59 PM #10
nope, 100% in CSS doesn't do it... maybe if I did it in JS ...

Reply With Quote
