Post Archive

› May 11, 2002

More CSS Goodness, and More

  • Reported by Evan
Scott Andrew has posted some explanations/tutorials on block level vs. inline elements (yesterday, today, and more to come?), and has posted descriptions on the use of the same, and even goes so far as to show how to convert an inline element into a block level element and vice versa. Remember: "CSS is for separating structure, not content, from presentation."

Also of note today is Dan's release of his rotating image PHP script at hivelogic.com. He plays fast and loose with his code and is always willing to share.

Comments

1. May 13, 2002 05:11 AM

Quote this comment

michael Posted…

Dan’s script is cool. I have a similar randomizer function I use to randomly rotate text or images, depending on whether you pass an argument “text” or “img”. I also tell the function where to find the image as an argument of the function call. Not sure if my method is the best, but might suit someone looking for this kind of flexibility. You call it like this: randomizer(’[type:img|text]’,’[server path to directory],’[http path to directory]’); Check the code if you’re interested.

2. May 13, 2002 08:00 PM

Quote this comment

Dan Posted…

Michael’s script is nice and quite flexible. Good work!