-1
I finished the front end of a site, where the maximum margins of the elements go up to 1290px. Now, I have the layout to do it in 960px. Obviously I will reuse classes.
I could use the @media
, but would have serious problems with the Internet Explorer.
Is there any method in Javascript/Jquery similar to @media
?
did not understand. I was thinking of a method, in which he received the total value of the user window, if it is =< 960px adds the rule
siteCont {960px; margin: auto}
if it does not add the rulesiteCont1290{width: 1290px; margin:auto}
– Felipe Viero Goulart
Dude, wasn’t the other answer what you wanted? Now that I realize you did it yourself.
– Miguel Angelo
True folks, I had asked that question some time ago. I made a mistake. Please delete if possible.
– Felipe Viero Goulart