Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 56

Thread: Css advice for spacing between images

  1. #41
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,261
    Thanks
    165
    Thanked 3 Times in 3 Posts

    Default

    I have just been and tried it but no difference.

  2. #42
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    2,307
    Thanks
    3
    Thanked 286 Times in 279 Posts

    Default


    well, I cannot help you further, coding wise, as I do not have an iPad

    Perhaps you should pay another vist to...

    https://www.ipadforums.net/

    ...and find out why the iPad and Safiri browser will not render this...

    Code:
    <script>
    (function( w, d ) {
      w.onresize = function() {
        if( w.innerWidth == 1024 && w.innerHeight == 768 ) {
          d.getElementById('ipad').classList.remove('hide');
          d.getElementById('normal').classList.add('hide'); 
        }
        else {
          d.getElementById('ipad').classList.add('hide');
          d.getElementById('normal').classList.remove('hide');       
        }
      } 
    }( window, document ));  
    </script>
    Alternatively, you might consider doing this...

    1. Install Firefox on your iPad
    2. Install Google Chrome on your iPad


    coothead
    ~ the original bald headed old fart ~

  3. #43
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,261
    Thanks
    165
    Thanked 3 Times in 3 Posts

    Default

    Morning,

    After playing around & searching i have managed to get the following to work on the ipad.
    Can we add it in to see if it then works with our new page

    See screenshots




    Code:
    <!DOCTYPE html>
    <html>
    <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
    body {
      background-color: #00FF00;  
    }
    
    @media only screen and (max-width: 1023px) {
      body {
        background-color: #FF0000;
      }
    }
    </style>
    </head>
    <body>
    
    <h1>Media Query Test</h1>
    
    <p>When 1023 or less, background color is Red, otherwise it is "Lime".</p>
    
    </body>
    </html>
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	4212.jpg 
Views:	11 
Size:	23.7 KB 
ID:	6552   Click image for larger version. 

Name:	4213.jpg 
Views:	11 
Size:	44.7 KB 
ID:	6553  

  4. #44
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    2,307
    Thanks
    3
    Thanked 286 Times in 279 Posts

    Default

    Hi there theremotedr,

    Check out the attachment which contains another possible solution.
    It works for me using 1024 x 768px in Responsive Design Mode.

    I hope that it will work on the real thing.

    coothead
    Attached Files Attached Files
    ~ the original bald headed old fart ~

  5. #45
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,261
    Thanks
    165
    Thanked 3 Times in 3 Posts

    Default

    Sorry to say but its the same.

    I have gone back to the original file which would be this page here.

    https://www.theremotedoctor.co.uk/standard.html

    It works perfect on the ipad & does what it is supposed to do.
    So wondering if its omething we added maybe when the css & js was separated ?

  6. #46
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    2,307
    Thanks
    3
    Thanked 286 Times in 279 Posts

    Default


    Are you using the Firefox browser on your iPad?

    coothead
    ~ the original bald headed old fart ~

  7. #47
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,261
    Thanks
    165
    Thanked 3 Times in 3 Posts

    Default

    No safari at present

    I will install Firefox tonight

  8. #48
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,261
    Thanks
    165
    Thanked 3 Times in 3 Posts

    Default

    Firefox now installed

  9. #49
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    2,307
    Thanks
    3
    Thanked 286 Times in 279 Posts

    Default


    So????

    coothead
    ~ the original bald headed old fart ~

  10. #50
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,261
    Thanks
    165
    Thanked 3 Times in 3 Posts

    Default

    Only just got in but still the same

Similar Threads

  1. Advice to put space between images
    By theremotedr in forum CSS
    Replies: 6
    Last Post: 07-23-2022, 05:26 PM
  2. Replies: 6
    Last Post: 03-29-2012, 03:16 PM
  3. Lightbox waits until all images are loaded to work. Advice?
    By AHalsey in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 11-11-2010, 05:34 PM
  4. Resolved Odd spacing in FF?
    By bassa in forum CSS
    Replies: 6
    Last Post: 04-09-2009, 02:46 PM
  5. Replies: 1
    Last Post: 09-02-2008, 01:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •