Results 1 to 2 of 2

Thread: Whats the best solutions for css for all screen sizes?

Hybrid View

  1. #1
    Join Date
    Jul 2011

    Whats the best solutions for css for all screen sizes?

    i could use a bit of javascript to select a different stylesheet for the bigger screensizes...

    but im sure that there must be a cleaner way of doing this?

  2. #2
    Join Date
    Jul 2006
    You sometimes just have to use JavaScript to designate specific resolutions, but the key is to create a fluid layout so it will look nearly the same in all resolutions, you can do this by using a background that repeats instead of a single, long image; you may have to use 3-piece elements or more for desirable background images that have a left, right and middle piece (the middle piece generally repeats). You can also often depend on percentages when specifying the width instead of pixels.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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