WebSite X5Help Center

 
Dan L.
Dan L.
User

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

Author: Dan L.
Visited 800, Followers 2, Shared 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.

Posted on the
5 ANSWERS
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!

Read more
Posted on the from Claudio D.
Dan L.
Dan L.
User
Author

samsung galaxy 2, ipad, HTC sensation

Read more
Posted on the from 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

Read more
Posted on the from Paul M.
Dan L.
Dan L.
User
Author

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?

Read more
Posted on the from Dan L.
Dan L.
Dan L.
User
Author

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

Read more
Posted on the from Dan L.