Readers like you help support MUO. When you make a purchase using links on our site, we may earn an affiliate commission. Read More.
Please help me positioning elements in CSS. Of course I can use WordPress, but I want do it myself. The problem is that when I test my sites on various screen sizes, it goes all wrong. There are many options available in 'position' in CSS. which one to use and what to use: px or % for font size, width and height of various elements and positioning. Please help!
2012-12-21 18:16:06
i would recommend px , for tutorials you can check out these linkshttp://www.youtube.com/watch?v=8cYr4hRCHEwhttp://www.w3schools.com/css/css_positioning.asp
2012-10-18 14:20:33
I would recommend px... it is easy rather than the percentage.
2012-10-27 05:31:44
But how would you adapt the page to different screens?
2012-10-18 14:09:53
F12 on Chrome and change CSS on the fly to see the difference.If you go for responsive web design then simply use media queries.http://www.w3.org/TR/css3-mediaqueries/
2012-10-18 11:55:05
Try to use the firebug in firefox, and find the value that needed to modified..I am not very good in CSS, but i do it everytime i do a little modification in my blog.
2012-10-18 11:54:51
the better thing is % for a responsive design ..read this it will help u http://www.labnol.org/internet/responsive-web-design-faq/21361/
2012-10-18 12:12:59
thank you josemon for sharing