Skip to main content

Fuzzy Shadows at ALA

I have been following this discussion on ALA article for several days now, and I am still confused about the original idea.

I will have to repeat myself:

1. PNG's alpha transparency is supposed to allow us grater flexibility in positioning images over anything else, while maintaining simplicity of markup.
2. The situation with IE support can be resolved by many means (I still like the elegance of Aaron's "Sleight" JavaScript behavior), here is an example.

3. If we still have to match background color with GIFs, we could achieve the exact same results with a lot less effort by arranging elements in a table (yes, table - last time I checked it was still a legitimate HTML element - and, yes, it does support CSS formatting, so the separation of content and presentation shouldn't be a problem):
example 2.

Look... no JavaScript, no conditional comments, no separate stylesheet... I can go on.
Please, explain to me, somebody, why we feel the need to scratch our left ear with our right foot? When nestind empty (therefore, not content-bearing, therefore - presentation-specific, so where is a separation?) DIVs became a better way of design than saving the coding efforts and assuring better browser compatibility by using (dreadful) table, which was created to retain rows-columns positioning by design, and perfectly works?

Forgive me for being fossil, I just want to understand...

Popular posts from this blog

{position:fixed} in iOS 6

I stumbled upon this oddity when upgrading to iOS 6 while working on a mobile advertising project, and it took me a better part of the day to figure out what is going on: all of a sudden an element {position:fixed} stopped working in a correct manner (which is staying put, while the page is scrolling), and started "sticking" to the scrolling page, moving out of the viewport, and then just "jumping" back to the correct location after the scrolling was finished.If you scroll this page , you will see it—hint: that's the one labeled "broken"—assuming that you have a correct device/browser combination. Mine was iPhone4 and iOS 6.0 (6.0.1-6.1.3 behaves just the same). On the original page, where I first encountered the problem, all of my elements were created dynamically using JavaScript, but at the end of the day (literally) it become clear, that the glitch is in the iOS 6 CSS implementation.Here is what happens: if you have an element {position:fixed} whic...

WordPress: How to add custom fonts to a twenty seventeen child theme.

Quick help to those who have tried to find some help and failed (as I have so I have to write the code myself). Assuming that you have your virgin child theme configured and activated: here is a function which goes into the functions.php file (of your configured and activated child theme): function childtheme_twentyseventeen_fonts_url() { $replace_original_font = true; // unless you really like Libre Franklin if ($replace_original_font !== true) { $hyph = '-custom-'; } else { $hyph = '-'; }; $font_families = array( //add your Google fonts and weights (400 and 700 are defaults for normal and bold) here: 'Oswald:200,400,700', 'Lato:200,400,700', ); $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), ); $fonts_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' ); wp_enqueue_style( 'twentyseventeen' ....

Have to do something about something

I recently realized, that I haven't been doing any 3D work for month now. I also noticed, that the last movie I made, wasn't all that exciting of a project. For some reason my interests shifted - again - to another area, which is, in turn, split between standard-based web design, and making music with GarageBand. May be, I should concentrate on something; just may be. May be, I will achieve some sort of recognizable and reputable state in that area, whatever that area would be. May be, people will refer to me as an authority on some obscure subject, like cross-browser implementation of unordered lists, or making Apple-compatible loops, I will become famous, and will receive an incredible job offer (this last statement is about as realistic, as me winning a lottery, considering that I never play). Somebody just sent an email to my wife, asking if she still gives art lessons. I couldn't help noticing custom domain name in the email address, so I checked it out: very decent ...