☰
d2jsp
Rules
Help
Forum Gold FAQ
Live Streams
Photo Gallery
Hourly Raffle
Ladder Slasher
Log In
Register
Log In
Register
Account Recovery
Resend Validation Email
d2jsp Forums
>
Off-Topic
>
Computers & IT
>
Programming & Development
> How To Do That ?
Add Reply
New Topic
New Poll
Views: 400
Replies: 3
Track Topic
Yarna
Member
Posts: 6,420
Joined: Jan 27 2008
Gold
:
1,327.99
#1
Feb 26 2013 03:09pm
Hi, i'm looking to do a webpage with a header (something like 100px height) and a background full width/height on the rest of the page, but not under the header, how to do that ?
Huayra
Member
Posts: 1,628
Joined: Aug 11 2012
Gold
:
628.00
#2
Feb 26 2013 04:01pm
wha?
got an example?
Schwag
Member
Posts: 2,579
Joined: Jun 1 2012
Gold
:
1,524.00
#3
Feb 26 2013 04:10pm
Have the header in a div and set it's z-index attribute higher than the rest of the page and give it its own background maybe?
I'm sure there are multiple ways to do this, depending on how you've implemented the header/background.
DirtyRasa
Member
Posts: 2,478
Joined: Jan 4 2007
Gold
:
7,545.00
#4
Feb 27 2013 10:35am
Mostly with CSS.
Here's a quick example:
http://jsfiddle.net/B7Ksn/
You could even set the background of the body to an image and not have to worry about the header background.
Go Back To
Programming & Development
Topic List
Add Reply
New Topic
New Poll
© 2003-2026 d2jsp
Contact