Archives for June 2007
You are currently browsing 3 article(s) published in June 2007, please try the search if you can't fint what you're looking for.
Skillnaden Mellan Attribut, Tagg Och Element
Friday, June 29, 2007
Verkar som att det fortfarande är lite oklart för vissa vad taggar, attribut och element egentligen är.
Man hör ofta saker som "alt-taggen" och de allra flesta säger tagg när det ska vara element.
Jag har gjort en fin liten bild här som illustrerar skillnaderna och hoppas att de som läser det här och lär sig något börjar säga rätt.
- Continued...
- Comments are off
- Filed under (X)HTML, Web Standards
IE Double Padding Bug
Wednesday, June 13, 2007
Couldn't find anything about this on Google but there seems there's not only a double margin bug in IE but also a double padding bug.
I haven't been able to recreate the bug (although haven't tried much) but it seems to occur when an element is used to clear other elements. Then the clearing element will get double padding-top.
I've experienced this a few times but, as i said, never found any information about it.
Perhaps someone reading this knows more about it? What exactly triggers the bug and if there's a fix (part from simply reducing padding by 50% in IE).
I'll try to recreate the bug and post a demo-page.
Update
IE8 fixes this.
From: http://msdn.microsoft.com/sv-se/library/cc304082(en-us,VS.85).aspx (emphasis mine)
Floats
Many changes have been made to float behaviors, fixing many of the most troubling float issues encountered with prior versions of Internet Explorer, including those caused by the requirement of the hasLayout property. The hasLayout functionality has been removed in Internet Explorer 8. The following are some of the issues fixed:
- Cleared elements don't clear other nested floats when they don't share a parent.
- Cleared elements after floats have doubled top padding.
- Comments are off
- Filed under CSS
Get Firefox Now, Please
Tuesday, June 12, 2007
I can see in my stats that quite a few people who visit my site still use IE.
Please try a real browser and you'll see how much fun it is when you can actually experience everything that "web 2.0" has to offer.
- Comments are off
- Filed under Other





