WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > WEB DESIGN > CSS > Image Overlay problems

Reply
  Thread Tools Display Modes
Old 19th February 12, 02:54 PM   #1
treckstar
WLC Member
 
Join Date: Feb 2012
Posts: 1
Default Image Overlay problems

Hey everyone,

Right now I have an image that is being displayed as a header for my site. It is being displayed using css.
Code:
#header-group {
  background: url(../images/header.png) no-repeat top center;
  width: 978px;
  height: 115px;
}
What I would like to do is place another image "png" overtop of this background - having this image pushed to the right 312px and from the top 45 px.

I have been playing around with this forever and cannot find the best way to use this image. Does anyone have insight for me?

Thank you.
treckstar is offline   Reply With Quote
Old 19th February 12, 08:06 PM   #2
chrishirst
Banned
 
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
Default Re: Image Overlay problems

That is EXACTLY what positioning is for

http://www.modtalk.co.uk/_site/code/...ning/relative/
chrishirst is offline   Reply With Quote
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:56 AM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyright© 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.