close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

CSS overlay graphics...how?

Thread began 12/03/2014 8:39 am by Nathon Jones Web Design | Last modified 7/08/2015 11:06 pm by Ray Borduin | 610 views | 2 replies |

Nathon Jones Web Design

CSS overlay graphics...how?

On this page - https://www.ledwarehouseuk.com - we have a list of thumbnail images each styled as follows:

<a href="LED-Lights-Bulbs.php?lbid=675" class="prodtmbpanel" title="4 Watt GU10 Wide Beam Angle (LWP0001)">
<div class="prodtmbpaneltop">
<img src="led-light-bulbs/tmb/LWP0001.jpg" width="160" height="160" alt="4 Watt GU10 Wide Beam Angle (LWP0002)" title="4 Watt GU10 Wide Beam Angle (LWP0002)" /><br>
<span class="h2style">4 Watt GU10 LED Bulb - Wide Beam Angle</span>
</div>
<div class="prodtmbpanelbtm">
<p><span class="homeprodprice">£5.30</span> inc. vat</p>
</div>
</a>



The CSS is:

.prodtmbpanel {float:left;width:173px;height:270px;border: 1px solid #CCCCCC;margin:2px 10px 8px 0;font: 16px "myriad-pro", Arial, Helvetica, sans-serif;text-decoration:none;border-radius: 6px;}
.prodtmbpanel:hover {border: 1px solid #FC9306;}

.prodtmbpaneltop {width:160px;height:230px;padding:0 5px 0 5px;}
.prodtmbpanelbtm {clear:both;width:100%;height:35px;background-color:#F0F0F0;padding:5px 0 0 0;font-size: 12px;text-align:left;border-radius: 6px;}



We'd like to create an overlay graphic, which is a transparent PNG, to highlight if a product is on offer (see attached image).
Is this possible using CSS?

Thank you
NJ

Sign in to reply to this post

Jason ByrnesWebAssist

A Google search for
css ovelay graphics

I Found this posting at stack overflow with a few examples and links to other articles that describe how to accomplish image overlays:
http://stackoverflow.com/questions/403478/how-to-overlay-images


This ink also looks promising:
http://tympanus.net/codrops/2013/11/07/css-overlay-techniques/


as does this one:
http://www.cssportal.com/blog/adding-image-overlay-css/

Sign in to reply to this post

anonymous

CSS Overlay

More CSS Overlay examples....

http://www.corelangs.com/css/box/overlay.html

Lee

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...