Archive for the ‘CSS’ Category

RGBa and -webkit gradients: Yes.

Wednesday, May 27th, 2009

When @malarkey asked if RGBa worked with -webkit gradients, my own curiosity couldn't resist a quick and fugly test to see. Yes indeed, it works: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"   "http://www.w3.org/TR/html4/strict.dtd"> <html>   <head>     <title>Gradient Test</title>     <style type="text/css" media="screen">       body {         background-color: green;       }       div {         background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(50,50,50,0.8)), to(rgba(80,80,80,0.2)), color-stop(.5,#333333));         width:80%;         height:5em;         margin:0 auto;         padding:1em;         text-align:center;         color:white;       }     </style>   </head>   <body>     <div>Hello World!</div>   </body> </html>

The woes of CSS color in print typography

Sunday, December 7th, 2008

As I was working through some documentation on styling CSS for print recently, I came across an oddity. Colors that I was specifying in my print styles were not getting represented properly at print time. Specify a nice shade of gray for some text? Maybe want to ghost print something ...

Foundation Website Creation with CSS, XHTML, and JavaScript

Friday, August 8th, 2008

I would have announced this earlier, but somehow with the trip to Taiwan, the subsequent jet lag, and the whopper of a cold I had this past week has delayed me from getting this post out until now. But here it is: My book titled "Foundation Website Creation with CSS, ...

Change is Coming

Saturday, February 19th, 2005

Change is coming: WordPress » Development Blog » Announcing WordPress 1.5 I have been using WordPress at work for some collaboration and info sharing projects and it has been a huge hit. I found the thing very easy to install and customize. I like it ...

Apply CSS to Safari Form Buttons

Monday, October 11th, 2004

While the Aqua form elements in Safari are cool and all, I do sometimes wish I had the ability to apply CSS colors to the scroll bars and buttons. Well at least for the buttons, there's a solution. For form buttons, you can always use <button type="submit">Submit</button> method instead ...