Forums

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

Home Forums CSS space at left+right of website for iPad?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34391
    alexbass
    Participant

    Hi everyone. This is probably a dead simple question but I just can’t seem to crack it. How do I add a small amount of ‘padding’ to the left and right of my website, so on the iPad, my site isn’t taking up 100% of the screen.

    Here’s an example of what I mean (sorry for the MS-paint-like drawing): https://dl-web.dropbox.com/get/324.png?w=ff94180b

    Would really appreciate a bit of help with this, it must be dead simple but it’s killing me!

    Thanks, Alex

    #87440
    chrisburton
    Participant

    Depends on the amount of padding you want.

    padding: 0 15px;
    #87442
    alexbass
    Participant

    I did try that, didn’t work but I did find a little bit of code which has completely solved my problem!

    Thanks anyway

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