CSS desktop vs laptop display problem ?

Discussion about CSS related issues.

CSS desktop vs laptop display problem ?

Postby cdan18po » Thu Oct 08, 2009 12:18 am

i am a beginner on using CSS...
why is that my output on my design on desktop computer becomes not good and in the right position when i tried to run it on my brother's laptop?

is there anything i can about this matter?
i mean how am i suppose to do a design that will perfectly display on both desktop and laptop without any changes on the output?
cdan18po
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 1
Joined: Wed Oct 07, 2009 1:07 am

Re: CSS desktop vs laptop display problem ?

Postby Albert Wiersch » Thu Oct 08, 2009 9:05 am

Please submit the URL of a page that has this problem so people can take a look at the source.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2435
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX

Re: CSS desktop vs laptop display problem ?

Postby johnpeters3 » Fri Dec 14, 2012 8:14 pm

Hi cdan18po:

I have a similar issue with a floating textbox I'm using on my website: http://homemortgageontario.ca

It is the "Our Best Mortgage Rates" table in the header and you'll notice that it fits nicely while viewing on a desktop/laptop, however when on a mobile device (no mobile theme installed on my WP site) the last line does not show up inside the box, it overlaps the bottom of the border.

You'll also notice the last line does not line up appropriately. Can't figure it out for the life of me. I thought because I have a radius on the corner of my border that it is messing with the alignment of the text? Hmmm.

Thanks in advance!
johnpeters3
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 1
Joined: Fri Dec 14, 2012 8:04 pm
Location: Ontario

Re: CSS desktop vs laptop display problem ?

Postby SimonH » Mon Jan 14, 2013 3:21 pm

johnpeters3 wrote: While viewing on a desktop/laptop, however when on a mobile device (no mobile theme installed on my WP site) the last line does not show up inside the box, it overlaps the bottom of the border.

You'll also notice the last line does not line up appropriately. Can't figure it out for the life of me. I thought because I have a radius on the corner of my border that it is messing with the alignment of the text? Hmmm.
Thanks in advance!


You can simply fix this using Media Queries check out: http://www.w3.org/TR/css3-mediaqueries/
SimonH
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 3
Joined: Mon Jan 14, 2013 3:11 pm


Return to CSS (Cascading Style Sheets)

Who is online

Users browsing this forum: No registered users and 1 guest

cron