On 06/08/2016 09:35 AM, Per Jessen wrote:
You can quite reasonably say this is a server error. If the page designer had resized the image to the required dimensions in the first place, it would be smaller, quicker to download, and would not need resizing by the browser.
How does the designer know beforehand which size will be required? The background image on the first page is 1500x1000, probably a reasonable compromise.
That might be OK for a banner; thee are a few page templates that start with a large image at the top. But for a portable device that's outrageous! The answer to "how" _might_ be that the HTML code has a conditional. It asks what the browser is, the browser itself knows, and the "IF" clause deals differently with, for example, Internet Explorer vs Firefox. You'll see this quite often a IE handles some CSS differently. Fragments like this: </script> <!-- JS includes --> <!--[if lt IE 9]> <script src="scripts/html5shiv.js?4241844378" type="text/javascript"></script> <![endif]--> <!--custom head HTML--> <script> I don't know if that can be applied to 'devices". However there's also JavaScript. if you look at the raw feed from wikipedia you'll see that there's capability for handling smaller screens, dropping the sidebar and graphics, for phones such as 'android. It is rather rococo! See also: http://www.instructables.com/id/Make-your-HTML-Website-suitable-for-Mobile-D... Google for "fluid layout". -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org