Forums

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

Home Forums CSS Media print

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #169844
    yashu
    Participant

    I am struggling with this one
    i have seen the examples containing
    @media print{
    //code
    }
    can i use
    @media print and (min-width:1366px){

    }
    if i use the above query , will it take the window width or print window width,I want to write print styles based on window width , i there any solution

    #169850
    Paulie_D
    Member

    TBH, I’m not sure but I suspect it would take the page width.

    Try it and find out…it’ll cost you nothing.

    #169851
    yashu
    Participant

    my window width size is 1366px but media query is working from 842px

    #169852
    Paulie_D
    Member

    Until we can see it in action it’s hard to help further.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.