Re: CSS3 selectors
Myroslav Opyr <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.design |
|---|---|
| Organization | Ukrainian Zope Hosting |
| Message-ID | <[email protected]> |
Michael Zeltner wrote: > hey miroslav! :) (or hey opyr?) Myroslav is the Name, Opyr is lastname. > Myroslav Opyr wrote: > [snip] > >> And make the current JavaScript run in the case the browser that >> renders the page does not support these CSS3 selectors (IE). > > ie needs another span for that, otherwise the icons flicker on hover. > but anyway: thats one of *my* (not plones yet) plans for 2.1 to dis or > enable some things with javascript. http://www.alistapart.com/articles/sprites/ of the mezzoblue autror says a bit about flickering and flicker-free rollovers. The idea of the rollover is two actual background images in one file with different offsets. And then placing image with negative offset backgrounf to position necessary part in object rectangle. The described solution should solve flickering problem in IE, save some bits of download of GIFs, 8-bit PNGs as image header information and color palette being transferred once only. The described solution would be acceptable in colophon. I'd put all buttons along with plone button in colophon.png one below one. and make the plone button has 0 position, Section505 - -15, AAA - -30, XHTML - -45, etc... I'd even try to place all icons Plone is using in one icons.png file in a matrix (with websafe palette), and then used that icons for links and other iconlike images. We'd save greatly on download speed as it would be only one request to server to fetch an image the overall page loading time reduces greatly. Ask Limi, it was the reason to remove colophon icons and to replace them with text/css buttons. > another note for our developers: > i cleaned up our wiki (http://plone.org/development/teams/ui/) a bit > and wanted to make a CSS Geddon page to note what techniques we should > use for what in 2.1. see: > http://plone.org/development/teams/ui/IssuesFor21 Regards, m. -- Myroslav Opyr zope.net.ua <http://zope.net.ua/> ° Ukrainian Zope Hosting e-mail: [email protected] <mailto:[email protected]> ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click