10 CSS Goodies Opera Needs
Sunday, September 6, 2009 3:01:51 PM
(10) box-shadowWhether you're trying to create the illusion of depth or give your paragraphs a healthy glow, there are hundreds of reasons to use and love box-shadow!
Sometimes a single shadow can transform a borderline-average web site into an aesthetic masterpiece.
(9) Viewport UnitsSure, there's nothing eye-catching or glamorous about defining length in terms of a browser's viewport.
But scaling text to its window — without Javascript — is far more important to me than a thousand shadows vying for my attention.
(8) calc()Behold, another revolutionary feature toiling in obscurity!
Defining length as a function of multiple units would change the very potential of web design.
Foundational changes like this are always remembered — ancient Rome is revered for its plumbers, not its gladiators.
(7) Giant Angry BearPurists argue that a giant angry bear has no place in a presentational language. Still, it remains in the spec, and other vendors have implemented (to varying degrees) this bloodthirsty monster.
Opera needs to add support just to keep up.
(6) Multiple BackgroundsMany hacks exist solely to overcome the draconian limit of one background.
Why should developers strain and markup become bloated? Background images could — should — be divvied up and reused, reducing code and bandwidth.
This is about more than eye candy.
(5) GradientsFor too long, developers have been constricted to a palette of solid colors and images. I say it's time to whet our palates with a panoply of shimmering gradients!
Ravishing radials and luxurious linears make the most hardened developers swoon.
(4) 2D TransformsWouldn't it be great if browsers could replace image editors for simple tasks?
Do you want an image stretched? Rotated? Twisted out along a convoluted transformation matrix? If you answered “yes,” why stop at images?
The potential is staggering.
(3) TransitionsCartographers agree: the quickest route from Point A to B is a straight line.
But when it comes to displayed content, sudden changes to a page can be... disorienting. Transitions show people exactly what is changing, and where.
(2) border-radiusSharp edges are dangerous. Uninviting. Foreboding.
The most visually pleasing sites often use curves to lead the eye, welcoming us to their content. Border radii create those curves.
Imagine the opportunities for widget developers — with or without radii capping.
(1) Multi-column layout
In the world of newspapers, any waste of space is an unacceptable cost.
The web charges a similar toll for wasted horizontal space — the cost of scrolling, which visitors hate. Passionately.
It's a price we can no longer afford.














