![]() |
Hi,
I have been working on a website that uses a fixed header. It works fine on iphone and android, but does not work on the N9. (I like to make sites support my own phone :p) At the moment I am using just position:fixed, which as mentioned before, does not work on the N9 stock browser. Does anyone here know a workaround to suit the N9, or is this question better reserved for stackoverflow? Thanks, |
Re: CSS Positioning in stock browser
Nokia N9 browser supports <header> tag. That's all I know.
What happens if you try "position: fixed !important;"? Best wishes. |
Re: CSS Positioning in stock browser
<header> is practically a glorified <div>,
So thats not really going to help. By the looks of that site, the browser doesnt fully support the position:fixed tag. So probably not going to be any support on that front, unless someone knows some hacky method of doing it. |
Re: CSS Positioning in stock browser
The N9 browser deliberately does not support position:fixed. This was probably done because some desktop websites are completely unusable with it enabled. You can use position:absolute, and the onscroll event of the body to make the top attribute of the absolute div equal to body.scrollTop, to achieve the same thing.
|
All times are GMT. The time now is 01:57. |
vBulletin® Version 3.8.8