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: Content Management System, CMS, PHP, MySQL, Able Net Design, Web Design, Web-Design, CSS, XHTML, Webdesign, CSS, Press Release, PR, Sphere, seo, online marketing, search engine optimisation, search engine optimization, WebTrends, author, tour, web2.0, web 2.0, Ruby On Rails, ruby-on-rails
Gain control of your website NOW!.
0 Comments:
Post a Comment
<< Home