in reply to •Re: publish-time conditionals w. Mason?
in thread publish-time conditionals w. Mason?

Well, for example, both Yahoo's and Microsoft's homepages do both client- and server-side browser sniffing, so we're a ways off from seeing the practice disappear.

Also, for specialized design-intensive sites, you may want to do some tweaks... minor stuff, and if it's cached, then no big deal... just won't look quite as nice. And, of course, you can turn caching off for your page, add random values to URLs to get around poorly-built corporate caches that ignore the cache flags in the server response, etc.

But, the main point is that, for artists/designers, there is still a need to be browser-specific for certain web projects where to-the-pixel control is needed.

But, as I said in my post... the browser sniffinf was just an example. I really just want to know how to best handle publish-time conditionals in a general sense.

  • Comment on Re: •Re: publish-time conditionals w. Mason?

Replies are listed 'Best First'.
•Re: Re: •Re: publish-time conditionals w. Mason?
by merlyn (Sage) on Apr 26, 2003 at 03:07 UTC
      CSS2 does offer to-the-pixel control without "abusing" HTML. If only it were implemented fully in all major browsers *sign*.

      --
      Ilya Martynov, ilya@iponweb.net
      CTO IPonWEB (UK) Ltd
      Quality Perl Programming and Unix Support UK managed @ offshore prices - http://www.iponweb.net
      Personal website - http://martynov.org

        And "to-the-pixel" manipulation is wrong, because you don't know the DPI or display distance of my display.

        Let HTML be what it was intended to be. A display is not paper. You do have to learn to design differently. Specify logical layout. Not pixels. Not points. Then your page can be displayed on my laptop, my extra-wide home display, my office's wall projector, and even my HTML-enabled phone.

        If you ever find yourself asking "Do most of my visitors come in at 1024x780 or 800x600?", step away from the keyboard and go back to paper design. Stay off the web, please.

        -- Randal L. Schwartz, Perl hacker
        Be sure to read my standard disclaimer if this is a reply.