Can you help me positioning elements in CSS?

shaurya gupta October 18, 2012
Pinterest Stumbleupon Whatsapp

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!

  1. Meeth Jain
    December 21, 2012 at 6:16 pm

    i would recommend px , for tutorials you can check out these links

  2. Dimal Chandrasiri
    October 18, 2012 at 2:20 pm

    I would recommend px... it is easy rather than the percentage.

    • shaurya gupta
      October 27, 2012 at 5:31 am

      But how would you adapt the page to different screens?

  3. Martin Gamboa-Garcia
    October 18, 2012 at 2:09 pm

    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.

  4. Boni Oloff
    October 18, 2012 at 11:55 am

    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.

  5. josemon maliakal
    October 18, 2012 at 11:54 am

    the better thing is % for a responsive design this it will help u

    • salim benhouhou
      October 18, 2012 at 12:12 pm

      thank you josemon for sharing

Ads by Google