Technology, Web & Business Forum

You are here: Technology, Web & Business Forum : Web Development : Design : is there anyway to put 3 different background images using CSS at once?


Welcome to the Technology, Web & Business Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.


Design Talk about web design techniques and ideas in CSS, HTML, etc.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-14-2008
Junior Member
 
Join Date: Apr 2008
Posts: 1
Default is there anyway to put 3 different background images using CSS at once?

I have these 3 images, just different words, and i wanted to know if there was a way i could place each one in a corner. I am more experienced with HTML, but am learning CSS. So if anyone knows how i could do this...please let me know!
__________________
Powered by Yahoo! Answers
Reply With Quote
  #2 (permalink)  
Old 04-14-2008
Junior Member
 
Join Date: Mar 2008
Posts: 3
Default

You can have a main background (and position it)

and then have two div layers in their own position with their own background

example:

body {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
background-image: url(images/image1.jpg);;
margin: 0px;
padding: 0px;
}
#flayout {
padding: 0px;
width: 200px;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
background-image: url(images/image2.jpg);
background-repeat: no-repeat;
}
#glayout {
padding: 0px;
width: 200px;
margin-top: 150px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
background-image: url(images/image3.jpg);
background-repeat: no-repeat;
}
__________________
Powered by Yahoo! Answers
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 07:48 PM.