T O P I C R E V I E W |
T00N |
Posted - 22 Jul 2009 : 20:51:53 Is there a way to archieve that the header of your site is always full width? Even on different resolotions and screen sizes...
|
4 L A T E S T R E P L I E S (Newest First) |
petran |
Posted - 23 Jul 2009 : 14:01:24 You can do so by making a background-image of your panorama. Backgrounds can be centred using the background-position tag.
You'll find an explanation (in Dutch) right here: http://www.handleidinghtml.nl/css/eigenschappen/background-position/beschrijving.html |
T00N |
Posted - 23 Jul 2009 : 08:58:06 Nice!
But what I actually meant was a header image. I know how to make a stripe orcolour header full width.
What I am thinking of is this:
Say I have a panorama picture that is 1500 px wide and a 150 px high. Now this look great on a screen that's 1500 px wide but on a 800x600 screen you only see the lefthand side. What is want is that when you see the header on a smaller screen you see the center of the image. So you lose a bit of the left and of the right of the image.
Maybe it's impossible but maybe there's a way? |
s.dav |
Posted - 23 Jul 2009 : 08:42:16 Maybe the next version of D.W.H.E. will have the ability to create objects using the "%" positioning and size. |
jtarin |
Posted - 22 Jul 2009 : 23:45:08 Try one of these: http://www.tek-tips.com/viewthread.cfm?qid=1554501&page=3 http://en.allexperts.com/q/Javascript-1520/Javascript-browser-resolution.htm curious if it works for your situation. |