Jump to content

MoonNightFlyer

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by MoonNightFlyer

  1. Hello to all,

    I have created a basic web page, with one main image and using block display
    img {
      display: block;
      margin-left: auto;
      margin-right: auto;

    Centering the image and sizing it with a percentage.
    <img src="img.png" alt="text" style="width:80%;">


    Below the image I have five small clickable image links.
    stacked one above the other.
    The issue is, that the clickable area of each image , 
    extends  beyond the image on both sides to the width of the page.
    The display block I am sure is causing this and the stacking, 
    ( Which  I am happy on how this looks ).
    I would appreciate guidance on how to resolve this and allow only the areas
    of the image links to be clickable
    Best regards, MoonNightFlyer

×
×
  • Create New...