CSS tweaks; pingback yet again

Jump to menu

22 August 2003

CSS tweaks

Dave Shea: Browser Dependencies. ‘So now I develop in Firebird, and test later in IE.’

Supposedly this means that once you get everything right in Firebird, the better broswer, it’s only hacks from there.

Except…I’d written a valid style sheet that produced a look almost identical to this one, and it was valid, but broke horribly in Opera and IE. This lead me to do browser sniffing (not based on User-Agent values, but Accept headers) and only serve this look to users of Gecko-based browsers.

It’s all fixed now, though. For some reason I’d absolutely positioned the header (top left) when it would be there anyway. I blame this on the original design, which was ‘flipped’ and so required some absolute positioning. Like I said, now it isn’t, and there are only two floats and some tricks with borders and margins in the layout. Simple.

Well, there’s an interesting effect in IE, where the right-floated menu drops behind the background image. It doesn’t infringe on the text, but it does hide the rollovers. And Opera seems to calculate text sizes differently to the other two, so the bar on the left doesn’t line up properly sometimes. In fact, Opera recalculates the text size on a refresh, which is strange.

(The solid column down the left is a floated div, but also a border added to the other div. This has the added benefits of making things like lists far easier to style properly.)

One final thing: blockquotes now have a different background colour, so you can actually spot them easily.

Pingback yet again

After some frustration, I’ve fixed (for a low value of fixed) the ASP XML-RPC library. So now I can pingback.

Or so you’d think. In truth, after some basic testing, it appears I can pingback some sites but not others. I can ping my own site, for instance, and probably b2-based weblogs, but Dummy Blog still gives me a stack trace.

On the plus side, I can receive pingbacks. That’s a small plus, though, as they’re just getting thrown into a database table, likely never to be seen again. Ah, progress.

All this time without it working also let me write a function to grab the links from a string, and ping them, either automatically or by outputting a form, which works without any customisation. As deciding what is and what isn’t pingback-able is very much a case-by-case thing, that should be a sweetener.

Oh yeah…

I missed a week. Shoot.

The site is an X-Phile, although not actually listed there (why bother?). It’s not hard. Actually, neither is validating comments; not really, anyway. Validating them and restricting the markup to non-harmful stuff is. Off-the-cuff idea: a schema that subsets XHTML title for use in weblog comments? Certainly something to investigate.

Back to Pie? Most of the names I’ve seen have been pretty awful (and buddy, I know my awful names). Atom is…I just don’t know how to describe what a bad name it is, but I do know I’m using too many ellipses at present. At least they got rid of Feedcast — cheesy, technical, and vague, all at once!

I had a bad start to the fantasy football, relatively. I still ended up top of two of the six leagues I’m in (don’t ask), but I know from last season that it’s almost required to go above 50 points every week. Current team:

Sel Name Tm Po Pw Cn Cp Ce Ne
XI Murray WW 2 2 4.0 4.0 4.0 CA(h)
XI Pistone EV 1 1 4.5 4.5 4.5 FU(h)
XI Sommeil MC 6 6 5.5 5.5 5.5 PO(h)
XI Svensson M SO 1 1 5.5 5.5 5.5 BC(h)
XI Barry AV 4 4 6.5 6.5 6.5 LI(h)
XI Thompson BR 6 6 7.0 7.0 7.0 BW(a)
XI Nolan BW 1 1 6.5 6.5 6.5 BR(h)
XI Sinclair MC 4 4 8.0 8.0 8.0 PO(h)
XI Henry AR 6 6 12.0 12.0 12.0 MI(a)
XI Anelka MC 9 9 10.0 10.0 10.0 PO(h)
XI van Nistelrooy MU 4 4 11.5 11.5 11.5 NU(a)
Sub Niemi (unavailable) SO 0 0 5.5 5.5 5.5 BC(h)
Sub Jensen CA 1 1 6.9 7.0 7.0 WW(a)
Sub Higginbotham SO 6 6 3.8 3.5 3.5 BC(h)
Sub McEveley BR 0 0 3.0 3.0 3.0 BC(a)