1 2 3 Next »
Gyrobo # Monday, September 7, 2009 2:37:39 PM
Duaneborri # Tuesday, September 8, 2009 5:23:13 PM
starree # Wednesday, September 9, 2009 2:10:38 AM
lusciupyptc # Wednesday, September 9, 2009 9:34:29 AM
Gyrobo # Wednesday, September 9, 2009 5:26:16 PM
Greg Smithgregsmithsays # Wednesday, September 9, 2009 6:38:16 PM
Stuff like this is like GOLD, gold underpants even !
Good luck - you talented bastard, pistols at dawn ?
(I've not voted yet and I'm running out the door now (out of office till Saturday) But you know you can count on my vote for sure !)
Gyrobo # Wednesday, September 9, 2009 10:16:28 PM
Gyrobo # Thursday, September 10, 2009 2:17:05 AM
I thought that people competing to write articles about web properties would want to read an article about web properties!
Maybe I read the right writing wrongly.
Nikkodarkhitsugaya # Thursday, September 10, 2009 6:17:03 AM
favorited too
Andrew James Forrestandyjungle # Thursday, September 10, 2009 6:57:09 AM
Linhbrokenheartvn # Thursday, September 10, 2009 3:14:43 PM
Changing WomanChanging_woman # Thursday, September 10, 2009 4:58:23 PM
Just I day go I were learning CSS through an on-line tutorial..
its a nice tutorial if anyone up here is into CSS
http://www.w3schools.com/Css/css_howto.asp
favored!
Gyrobo # Thursday, September 10, 2009 8:13:38 PM
I only hope that if I don't win, the public support I've seen for multi-column text gets some traction going at Opera.
Marco Romerromer6 # Friday, September 11, 2009 2:13:44 AM
I have to agree with most of your expectations on future releases of Opera. The multi-column is a must since I HATE to scroll down.
I´m not sure about the bears though... I prefer to see them roaming free than embedded in some kind of weird code! Long live the angry bears!
You get my vote and my wishes of good luck!
PS: I guess I just called you a geek, hope you don´t get mad at me. I am a geek myself if it evens things a little.
Gyrobo # Friday, September 11, 2009 2:16:53 AM
leenalesswoodsend # Friday, September 11, 2009 3:46:00 AM
Someone needs to fill the void Gyrobo. *hint hint*
I sooo wanna do more with my page but I am totally in need of the dummy instructions
Greg Smithgregsmithsays # Friday, September 11, 2009 6:31:55 AM
Linhbrokenheartvn # Friday, September 11, 2009 2:52:10 PM
Gyrobo # Friday, September 11, 2009 4:54:05 PM
I've been partially maintaining the Wikipedia page on CSS property support, so you can (hopefully) easily find which multi-column properties have support among which browser. The Mozilla Developer Center has an article on the state of columnar support and its uses, but here's the gist:
Gecko supports "column-count", "column-gap", "column-width" and as of 1.9.1 (Firefox 3.5) "column-rule". These all have a proprietary -moz- prefix (i.e. -moz-column-gap).
Webkit supports the same properties, but with a -webkit- prefix, and also has support for the breaking properties and "columns" shorthand.
Personally, I wish the module would be updated so that "column-span" could use the intrinsic width of an element (fit-content). Maybe an "auto" value? Then the "1" value could become "none", indicating no spanning...
Now I know I'm getting too technical.
@Greg --
I also loved that line.
@Brokenheartvn --
Oh, they will be. One day.
leenalesswoodsend # Friday, September 11, 2009 5:42:59 PM
the wiki page would explain why elements were not working in what I wrote.
Gyrobo # Friday, September 11, 2009 5:47:45 PM
<style> p.multi-col { /* Firefox */ -moz-column-count: 2; /* Safari/Chrome */ -webkit-column-count: 2; /* Browsers with full support for this property */ column-count: 2; } </style> <p class="multi-col">Text in here is spread out over two columns.</p>Gyrobo # Friday, September 11, 2009 5:51:18 PM
<style> p.multi-col { /* Firefox */ -moz-column-width: 100px; /* Safari/Chrome */ -webkit-column-width: 100px; /* Browsers with full support for this property */ column-width: 100px; } </style> <p class="multi-col"> Text in here is spread out over one or more columns, each with widths of 100px. </p>Gyrobo # Friday, September 11, 2009 5:57:21 PM
<style> p.multi-col { /* Firefox */ -moz-column-width: 100px; -moz-column-gap: 3em; -moz-column-rule: 2px solid blue; /* Safari/Chrome */ -webkit-column-width: 100px; -webkit-column-gap: 3em; -webkit-column-rule: 2px solid blue; /* Browsers with full support for this property */ column-width: 100px; column-gap: 3em; column-rule: 2px solid blue; } </style> <p class="multi-col"> Text in here is spread out over one or more columns, each with widths of 100px. There are 3em between columns, with a solid blue bar 2px wide at the center. </p>Matt AKA Ironicsupermathew # Friday, September 11, 2009 9:46:47 PM
Gyrobo # Friday, September 11, 2009 10:55:46 PM
Gyrobo # Friday, September 11, 2009 10:56:48 PM
Duaneborri # Saturday, September 12, 2009 12:15:19 AM
Matt AKA Ironicsupermathew # Saturday, September 12, 2009 12:26:36 AM
Greg Smithgregsmithsays # Saturday, September 12, 2009 5:33:25 AM
http://www.tijuana.fr/wp-content/uploads/2009/05/roflmao.jpg -
leenalesswoodsend # Saturday, September 12, 2009 2:07:21 PM
Gyrobo # Saturday, September 12, 2009 2:22:08 PM
But the template does change from blog to blog, so you will need to repeat the process for multiple blogs.
leenalesswoodsend # Saturday, September 12, 2009 2:40:24 PM
leenalesswoodsend # Saturday, September 12, 2009 2:41:48 PM
Gyrobo # Saturday, September 12, 2009 4:52:50 PM
<head> <style> /* CSS goes here */ </style> </head>Greg Smithgregsmithsays # Sunday, September 13, 2009 4:27:56 AM
silly me !
thx gyrobo
Bencharqui Hakamrowley8 # Sunday, September 13, 2009 6:39:41 AM
Check out my article and add to your favs if you enjoy it, cheers
http://my.opera.com/rowley8/blog/2009/09/11/destiny-calls
Winterwinterdawn # Sunday, September 13, 2009 9:16:23 AM
please also support me at http://my.opera.com/winterdawn/blog/2009/09/13/to-catch-your-eye thanks!!!
Greg Smithgregsmithsays # Sunday, September 13, 2009 12:09:15 PM
leenalesswoodsend # Sunday, September 13, 2009 1:43:47 PM
("right" substituted subsequently with "center" and "left")
leenalesswoodsend # Sunday, September 13, 2009 1:49:59 PM
p style="float:right;width:33%;margin-left:1px;padding:1px;font-size:1.0em;margin:10px;"
leenalesswoodsend # Sunday, September 13, 2009 1:53:21 PM
[IMG=http://files.myopera.com/lesswoodsend/Smilies/blinky%5B1%5D.gif -
Gyrobo # Sunday, September 13, 2009 2:11:00 PM
<head> <style> div.columns-container p { width: 33%; float: left; } </style> </head> <body> <div class="columns-container"> <p>Column 1</p> <p>Column 2</p> <p>Column 3</p> </div> </body>You don't need the div tag, it's just a way to keep the columns separated from the rest of the page -- so there's no conflict with the width of any other element. Also, remember to float left instead of right. If you float right, column 1 would end up on the far right, while column 3 would be on the far left.leenalesswoodsend # Sunday, September 13, 2009 2:40:41 PM
Gyrobo # Sunday, September 13, 2009 2:46:10 PM
Basically, if you're using a transitional doctype, or no doctype, the width includes an element's padding and border -- in Internet Explorer.
leenalesswoodsend # Sunday, September 13, 2009 4:19:43 PM
Gyrobo # Sunday, September 13, 2009 4:34:15 PM
<head> <style> div.columns-container ul { padding: 0; width: 33%; float: left; color: #DC143C; font-size: 12pt; } strong { color: #FF1493; font-size: 14pt; } </style> </head> <body> <strong>List Name</strong> <div class="columns-container"> <ul> <li>Word 1</li> <li>Word 2</li> <li>Word 3</li> </ul> <ul> <li>Word 4</li> <li>Word 5</li> <li>Word 6</li> </ul> <ul> <li>Word 8</li> <li>Word 9</li> <li>Word 10</li> </ul> </div> </body>It's important to set the padding to 0, because by default a UL will have padding that will mess up the widths -- you'll have another case of the third column going onto the next line. This is why multi-column layout would be such a nice thing to have!Greg Smithgregsmithsays # Sunday, September 13, 2009 4:47:32 PM
<style type="text/css"> #FRAME5 {position:absolute; left: 310px; top: 1758px; width: 166px; height: 93px; z-index: 100 } </style> And then <div id="FRAME5"> <iframe name="FRAME5" width="166" height="93" src="cb.htm" frameborder="0" scrolling="no"></iframe> </div>Works nicely for HOVERING IFRAMES generallyleenalesswoodsend # Sunday, September 13, 2009 5:39:34 PM
still clueless
leenalesswoodsend # Sunday, September 13, 2009 5:48:56 PM
Gyrobo # Sunday, September 13, 2009 6:06:00 PM
Greg, you're right. I was just thinking about using absolute positioning to build some columns. It can't be any worse than hacking around some floats.