Forums

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

Home Forums JavaScript What would be more useful?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45135
    Attila Hajzer
    Participant

    I’ve been working on a website for quite a bit http://hajzer.info/ and i’ve run into the problem supporting for screen resolution.

    I have an idea of using javascript where i would get the height of the window size (OR SCREEN SIZE) and i could set the distance between the page seperations to acomidate each page with space. so each page can have their own full sized window.

    for example i work on a screen resolution of : 1920 x 1080.

    but my linux computer (laptop) is a smaller screen resolution of : 1280 X 720.

    i was thinking would it be okay to use javascript? or should i just use media queries?

    If further clarification is needed please let me know.

    #137408
    CrocoDillon
    Participant

    That might be possible with (don’t take my word for it, haven’t tried)

    .section {
    min-height: 100%;
    }

    but you’d to fiddle around with height on ancestors all the way up to body and html.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.