|
|
Munchies_Matt wrote: I skied like I did 20 years ago!
That bad, eh?
Marc
|
|
|
|
|
|
My latest candidate on "ugliest functional CSS selector":
#someTable th:not(:first-child):not(:nth-child(3)),
#someTable td:not(:first-child):not(:nth-child(3)) {
display: none;
}
I would so like to meet the design committee for CSS one day. Preferably with a raw fish in my hands[^].
TTFN - Kent
|
|
|
|
|
Ugly. Granted. But how that's exactly 'functional'?
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Part of the monstrosity I'm currently working on wanted the ability to page through columns of a table - first column must always show, then one of the others. That was part of the solution - I just need to update the number in the second :not for each column. So, functional at the moment.
TTFN - Kent
|
|
|
|
|
I thought that you found it somewhere, while haunting news...But...You wrote it!!!
And still came here...Sic transit gloria mundi...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
I had to share my shame.
TTFN - Kent
|
|
|
|
|
We're here for you, brother.
cheers
Chris Maunder
|
|
|
|
|
After looking at that CSS, no wonder Gloria was sick on Monday.
Software Zen: delete this;
|
|
|
|
|
Ugly, maybe, but extremely useful:
Quantity Queries for CSS · An A List Apart Article[^]
One I almost used the other week, to apply different styles to the first item in a list if there were an odd number of items:
.product-box:first-child:nth-last-child(odd)
{
...
}
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I don't see how being able to chain pseudo selectors makes CSS a bad thing. You can format it anyway you want if you're concerned about readability...
#someTable
th:not(:first-child)
:not(:nth-child(3)),
#someTable
td:not(:first-child)
:not(:nth-child(3))
{
display: none;
}
If you don't like the lack of stuff like inheritance, just about any CSS preprocessor these days will give that to you.
Jeremy Falcon
|
|
|
|
|
Don't you work for Code Project???
Marc
|
|
|
|
|
Just the newsletters. My "real" job is elsewhere.
TTFN - Kent
|
|
|
|
|
I love the raw fish dance!
|
|
|
|
|
|
Hi All,
First post after a day NotInThePub, working on a trial basis for the company I had the interview with. Seems not too bad! . Mentioned a way of doing tests using ATE they liked . Met a customer that had an idea for a product that seemed interesting (read so bloombin' weird that only he and a friend wanted one) but do-able. Sadly discussion of money is for tomorrow (talk of covering costs at least!) but all good , need as it has been a little while since I have had to whole early morning thing...
|
|
|
|
|
Sounds good!
But I must say working for a company, for any amount of time, without talking compensation first seems a bit odd. Then again I've not looked for employment for a long time, things may be different these days.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Thanks....
|
|
|
|
|
Sounds great! Good luck with the job!
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Cheers
|
|
|
|
|
An interesting thought, though, is that the company keeps a string of interviewees coming along, each doing their bit for free. I suppose stranger things have happened!
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Please don't say thing like that!...
|
|
|
|
|
Congrats!
So soon your name will change to glennPattonWithburnedFingers.
|
|
|
|
|
Nah, a mix years of bass playing and soldering have seen to that, in fact I have no readable finger prints on two fingers (fun going through US immigration, once I was the only person in the back room at JFK who had a valid visa ), but yeah, point taken!
|
|
|
|