fixed background with shadow

This is a discussion on "fixed background with shadow" within the Graphics and 3D section. This forum, and the thread "fixed background with shadow are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Graphics and 3D

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Feb 27th, 2007, 18:54
Junior Member
Join Date: Feb 2007
Location: mississippi
Age: 30
Posts: 37
Thanks: 6
Thanked 0 Times in 0 Posts
Question Shadow on tiled background.

Im looking to make a page with a tiled background and shaded edges like the one here. http://www.projectseven.com/tutorial...s2/shadow2.htm

BUT! Notice how the tiles move with the page. I would like the tiles to be in a fixed position so that the page moves over the tiles not with. What makes it complicated is I would like the shadow behind the page.

Any takers?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Feb 28th, 2007, 01:33
BGarner's Avatar
Reputable Member
Join Date: Oct 2006
Location: In front of the computer.
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Shadow on tiled background.

You need the graphics forum for the images. Just get 2 rows of tiles. The css is simple.

body {
background: #333 url(/tiles.png) repeat-y;
}

div#wrapper {
background: #EEE url(content.png) repeat-y;
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Feb 28th, 2007, 10:48
Ryan Fait's Avatar
Elite Veteran
Join Date: May 2006
Location: Las Vegas
Posts: 3,787
Thanks: 0
Thanked 0 Times in 0 Posts
Re: fixed background with shadow

The link gives me a message "Page no longer active..."
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Feb 28th, 2007, 15:50
Highly Reputable Member
Join Date: Jul 2005
Location: Northampton, England
Age: 19
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Re: fixed background with shadow

im seeing the page but not understanding the question.. do u mean u want a fixed background and shadows made into the background?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Feb 28th, 2007, 17:59
Junior Member
Join Date: Feb 2007
Location: mississippi
Age: 30
Posts: 37
Thanks: 6
Thanked 0 Times in 0 Posts
Re: fixed background with shadow

I guess that web page got taken down. Here is my visual attempt at explaining myself.

Thanks
Attached Images
File Type: jpg tile.jpg (31.5 KB, 51 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Feb 28th, 2007, 18:01
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Shadow on tiled background.

add fixed to the background property

Code: Select all
body {
 background: #000 url(background.jpg) repeat-y fixed 0 0;
}
Simple as that.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Mar 4th, 2007, 18:28
Junior Member
Join Date: Feb 2007
Location: mississippi
Age: 30
Posts: 37
Thanks: 6
Thanked 0 Times in 0 Posts
Re: fixed background with shadow

Well, here is my near blank canvas. http://digitizeyourdigits.com/aaron

Can you show me how to ad to my code a row of darkened/shadowed tiles to the top of the background. I think having a shadow on the sides of the page may not be a good idea when using a pattern.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Mar 4th, 2007, 19:43
BGarner's Avatar
Reputable Member
Join Date: Oct 2006
Location: In front of the computer.
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Re: fixed background with shadow

With such a dark background I'm not sure your shadow would even show up.

You need to do as karinne said...
Quote:
body {
background: #000 url(background.jpg) repeat-y fixed 0 0;
}
Then your shadowed pieces will always line up with your background.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Mar 4th, 2007, 19:56
BGarner's Avatar
Reputable Member
Join Date: Oct 2006
Location: In front of the computer.
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Re: fixed background with shadow

Or you could make it all one picture.
Attached Images
File Type: png test.png (13.4 KB, 37 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Mar 4th, 2007, 22:11
Junior Member
Join Date: Feb 2007
Location: mississippi
Age: 30
Posts: 37
Thanks: 6
Thanked 0 Times in 0 Posts
Re: fixed background with shadow

The reason I don't do it like that is because I don't want the background to move with the page, I want the page to hover over the pattern.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old Mar 4th, 2007, 22:32
BGarner's Avatar
Reputable Member
Join Date: Oct 2006
Location: In front of the computer.
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Re: fixed background with shadow

Use that picture I made. You'll need to fix it up b/c it's ugly and probably not the right pattern but, then the background doesn't move when you scroll. You just then have to make your css positio0n the text over the image.

You could also make a background with the shadows and leave a blank space in between left and right shadows. Then lay your content over it.

Last edited by BGarner; Mar 4th, 2007 at 22:38.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old Mar 5th, 2007, 19:51
Junior Member
Join Date: Feb 2007
Location: mississippi
Age: 30
Posts: 37
Thanks: 6
Thanked 0 Times in 0 Posts
Unhappy Re: fixed background with shadow

Ok, look at this page here, it's working now.

http://www.projectseven.com/tutorial...s2/shadow2.htm
I want my page to have a shadow on the left and right side like this one.

But, when you drag the bottom right corner of your brouser left and right to resize notice how the background moves with the page. That is not what I want. I want the page to hover over the tiles not move with. That image you sent me I don't think will work because the background is fixed to the body, it needs to be seperate.

I am beginning to think no one knows what I'm talking about and that it is not possible to do. That is why I think I should settle for a shadow on the top of the page background. I know that is possible.

What do you think?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13  
Old Mar 5th, 2007, 21:35
Highly Reputable Member
Join Date: Jul 2005
Location: Northampton, England
Age: 19
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Re: fixed background with shadow

yeah dude thats just one image go on there right click some were and click save background as ull see its just one image with the content shunted into the center if u dont want the content box to move when u resize the brouser then your best bet is to cut the shadows into 2 different images and set them as the background into 2 seperate divs that way what ever screen res u got it on it will look the same enit but it doesnt work well with patterns unless ur not fussed about them lining up properly lol but yeah if u need help pm me and ill show u what i mean dude
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
background, css, shadow, tile

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
Fixed Background Issue LeeNic Web Page Design 6 Mar 18th, 2008 09:55
[SOLVED] Fixed Background Image? Jack Franklin Web Page Design 4 Oct 7th, 2007 19:45
Fixed background?! supanova75 Web Page Design 5 Aug 10th, 2007 23:40
Expanding background drop shadow konnor5092 Web Page Design 1 Feb 22nd, 2007 07:39


All times are GMT. The time now is 12:01.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization 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