[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent
 thread


Re: problem with no javascript
by Christoph Cullmann on Monday 03/Mar/2003, @02:55
It works without CSS, but if you think you can get a nice colorfull experience without CSS than you are wrong, as that would cause the use of color and font tags which will break any alternate stylesheet ;) It is usable, it is readable, it even works in text browsers (even with layout if they support tables and even with content before navigation if not).
  Related Links
 ·   Articles on KDE Official News
 ·   Also by Christoph Cullmann
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

Re: problem with no javascript
by Jim Dabell on Monday 03/Mar/2003, @03:08
I was replying to the person who said it was a waste of time to consider netscape 4.x when building a site. I never implied that kde.org was broken in any way without css.

Using things like the <font> element should not break user stylesheets. If they do, then the user-agent is broken. Styling added with presentational html elements and attribute have a low specificity, so anything done in css should automatically override it.

I do, however, think that it's a mistake to build a site with a fairly simple layout using table hacks today. Perhaps it was acceptable a couple of years ago, but browser support has come along very well recently, and imho it really isn't that important to have older browsers have 100% of the experience of recent browsers at the expense of well-coded alternative user-agents.

I also think it's a mistake to develop the site in accordance with IE 6 quirks mode. The xml declaration is redundant, and the only thing it really achieves is to make sure that IE 6 doesn't follow the relevent web standards.
[ Reply To This | View ]
  • Re: problem with no javascript
    by Shift on Monday 03/Mar/2003, @04:28
    I now the @import tips but it is always a hack.

    I consider that Netscape4.x is dead and that you can upgrade with other browsers following w3c standards very easily.
    If we continue making site compatible with Netscape4.x and IE3.x then XHTML and CSS will stay a dream but I don't want that.
    For me using @import is bad because I can't use alternate stylesheet with this :(
    [ Reply To This | View ]
    • Re: problem with no javascript
      by Jim Dabell on Monday 03/Mar/2003, @05:26
      @import isn't a particularly bad hack, it's valid css. If your server is configured correctly, it's usually a matter of a few bytes the first time you access a site that uses it.

      As for making sites compatible with older user-agents, you get this for free by writing valid, meaningful html, and hiding the css. As I said before, if you are relying on css, you are doing something wrong, it's optional for user-agents, there are plenty that will never support css. If you aren't relying on css support, there won't be a problem with older browsers. Okay, so I'm ignoring javascript, but the same argument applies to that as well.

      I don't see what precludes alternate stylesheets with @import, unless there is a browser bug I don't know about that affects this combination. Most of my stylesheets get automatically shielded with @import by using a combination of mod_rewrite and a simple php script.

      The biggest obstacle to xhtml support on the web is internet explorer, it still doesn't support it. ie6 will be in use for years to come, essentially blocking proper use of xhtml for that timeframe (xhtml as text/html is a hack that only works because no browser implements html properly).
      [ Reply To This | View ]

 
The Fine Print: The previous comments are owned by whomever posted them.
( Reply )

  "If there is smoke, there could be a fire." -- Konqi
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]