The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › border-top on iPad
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?
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…
It is just on the right side but it’s not all that small. It can be that issue, thanks for the tip.
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?