Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 03-24-2009, 05:16 PM More CSS
Experienced Talker

Posts: 39
Name: Scott Bronson
Trades: 0
In CSS is there any way to put an image on top of another image? Like If I have a 1202 by 365px box, and I need to put an image and text on there. The only way I can think to do it is to do it in FW. Any one have any other ideals?
sbronson is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-24-2009, 05:42 PM Re: More CSS
racer x's Avatar
Ultra Talker

Posts: 457
Name: Randy
Location: Northern Wisconsin
Trades: 0
That's a wide box?

You can layer things in CSS by using a z-index. Here's some info:
http://www.w3schools.com/Css/pr_pos_z-index.asp
You'll have to position those things absolutely over existing content.
racer x is offline
Reply With Quote
View Public Profile Visit racer x's homepage!
 
Old 03-25-2009, 10:43 AM Re: More CSS
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Be careful with a lot of positioning and z-index, IE has fits with it.

Depending on your layout, it may be better to put the first image in as a background to the div, and then put the send image inside that div. If an image is just 'eye candy' and not critical content, it should be a background anyway.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to More CSS
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.58521 seconds with 12 queries