![]() |
resopnsive site loses style when browser is resized
On my website here, why does it lose the styles when I resize the browser?
|
Works for me in Firefox. But note that valid HTML is a good prerequisite for cross-browser compliant websites.
|
if you go small enough stephan the font size increases drastically and the input boxes shrink. I couldnt figure it out so I didnt comment but it's weird. I think its got something to do with the table rows but ic ant figure it out
|
I don't see a particular media query that will trigger when your browser is small, presuming its not an iphone. So the style label { font-size: 22px; } is not present at small window sizes.
Dave |
that's not a problem, works fine on iPhone and iPad, just need it working on Nexus 7
there's about 20px play in the width?! |
I don't have a nexus 7 to check, have you verified that your expected media queries are working right on it? I'm assuming they're not working, the same way they're not working for me in Firefox.
Dave |
I have just added
Code:
|
So it's not seeing the queries. Why not just add a default of "regular" css in front of all your queries, to cover the case of a browser smaller than 640 or 480px? You've got no styling in there now for the case where a media query isn't available.
Dave |
theres about 20px width play on Nexus 7
|
| All times are GMT +1. The time now is 12:27 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.