you can use media queries
and test your site by resizing the window
configure what you want on which device, and always try to play with% not px
Some media queries for you Thanks Chris
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) { } @media only screen and (min-width : 321px) { } @media only screen and (max-width : 320px) { } @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) { Like This #twitter-2 { margin-left:Some Value ; margin-top:Some Value ; } } @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) { } @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) { } @media only screen and (min-width : 1224px) { } @media only screen and (min-width : 1824px) { } @media only screen and (-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5) { }
source share