This site is no longer updated but kept as it still get lots of traffic. You can find more updated information about me at jenswedin.com.


October, 2006


26
Oct 06

Numbers (markup or style)

I had a discussion with a friend about styling numbers. Take for example the number 2000000. It is kind of hard to read as there is no spacing or dots between the numbers. So instead the number would be styled as 2.000.000 (with dots) or 2 000 000 (by spaces). The question is how to make this semantic correct? We both agreed that this is more of a styling issue than markup. But is there any way to make this in CSS?

The only way we thought this could be accomplished was to add span elements, ex.

2<span style="margin: 0 10px">000</span>000

But this solution is not really elegant. Should the server or application add spans when find long numbers? Instead the server or application could add hard spaces but then it is markup and not styling. To add dots is only possible by the server as I can see it, or can the :after pseudo element be used?

Do you have a good solution for this?


25
Oct 06

Firefox 2.0 final (really)

The Fox have left the dev. building and is now out running in the wild.


24
Oct 06

10.000 spams

Hooray, today I celebrate with champagne that my spamfilter for Wordpress, Akismet has killed over 10.000 spams. It is amazing how much comment spam that is sent daily. I wonder if they ever will give up? So, cheers to all you spammers.


19
Oct 06

IE 7 is out

Old news but Internet Explorer 7 is finally out. I will not have the time to try it out for a couple of days. Anyone had a chance to try it out? Any good or bad things to look out for?


8
Oct 06

Even more accessible

I have now added a high contrast layout to this site. To check it out just visit my frontpage, click the A more accessible layout in the grey box and you will get the high contrast layout. The layout is 100% fluid, a larger font-size and a white text against a black background, just normal stuff. I´ve been trying this out for a while on my beta site but could never get it to work until today when I found a new version of the themeswither plugin for WP. Let me know what you think.