The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> HTML Image problem
tshw33
post Dec 24 2019, 12:17 PM
Post #1





Group: Members
Posts: 1
Joined: 24-December 19
Member No.: 27,090



Hi everybody,

I have this annoying problem and I hope someone can help me.
I have a wordpress page: http://tslagter.nl/

On that page I have an image shows with @, mail and telephone.
That image scales on 1920x1080 and on mobile its also good.

But on my surface tablet or if I resize my window the image isn't correctly alligned anymore (it doesn't fill the whole box).

This is the code I use:
<div id="img_box">
<img style="width: 100%;" src=" https://tslagter.nl/wp-content/uploads/2019/12/Contact2.png ">
</div>

Is it possible to have some HTML code that automatically allignes the image whatever the screen size will be.
Love to have a solution for this problem.

Greetings,
Tshw33
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: 9th April 2020 - 09:53 AM