Jump to content

My divs are cut when i view the page in mobile screens


harry_ord

Recommended Posts

I'm afraid is not that. I just moved the whole css rules to within a <style> tag in my index.html and everything works fine. The problem is whenever i try to load the file from a external stylesheet i get that.

 

This is the order i load stuff on my header:

<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/style.css">
<script src="js/video.js"></script>

And this is the whole html file without loading the stylesheet externally and using a internal stylesheet with exactly the same content:

https://github.com/ashcrimson/codelco/blob/master/index.html
Link to comment
Share on other sites

I'm afraid it is that! Using firebug i inspect the problem element, it brings up that styling with link, you open link and it exactly shows that, and where it used in stylesheet, go back to firebug listing, disable width: 70%; and everything returns back to normal.

Link to comment
Share on other sites

I'm afraid it is that! Using firebug i inspect the problem element, it brings up that styling with link, you open link and it exactly shows that, and where it used in stylesheet, go back to firebug listing, disable width: 70%; and everything returns back to normal.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...