The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Any Pixel

  • # July 5, 2013 at 12:25 pm

    hellow every one… is there any way to Make your site such smart that it remain same at any Resolution, am doing in Pixels but it is not helping me but while doing in Main Container in % and inside content is in PX so it is not working to [Check the Link](http:// “Check it”) .

    # July 5, 2013 at 12:39 pm

    The website seems to work.

    If you want the site to remain the same, try using `em` units.
    1em = font size of parent element.

    They will probably stay the same at different resolutions, whilst allowing you to use non-% values. I would practice a bit with them first, as they take some getting used to.

    # July 5, 2013 at 10:27 pm

    what if i used % as whole?

    # July 6, 2013 at 12:32 am

    For fluid layout you should always use relative dimensions instead of absolute.

    # July 7, 2013 at 3:04 pm

    The problem with % is in padding and margin as it will shrink, leaving less white space.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed