News for hackers. Stuff that matters.
Re:CSS Techniques I Wish I Knew When I Started Designing Web... by nopassrecover on Tuesday December 22, 2009 @12:05PM (#1010238)
Incidentally there is incorrectly styled example code in this post that breaks out of the bounds of the page.
Re:CSS Techniques I Wish I Knew When I Started Designing Web... by RevRal on Tuesday December 22, 2009 @06:33PM (#1011086)
I own a coffee mug with a similar problem !

http://www.zazzle.com/css_is_awesome_mug-168716435071981928

Re:CSS Techniques I Wish I Knew When I Started Designing Web... by nopassrecover on Tuesday December 22, 2009 @07:14PM (#1011150)
Hahaha love it!
Re:CSS Techniques I Wish I Knew When I Started Designing Web... by lisper on Tuesday December 22, 2009 @02:03PM (#1010501)
Which is further evidence that CSS still should not be used for layout.

http://www.flownet.com/ron/css-rant.html

(How do you do links in HN comments? Markdown syntax doesn't seem to work.)

Re:CSS Techniques I Wish I Knew When I Started Designing Web... by isleyaardvark on Tuesday December 22, 2009 @03:34PM (#1010729)
I prefer this rant: http://meyerweb.com/eric/thoughts/2009/02/17/wanted-layout-s...

CSS still has the advantage over tables of better separating content from presentation. A big problem with CSS is it's still awkward to deal with layout, so it's somewhat understandable some people just prefer to give up and use tables.

Re:CSS Techniques I Wish I Knew When I Started Designing Web... by lisper on Wednesday December 23, 2009 @02:12AM (#1011736)
That is indeed a better rant :-)
Re:CSS Techniques I Wish I Knew When I Started Designing Web... by edd on Tuesday December 22, 2009 @02:40PM (#1010580)
You write a url with a http:// and it will turn it in to a link for you. See the formatting document[1] for all the formatting available to you.

[1]:http://news.ycombinator.com/formatdoc

Re:CSS Techniques I Wish I Knew When I Started Designing Web... by lisper on Tuesday December 22, 2009 @02:56PM (#1010626)
Oh, sorry, that's not what I meant. What I meant was how do I make a link with some text other than the URL. (Apparently it's not possible in HN comments.)
Re:CSS Techniques I Wish I Knew When I Started Designing Web... by grinich on Tuesday December 22, 2009 @04:10PM (#1010813)
I think the reason is so you know where the link goes before clicking, which prevents rickrolling.
Re:CSS Techniques I Wish I Knew When I Started Designing Web... by telemachos on Tuesday December 22, 2009 @07:42PM (#1011193)
Can't help but ask: is rickrolling a serious concern around here? If so, a followup question: Really?
Re:CSS Techniques I Wish I Knew When I Started Designing Web... by mcav on Wednesday December 23, 2009 @02:09AM (#1011727)
1. No. See #2.

2. Yes.

Re:CSS Techniques I Wish I Knew When I Started Designing Web... by rimantas on Tuesday December 22, 2009 @03:34PM (#1010730)
Only if you do not know CSS or do not know the capabilities of modern browsers. But in this case you should be not writing HTML or CSS at all.
Re:CSS Techniques I Wish I Knew When I Started Designing Web... by rimantas on Tuesday December 22, 2009 @06:48PM (#1011111)
I guess I should clarify a bit: every modern browser (and in this case IE8 is also counted in) has support for display: table-* property.

On the other hand, 2003 was the last year when I did layout using table. I did pixel-perfect cross browser layouts with CSS five years ago, and they had to work in IE5 back then. So yes, I do know what I am talking about and stand by my position.

Re:CSS Techniques I Wish I Knew When I Started Designing Web... by fhars on Wednesday December 23, 2009 @08:13AM (#1012011)
I did pixel-perfect cross browser layouts with CSS five years ago

Using just semantic markup, or with lots of divs within divs that have no justification to be there except to allow styles to be attached to them?

"Great pyramids of DIV" based layout is at most marginally better than table based layout.

Re:CSS Techniques I Wish I Knew When I Started Designing Web... by rimantas on Wednesday December 23, 2009 @10:53AM (#1012225)
Yep, mostly semantic markup. Sure then you could not avoid some extra div there and here, but that did not come even near the <td> mess. I've tried to stay away from divitis and classitis as much as possible.
Re:CSS Techniques I Wish I Knew When I Started Designing Web... by GHFigs on Tuesday December 22, 2009 @09:18PM (#1011339)
And your rant is still misinformed, one-sided, and extremely overreaching in its conclusions.
Re:CSS Techniques I Wish I Knew When I Started Designing Web... by ubernostrum on Wednesday December 23, 2009 @04:25AM (#1011834)
Sadly, you probably won't win. People who can recite from memory dozens of combinations of obscure compiler flags to make their code build have collectively decided that CSS is just too hard and inconsistent to learn and work with.

(or, in the case of the particular HN username here, people who'd like you to think they know all the differences between multiple Lisp families and multiple implementations within families)

Re:CSS Techniques I Wish I Knew When I Started Designing Web... by lisper on Wednesday December 23, 2009 @09:16PM (#1013255)
Are you referring to me? I certainly don't want anyone to think that I "know all the differences between multiple Lisp families and multiple implementations within families". Life is much too short to spend a lot of cycles on trivia.
Re:CSS Techniques I Wish I Knew When I Started Designing Web... by walkon on Tuesday December 22, 2009 @03:58PM (#1010782)
For me it is easier to understand that line without it wrapping.
Re:CSS Techniques I Wish I Knew When I Started Designing Web... by nopassrecover on Tuesday December 22, 2009 @04:01PM (#1010785)
Perhaps but it's visually incorrect. If readability was the primary concern then the extending line should have a background, ideally in a way that fits the design (say having the appearance of a tab on the side of a notebook).
Re:CSS Techniques I Wish I Knew When I Started Designing Web... by josefresco on Tuesday December 22, 2009 @04:06PM (#1010804)
Die troll die.

Seriously that's the lamest sort of reply we see here on Hacker News. Sniping other peoples work is low (this isn't Slashdot).

Re:CSS Techniques I Wish I Knew When I Started Designing Web... by nopassrecover on Tuesday December 22, 2009 @06:09PM (#1011044)
When your post is about your expertise in CSS you better be demonstrating expertise in CSS.

While we're on the subject of adding little value, the impression I got from the article was that this was yet another Top-10 style compilation of commonsense that you could find on other sites like A List Apart. Instead, I would prefer to read more about the OP's actual experiences and growth, i.e. something unique and original.

There is nothing troll-like about criticism, particularly when an improvement is suggested. Instead, I would look towards yourself and your "Slashdot" witch-cry.

Re:CSS Techniques I Wish I Knew When I Started Designing Web... by josefresco on Wednesday December 23, 2009 @08:14AM (#1012015)
So only those who are perfect are allowed in a debate? Somehow (despite my karma hit) I doubt I'm the only one who doesn't believe that. Sometimes we can discuss ideas even if we aren't fully compliant ourselves.
Re:CSS Techniques I Wish I Knew When I Started Designing Web... by nopassrecover on Wednesday December 23, 2009 @09:42AM (#1012122)
You've twisted my intention and words and the karma hit is probably because of your unsupported attack. I actually assumed the author had some authority and was pointing out a) a small error needed correcting and b) that even the best have trouble taming CSS.

For reference i'm slowly building up articles about things I don't pretend to be an authority on which you can happily attack in due course.