Results 1 to 4 of 4

Thread: resolution dimensions

  1. #1
    Join Date
    Oct 2008
    Posts
    50
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default resolution dimensions

    i have this web site: http://otisweb.net

    what should I do with the cssof this site that the dimensions remains at their original sizes when the resolution of the monitor changes?


    here is the css code: http://otisweb.net/style.css

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Percentages and other relative widths (like "bigger" and "smaller" for fonts and "em" for other measurements) will change based on the size of everything (probably based on the screen size).

    Pixels and other 'fixed' widths (like inches, etc) will remain fixed.

    That should be all you need to do.


    In other words instead of writing "10%" width use "100px" width, etc.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default

    yup like djr33 said, it's more safe using px rather than %. Already test it before, it's work.

    But in some condition, if you implement a Jquery tools that already has CSS inside it, may be you should check it.
    Cause may be the problem is not in your CSS but in that Jquery CSS, just sharing cause i always have that problem.
    _____________________

    David Demetrius // davejob
    _____________________

  4. #4
    Join Date
    Oct 2008
    Posts
    50
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by djr33 View Post
    Percentages and other relative widths (like "bigger" and "smaller" for fonts and "em" for other measurements) will change based on the size of everything (probably based on the screen size).

    Pixels and other 'fixed' widths (like inches, etc) will remain fixed.

    That should be all you need to do.


    In other words instead of writing "10%" width use "100px" width, etc.
    I made like you told and it's working...thanks man

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •