Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Nov 2002
    Posts
    103
    Thanks
    13
    Thanked 0 Times in 0 Posts

    Displaying elemets on backgrounds on larger screen resolutions

    Hello Guys,

    Is it possible for elements (png) to display on top of a background only if it is viewed with larger resolutions?

    EXAMPLE green boxes - http://screencast.com/t/t9ybMoRP

    When the resolution is too small, I don't want the boxes to be seen. Any idea on what I should do here?

    Thanks, Dan

  • #2
    New to the CF scene
    Join Date
    Aug 2013
    Location
    Floripa
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Yes you can

    Yes, you can. You just need to check the browser content width or height. Of course it will not be the real resolution of the PC but it's the best guess. You could also use Flash and Java to acomplish this but I do not recommend.

  • #3
    Senior Coder
    Join Date
    Aug 2006
    Posts
    1,141
    Thanks
    7
    Thanked 257 Times in 256 Posts
    Look into Media Queries, Dan. It's exactly what you want...


  •  

    Posting Permissions

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