The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> viewport stopped working correctly
Mick#1
post Jan 3 2022, 04:14 PM
Post #1





Group: Members
Posts: 4
Joined: 3-January 22
Member No.: 28,212



Here is the viewport that I am using within the <head> section and a link to a pic of the result on my Huawei P30. It is similar on my tablets and my Samsung S4 mini...

<meta name="viewport" content="width=device-width, initial-scale=1">

https://ibb.co/D4LbGYd

The problem is the very narrow presentation. It should be occupying most of the screen width. I have been working with this document for years on different computers, using MS Word or different "compatible" software and I have not seen this before. I ran a backup which worked correctly back in May and it now shows the same result. It all works as expected on a desktop PC.
Has anybody else seen this? Is there a fix?
Thanx,

Mick[i]


Attached thumbnail(s)
Attached Image
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
Christian J
post Jan 13 2022, 07:04 AM
Post #2


.
********

Group: WDG Moderators
Posts: 9,686
Joined: 10-August 06
Member No.: 7



That sounds like a very convoluted way of doing things, even assuming it does produce perfect HTML files. Why not write the HTML yourself from the start?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jan 13 2022, 07:58 AM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,737
Joined: 9-August 06
Member No.: 6



I see the problem, but it has nothing to do with the viewport Meta tag. It's something in the linked CSS. Of course the content is an image so it won't be wider than the image, 900 pixels something.

Convoluted, yes. You don't need all that markup and other stuff to display one big image and a row of icons...


Also, if you want people to find this page you may want to use real text instead of an image of text.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


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: 16th June 2024 - 02:56 PM