Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Default size photo container / border ?

  1. #11
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,243
    Thanks
    163
    Thanked 3 Times in 3 Posts

    Default

    Just had a quick look & noticed the Top button also is wrong / not working.
    The css isnt working when in a separate file.
    Put some css back in the html & things start to work

  2. #12
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,243
    Thanks
    163
    Thanked 3 Times in 3 Posts

    Default

    I see two messages.
    Gallery css is not on the local disc,same for js file

  3. #13
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,243
    Thanks
    163
    Thanked 3 Times in 3 Posts

    Default

    Think ive sorted it.
    css & js path was wrong in the html file.

    Please check your end.

  4. #14
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    2,277
    Thanks
    3
    Thanked 284 Times in 277 Posts

    Default

    Hi there theremotedr,

    I am very sorry about that,

    In the gallery.html file I had this code...

    Code:
    <link rel="stylesheet" href="Gallery.css" media="screen">
    ...which worked OK locally but it should be...

    Code:
    <link rel="stylesheet" href="gallery.css" media="screen">

    You can view my efforts here...

    gallery.html

    coothead
    Last edited by coothead; 06-04-2022 at 11:26 AM.
    ~ the original bald headed old fart ~

  5. #15
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,243
    Thanks
    163
    Thanked 3 Times in 3 Posts

    Default

    No need to say sorry as i spotted it & changed it.
    You did a great job,many thanks for the help.

    Just looking at it now

  6. #16
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,243
    Thanks
    163
    Thanked 3 Times in 3 Posts

    Default

    Coothead,
    There is one last thing you could assist me with please.
    If you look on any page wishing my site, use url below etc you will see a UP arrow.
    This take the user to the top of the page.
    When it does that itís a smooth scroll.
    I would like to apply the same smooth scroll to the gallery top button as currently just rapidly jumps there.
    I did look but only found #home and scroll.

  7. #17
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    2,277
    Thanks
    3
    Thanked 284 Times in 277 Posts

    Default

    Hi there theremotedr,

    add this...
    Code:
    html {
        scroll-behavior: smooth;
    }
    ...to your CSS file.

    It will slow down the the scrolling somewhat.

    coothead
    ~ the original bald headed old fart ~

  8. #18
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,243
    Thanks
    163
    Thanked 3 Times in 3 Posts

    Default

    Thanks once again my friend

Similar Threads

  1. Thumbnail default size
    By theremotedr in forum CSS
    Replies: 1
    Last Post: 01-05-2018, 12:52 PM
  2. Replies: 2
    Last Post: 05-09-2014, 08:08 PM
  3. Replies: 4
    Last Post: 12-01-2011, 02:57 PM
  4. IE6 border size increase
    By killerchutney in forum CSS
    Replies: 1
    Last Post: 07-17-2007, 07:36 PM
  5. Photo pop'up with a determined size
    By imv in forum The lounge
    Replies: 0
    Last Post: 08-17-2005, 01:43 PM

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
  •