PDA

View Full Version : Widget Block Styling


seventhaxis
02-27-2014, 01:34 PM
I'm attempting to match the styling of my homepage's widgets when creating blocks on other pages, but I'm running into a little issue.

See www.parallaxgaming.com and on the right side you'll see an image about the Pro Shop Coming Soon -- that image is not inherently curved or shaped like that, but due to whatever elements, it's almost as if the image is being viewed through a window with curved corners.

I'd like to replicate that effect on other pages such as www.parallaxgaming.com/downloads.php with my HostGator advertisement. I tried applying the same CSS tags but had no luck.

Any thoughts on how I can achieve this?

NTT
02-28-2014, 05:14 AM
add this code before closing <img> tag
style="-webkit-border-radius: 5px;
border-radius: 5px;"
It look like this
<img src="/images/hostgator.jpg" alt="" title="" style="-webkit-border-radius: 5px; border-radius: 5px;">

seventhaxis
02-28-2014, 03:03 PM
That worked perfectly. Thank you NTT. Solid help.