Writings

Opera, this is why I hit you... » Wed, Jan 12th 2005 6:35 pm

Because you’re a filthy, uneducated skank!

Ok, that’s a little harsh. Opera’s not a terrible browser, but it does a terrible job of ‘browsing’ my site’s menu. I had to hunt some hideous CSS hack and define its width precisely (333px) to prevent it from stacking the buttons vertically.

The ul#menu object is a list which contains the <li> which make up the menu’s buttons. Those buttons are floated left, but the menu is positioned absolutely to the bottom-right of the header. Gecko and IE expand #menu as needed to fit each button inside, side-by-side. Opera on the other hand just forces a 1px width and sucks its f*ing thumb.

It’s enough to drive me to drink.

Tip Jar

  1. 1 tsguitar on Thu, Jan 13th 2005 1:07 am

    So what’s the CSS hack to feed only Opera something? I’ve been looking for an Opera only hack…

  2. 2 Aaron on Thu, Jan 13th 2005 8:58 am

    You can read all about it here: http://www.virtuelvis.com/archives/2004/01/css-for-opera-7

    It’s Opera 7 though.

    For a collection of hacks, check out this page (The Star-7 hack is dead it seems sad face)

    http://css-discuss.incutio.com/?page=CssHack

Feel free to leave some kind of feedback or pose a question. Most links will be parsed on their own, so you can avoid writing <a> tags. I’ve even taken measures to ensure that long links don’t fubar the page layout. Also, you can get fancy with Markdown syntax if you want.

The e-mail address is required to ID you. I’ll keep it secret. I pinky promise.

 
 

Randomly Generated Image