A new look for LXer
It's been 10 months since I started LXer, and the layout hasn't changed much since then. Today I made some small changes, adding some color and making it a little nicer and friendlier. I hope you like it. |
|
|
Comments (13)
dave
I don't want to strike a bad note here, but I really, really think the Netscape 4 argument is a dead horse. In fact, they buried it and there was a funeral.
Regardless, CSS based sites look better in Netscape 4 than any other modern site. The idea is to use a CSS directive that Netscape 4 won't understand (like @import) and Netscape 4 users will get the default/no theme version. Take a look at my website http://www.mojavelinux.com or "A List Apart" http://www.alistapart.com with styles turned off. You will see that they look very acceptable. Granted they will only layout with the raw html style, but the semantic aspect IS delivered. To me, it is a very acceptable tradeoff. Styles are only meant as a decorator, playing little to no role in the content delivered.
Again, I am not saying to forget Netscape 4 users. What I am saying is consider the semantic aspect of your site to be of higher importance than supporting an antiquated browser. There isn't a reason in the world that people should still be using Netscape 4 anyway. So give them what they ask for, an old style of rendering, the default styles of html. I don't see how one can disagree with this argument.
dave
Also, < and the like works in forms, but gets taken out of the submitted text during previews (turned into '<'), forcing a preview, fix entities, preview loop if one wishes to post anything with a less-than sign in it. Please fix.
The latter is caused by the PHP function htmlentities() being called upon Previewing your work. It's not really a bug that you are describing, but rather undesirable behavior. Do you have a better idea? The & needs to be changed to & amp ; and how do you know that the ampersand is not part of an entity? It's a difficult situation that as far as I know has not been solved.
dave
As to the second, since this is the contents of a <TEXTAREA> we're talking about, you should never touch the “entitiness” of it except to actually output it. If the user does no preview, that's their problem. For the first preview with an entity, you might want to drop a warning line above the <TEXTAREA> Just In Case, but that’s as far as I’d go by way of processing the actual preview text.
This post uses “, ’ etc for quotes and apostrophes, and they’re translated to the correct (well, functional) printable characters in the first preview, then mutated into “?” in the second preview (and presumably also in any followup post). That’s not useful behaviour.
dave
Quoting:Dave, the hardcoded snippet makes it kinda hard to work with my favourite background colour. Could you start the CSS revolution by simply turning that into a or something like that with a matching CSS stanza?
This is finished. It's tr.newswire_byline.
best, dave
Post a comment
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:Sign up and post (it is free) or Log in and post

Many people (http://www.alistapart.com/articles/practicalcss) reached this epiphany and been extremely satisfied with the result. Besides, there are extremely compelling reasons to do so that align with the goals of lxer. It makes theming more flexible, it makes pages more accessible to text-based and mobile devices, it reduces the size of the pages, and it helps them to be indexed and scraped better (since tags are more semantic, just be sure to make liberal use of the "id" attribute). I could point you to various sites, but you would find them just as easily with google. csszengarden.com is the staple first move.
If you feel you are too busy, I encourage you to enroll this task in a challenge for lxer visitors. Given that the site is not very busy, though, it probably wouldn't take too long to do.
Good luck!