1 reply [Last post]
drmacs
drmacs's picture
User offline. Last seen 1 year 9 weeks ago. Offline
newbie
Timezone: GMT+1
Joined: 2010-02-09
Posts: 1
Points: 2

Hi!
I'm building a website where I want to use this picture(attached) as a background image. My problem is that I always want the black box to be centered in the browser window, what ever screen resolution the viewer is on. So my intension is to use this background and then build divs over it. Does this sound like a good idea for coding or do anyone have a better way to produce this? Can someone please help me getting the code for the background straight?! I would be very pleased!

Thanks!

AttachmentSize
wood_wallpaper_by_nosrepa.gif1.11 MB
CupidsToejam
CupidsToejam's picture
User offline. Last seen 1 week 6 days ago. Offline
rank Guru
Guru
Timezone: GMT-6
Joined: 2008-08-15
Posts: 2634
Points: 1552

I would reconstruct the

I would reconstruct the graphic to not have the black center. Apply the wood background (without black insert) to the body tag. Then just simply place a black container div in the middle.


First basic few steps in building a webpage
1. Gather and collect content.
2. Organize the content into meaningful semantic valid HTML
3. Design the prototype
4. Style using CSS

http://www.pixelbehavior.com