Saturday, November 3, 2007

Tabs

Hi all,After some torments I have finally the fine-looking tabs (and cross-brower). These browsers can drive mad! I had to write the special code to change css if browser is IE (I have not just right IE6, I know it works for IE7):
if (window.navigator.appName.indexOf('Microsoft') > -1)
{ var navNodes = dojo.byId('nav').childNodes;
for (var i = 0; i < tagname ="="" paddingtop = "4px">
var navNodesCP = dojo.byId('navCP').childNodes;
for (var i = 0; i < tagname ="="" paddingtop = "4px">
}

I suspect strongly that cause is using of Dojo (because the browsers changes are only on a page where Dojo is used) but it can't be helped.Now the tabs look like:
Oh, my God! Tis blog engine is so glitched! After I have moved the text block before the picture all the styles disappear!
Bye
Time spent: 5 hours

No comments: