Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Any Pixel

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #46135
    Junni
    Member

    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://http://eidgahsharif.com/new1 “Check it”) .

    #141681
    Billy
    Participant

    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.

    #141217
    Junni
    Member

    what if i used % as whole?

    #141699
    jurotek
    Participant

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

    #141809
    Billy
    Participant

    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)
  • The forum ‘CSS’ is closed to new topics and replies.