Text appears in a much narrower column on mobile browsers than on desktop, so much so, it's squeezed off the page -
i'd grateful advice on above issue.
i have tested site on major desktop browsers , looks fine.
however on opera, on smart phone, text squeezed narrow column extent text overlapping onto other elements. i'm told case on iphone well.
it's though padding being added text, doesn't seem problem.
i thought perhaps font size being increased on mobile device, seems in proportion.
one last thought many line breaks being rendered?
n.b else looks fine, text being affected
here sample page http://www.cajoledesign.co.uk/main%20menu.html
this (horrible, i'm sure!) css.
body { background:#fff; font-size:100%; margin:0; padding:0; } #container { height:2370px; width:900px; position:relative; margin:0 auto; } img { border:0; } .style2 { color:#666; } .style3 { color:#999; } .style5 { font-size:24pt; } @font-face { font-family:titlinggothicfbskylineregul; src:url(../fonts/titlinggothicfbskylineregul.woff); } h1 { color:#fff; font:34pt titlinggothicfbskylineregul, arial, century gothic, helvetica, sans-serif; padding-left:60px; padding-bottom:15px; line-height:18px; letter-spacing:.04em; } p.content { color:#ccc; font-size:10pt; font-weight:400; font-family:arial, arial, sans-serif; line-height:18px; padding-left:60px; padding-right:80px; text-align:left; } #background { height:2370px; width:900px; background-image:url(../images/blackbackground.jpg); background-repeat:repeat; position:absolute; } #aiologo { height:209px; width:170px; background:url(../images/logo.png) no-repeat; position:absolute; left:0; right:0; margin-left:auto; margin-right:auto; top:0; } #phonenumber { height:50px; position:absolute; left:50px; top:125px; } #mediaiconscontainer { width:90px; position:absolute; left:50px; top:180px; } #facebookicon { float:left; } #twittericon { float:left; margin-left:10px; } #goodfoodlogo { position:absolute; right:50px; top:120px; } img.floatleft { float:left; margin-right:20px; margin-bottom:10px; } img.slash { margin-top:30px; } ul#topnav { width:315px; list-style:none; height:60px; position:absolute; padding-left:50px; top:30px; } ul#topnav li#topnav-1 { width:105px; background:url(../images/nav.png) no-repeat 0 0; } ul#topnav li#topnav-2 { width:105px; background:url(../images/nav.png) no-repeat -105px 0; } ul#topnav li#topnav-3 { width:105px; background:url(../images/nav.png) no-repeat -210px 0; } ul#topnav2 { width:315px; list-style:none; height:60px; position:absolute; right:50px; top:30px; } ul#topnav2 li#topnav-1 { width:105px; background:url(../images/nav2.png) no-repeat 0 0; } ul#topnav2 li#topnav-2 { width:105px; background:url(../images/nav2.png) no-repeat -105px 0; } ul#topnav2 li#topnav-3 { width:105px; background:url(../images/nav2.png) no-repeat -210px 0; } #menucontainer { position:absolute; top:550px; width:800px; left:0; right:0; margin-left:auto; margin-right:auto; } #spielcontainer { position:absolute; top:230px; width:800px; height:300px; left:0; right:0; margin-left:auto; margin-right:auto; } p.spiel { color:#ccc; font-size:11pt; font-weight:400; font-family:georgia, arial, serif; line-height:20px; padding-left:60px; padding-right:80px; text-align:left; } h2 { color:#f1731e; font-size:14pt; font-weight:400; font-family:arial, arial, serif; line-height:18px; padding-left:60px; padding-right:80px; text-align:left; margin-top:30px; } h3 { color:#f1731e; font-size:16pt; font-weight:400; font-family:georgia, arial, serif; line-height:18px; padding-left:60px; padding-right:80px; text-align:left; } #footer { position:absolute; width:800px; height:80px; top:2290px; left:0; right:0; margin-left:auto; margin-right:auto; } ul.footer { list-style-type:none; padding-bottom:30px; margin:0; } li.footer { display:inline; float:right; margin-right:8px; } li.footer { color:#fff; font-size:10pt; font-weight:400; font-family:georgia, arial, serif; line-height:18px; } li.footer a:hover { color:#f1731e; font-size:10pt; font-weight:400; font-family:georgia, arial, serif; line-height:18px; } p.footer { color:#666; font-size:8pt; font-weight:400; font-family:georgia, arial, serif; line-height:18px; text-align:left; } ul#topnav li,ul#topnav2 li { display:inline; } ul#topnav li a,ul#topnav2 li { height:60px; float:left; text-indent:-9999px; text-decoration:none; } ul#topnav li#topnav-1 a:hover,ul#topnav2 li#topnav-1 a:hover { background-position:0 -60px; } ul#topnav li#topnav-1 a.current,ul#topnav2 li#topnav-1 a.current { background-position:0 -120px; } ul#topnav li#topnav-2 a:hover,ul#topnav2 li#topnav-2 a:hover { background-position:-105px -60px; } ul#topnav li#topnav-2 a.current,ul#topnav2 li#topnav-2 a.current { background-position:-105px -120px; } ul#topnav li#topnav-3 a:hover,ul#topnav2 li#topnav-3 a:hover { background-position:-210px -60px; } ul#topnav li#topnav-3 a.current,ul#topnav2 li#topnav-3 a.current { background-position:-210px -120px; }
check out <meta name="viewport" ...
command in html.
Comments
Post a Comment