dlang.org should do it in style

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Sun Jan 18 02:01:36 PST 2015


On 2015-01-17 19:39, MattCoder wrote:

> Indeed! But, if the "body" had a "width" setted this wouldn't occur.
>
> For example, adding "width: 1024px" on body in style.css it will now be
> fine to see on mobile.

No, that's not the correct solution. The correct solution is to use 
media queries in the CSS and specify different widths depending on the 
resolution. Also known as responsive design.

Or you have a separate mobile site.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list