<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8272415\x26blogName\x3dAble+Net+Design+Diaries\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dSILVER\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://ablenetdesign.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://ablenetdesign.blogspot.com/\x26vt\x3d270132006207329935', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe", messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { 'blogger-ping': function() {} } }); } }); </script>

Official Sony Online Store

Tuesday, August 08, 2006

CSS friend or foe

Today I have been working on my top secret application for the web. Keeping in tune with web 2.0 I have been using complete CSS for layout.

I wouldn't call my self a CSS guru but I have a fairly good understanding about how things work and should work. Of course my staff are much better but because of the nature of the top secret application I must keep this completely to myself.

Of course like any good designer I am working with IE and FF for cross browser compatability. Let me just say it is a pitty that not everyone uses FF.

The first problem I came to was using custom bullets. Thats rights! something that should be easy is not. I am still having problems with it. Someone on the web suggested:

ul { list-style-image: url(images/tick.png) }

That works with FF but not IE. IE still displays that default "disc" bullet along with the new image. So then there was this suggestion:

ul { list-style-type: none }
li { background: url(images/tick.png) no-repeat }

No luck there either. So I finally had to submit a post to the WSG (web standards group) which my company is a member of to hopefully get an answer.

As I mentioned before this design is keeping with the web 2.0 culture of the internet at the moment. So of course rounded divs are needed. I have played with rounded divs using images before but being different and web 2.0ish I wanted to play with rounded divs using JavaScript. So I found curvycorners and am just trying to implement them at the moment. Who knows how that will work.

Just received a reply from a member of WSG.

ul { list-style-type: none; }

ul li { background: url(images/mybullet.gif) no-repeat 0 50%;
padding-left: 25px;
}

This could be the solution. I'll find out later tonight. I'm off to play tennis now.

Tags: , , , , , , , , , , , , , , , , , , , , , , , ,

WebFast CMS version 2.0
Gain control of your website NOW!.

0 Comments:

Post a Comment

<< Home