WebSite X5Help Center

 
Dan L.
Dan L.
User

How it can fill up the entire screen instead of being squeezed to the left  en

Autor: Dan L.
Besucht 834, Followers 2, Geteilt 0  

i have created a narrower width version of one of my website, and not sure how it can fill up the entire screen instead of being squeezed to the left. here is my url: auto1driving.com.au/mobile_test/. it looks ok on website screen, but not good on mobile.

Gepostet am
5 ANTWORTEN
Incomedia
Claudio D.
Incomedia

Hello Dan,

I tested the the website on a mobile and it was centered and adapted to the screensize to fit completely. Can you please tell me on which device and with which browser it appeared squeezed to the left?

Many thanks!

Mehr lesen
Gepostet am von Claudio D.
Dan L.
Dan L.
User
Autor

samsung galaxy 2, ipad, HTC sensation

Mehr lesen
Gepostet am von Dan L.
Paul M.
Paul M.
Moderator

Hi Dan,

I notice what you are referring to when I view your site on BlackBerry.

However, I also notice from your source code that everything is set to be left-aligned:

e.g.

<div style="float: left;"><div id="imCell_1" class="imGrid[0, 0]"><div id="imCellStyleGraphics_1"></div><div id="imCellStyle_1"><div id="imTextObject_1_tab0" style="text-align: left;"><div class="text-inner"><p style="text-align: left;">

If you edit your project with images and text centre-aligned then you may find the issue disappears.

Check your settings on the toolbar in the Text Object properties window...  'Align Center', 'Text on the Left', etc.

Best regards,

Paul

Mehr lesen
Gepostet am von Paul M.
Dan L.
Dan L.
User
Autor

Thanks Paul, but i tried homepage without template in property and set width to 640, it displays just as i want. so i suspect it is the default width of template to 1920px. How can i change the width to 640?

Mehr lesen
Gepostet am von Dan L.
Dan L.
Dan L.
User
Autor

Hi Paul, I just tried it again, seems it works! thanks.

Mehr lesen
Gepostet am von Dan L.