The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
> Opening Modal with an Image
post Dec 9 2019, 02:34 PM
Post #1

Group: Members
Posts: 5
Joined: 4-December 19
From: El Paso, TX
Member No.: 27,060

<a href="#openModal">Open Modal</a> opens a modal with the 'Open Modal' text link.

Is there any way to open the modal window with an image? I've tried <a href="#openModal"> <img src="button.png" height="30" width="170"></img></a> and it does work but the button image does not scale correctly. Could someone please help me? Thanks in advance!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


- Lo-Fi Version Time is now: 24th February 2021 - 09:20 PM