Archives for November 2006
You are currently browsing 3 article(s) published in November 2006, please try the search if you can't fint what you're looking for.
100% Class-free code!
Wednesday, November 22, 2006
I'm proud to announce that from now on exscale.se is 100% class free. Thanks to > + :first-child :last-child etc I recently removed every class i used to have and i still have control over every element on the entire site.
There is one exception tho, if u use [ code ] (without the spaces) to insert a code block, that paragraph of code gets the class "codeblock".
Because there is no way for me to know where a p.codeblock might appear in your comments and because i can't be arsed to add #comment-XXX p + p + p {/* codeblock styling... */} every time a comment (or post for that matter) contains a code block this is still necessary.
Luleå Renhållningen AB
Monday, November 13, 2006
Made this one quite some time back, must've forgotten to post about it.
XLNT Catering
Monday, November 13, 2006
Recently finished coding this for a friend at work. She designed it, but she asked me to code it.
I got to create my own kind of "sifr", but instead of flash i use a php-generated png image. Unfortunately you can't copy or select the text, but the text-to-image replacement is done using javascript so all the headings are proper text in the HTML.
As you can see (if you've checked the site out) the menu item pointing to the page you are currently on always needs to be furthest to the left. I solved this using a body-id and an id for each menu-li, and then positioning the selected menu item absolutely at left: 0; together with padding in the #nav ul.
Check the css is you're really interested.





