Forums

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

Home Forums CSS border-top on iPad

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

    Hi guys. I have this html page with border top on the body:


    body {
    border-top: 6px solid #fff;
    }

    It appears ok in all browsers but in tried in iPad just for fun and it doesn’t go along to all the width. Any idea why?

    #100602
    henrycharge
    Member

    is this just on the right hand side? like a small gap?

    I believe this is to do with mobile safari adding space for the scrollbar…

    #100603
    XaviJr
    Participant

    It is just on the right side but it’s not all that small. It can be that issue, thanks for the tip.

    #100649
    XaviJr
    Participant

    The border-top problem wasn’t the scrollbar, I had to add this meta:

    Now I just have that small gap. It’s not serious but I must ask: any solution for that?

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