MoonNightFlyer
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by MoonNightFlyer
-
-
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
Clickable Image Links Extend Beyond Images
in General
Posted
Hello Desonesuk, Many thanks for your prompt and helpful response. It's very much appreciated. Best regards, MoonNightFlyer.