background IMAGE"S" need one on left one on right

This is a discussion on "background IMAGE"S" need one on left one on right" within the Web Page Design section. This forum, and the thread "background IMAGE"S" need one on left one on right are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 23rd, 2007, 17:15
Highly Reputable Member
Join Date: Jul 2005
Location: Northampton, England
Age: 19
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to bruno89
background IMAGE"S" need one on left one on right

hey im makin a new site for personal stuff and i want one image on the left hand side and one on the right. i have the left hand side just not the right couse i wasnt sure how to do it so instead of fin up my site i thought id ask the allmight css gods lol HOLA BACK !

-bruno your long lost spammer!
Reply With Quote

  #2 (permalink)  
Old Jan 23rd, 2007, 17:32
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: background IMAGE"S" need one on left one on right

Since you haven't given us any code, I'm gonna have to assume that you have applied your background to the body { } or a div { }. If that's correct, then you'll need to apply the 2nd background to a (or another) div.

In CSS3 you'll be able to apply multiple backgrounds to the same element but then you'll have to wait to use it 'cause IE probably won't support it
Reply With Quote
  #3 (permalink)  
Old Jan 23rd, 2007, 17:35
Highly Reputable Member
Join Date: Jul 2005
Location: Northampton, England
Age: 19
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to bruno89
Re: background IMAGE"S" need one on left one on right

damn thats anoying urm heres the code i used

body {
background-image: url(images/layout_images/background.png);
background-repeat: repeat-y;
margin-top: 0px;
margin-bottom: 0px;
background-color: #4295C4;
}

and im new to css i only have basic knowlage ( yes i know its the same with all coding! ) so yeah ho do i do what you said?
Reply With Quote
  #4 (permalink)  
Old Jan 23rd, 2007, 17:38
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: background IMAGE"S" need one on left one on right

Do you have a mock-up (image) of which background you want and where?!
Reply With Quote
  #5 (permalink)  
Old Jan 23rd, 2007, 17:40
Highly Reputable Member
Join Date: Jul 2005
Location: Northampton, England
Age: 19
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to bruno89
Re: background IMAGE"S" need one on left one on right

yeah iv got all the images i need just not the knowlage of how to put them were i want them lol
Reply With Quote
  #6 (permalink)  
Old Jan 23rd, 2007, 18:16
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,761
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: background IMAGE"S" need one on left one on right

Code: Select all
body {
 background-image: url(images/layout_images/background.png);
 background-repeat: repeat-y;
 margin-top: 0px;
 margin-bottom: 0px;
 background-color: #4295C4;
}
should be:

Code: Select all
body {
background: #4295C4 url(../images/layout_images/background.png) repeat-y left top;
margin:0 (rightvalue) 0 (leftvalue);
}
Just a stickler like that. At any rate put up something we can see so we know exactly what you want to accomplish.
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #7 (permalink)  
Old Jan 24th, 2007, 13:51
Highly Reputable Member
Join Date: Jul 2005
Location: Northampton, England
Age: 19
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to bruno89
Re: background IMAGE"S" need one on left one on right

cheers but does anyone know how to do 2 background images or is it imposible?
Reply With Quote
  #8 (permalink)  
Old Jan 24th, 2007, 13:55
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: background IMAGE"S" need one on left one on right

Quote:
Originally Posted by bruno89 View Post
cheers but does anyone know how to do 2 background images or is it imposible?
Not in the same element! You can't!

Quote:
Originally Posted by karinne View Post
Since you haven't given us any code, I'm gonna have to assume that you have applied your background to the body { } or a div { }. If that's correct, then you'll need to apply the 2nd background to a (or another) div.

In CSS3 you'll be able to apply multiple backgrounds to the same element but then you'll have to wait to use it 'cause IE probably won't support it
Reply With Quote
  #9 (permalink)  
Old Jan 24th, 2007, 13:59
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,761
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: background IMAGE"S" need one on left one on right

it can be done with some creative div use. One method could be to have a wrapper with one background then your container with the other.
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #10 (permalink)  
Old Jan 24th, 2007, 20:44
Up'n'Coming Member
Join Date: Aug 2006
Location: California
Age: 20
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Re: background IMAGE"S" need one on left one on right

I think that basically if you divide the page up into 2 divs like everyone says, you should be able to do it, then you could assign 1 background for each element. Just make sure there is no margin or border and stuff, and it would be able to mock your idea.

Would the z index be helpful with this at all? Just a thought.
Reply With Quote
  #11 (permalink)  
Old Jan 27th, 2007, 11:42
Highly Reputable Member
Join Date: Jul 2005
Location: Northampton, England
Age: 19
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to bruno89
Re: background IMAGE"S" need one on left one on right

ok got ya and karinne sorry i didnt get it at first but i do now
Reply With Quote
  #12 (permalink)  
Old Jan 28th, 2007, 05:15
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: background IMAGE"S" need one on left one on right

Bruno, I will talk to ya later if you still need help on this.
Reply With Quote
Reply

Tags
backgrounds

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] About "background-image: fixed;" Scrolling Issues doctypedeclaration Web Page Design 9 Apr 13th, 2008 18:54
Creating a "tag" system to find relevant "related" pages MrQuestions PHP Forum 3 Mar 20th, 2008 23:06
[SOLVED] Show "Image" Depends On User "Status"? Monie Classic ASP 6 Oct 16th, 2007 01:22
? IS "meta name="robots" content="?" necessary in pages ? Love2Java Starting Out 6 Aug 8th, 2007 13:48
window.opener.document["nameForm"].getElementById("someid").value; doesnt work drpompeii JavaScript Forum 0 Feb 17th, 2007 23:09


All times are GMT. The time now is 21:08.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43