Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 04-10-2010, 02:49 AM first child for ie6
Ultra Talker

Posts: 254
Trades: 0
i have used the technique from this website
http://mauzon.com/pseudoclasses-firs...child-for-ie6/

whereby ie6 will support first child and last child

i would like to display a background image for the 1st list item i have tried different combinations however the background image that i want is not being displayed for the 1st list item it is working if i want a background color however what i need is a background image so i guess the issue is with the syntax or the quotes

can anyone look at the code and let me know how to fix this

my css code

.topmenu li {background-image: expression(this.previousSibling==null?url(‘absolut e/path/to/topmenu_divider.jpg’):url(‘absolute/path/to/topmenu_divider1.jpg’));}


any help will be appreciated

thanks
sudhakararaog is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-10-2010, 07:58 AM Re: first child for ie6
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Why bother for the minority of user that are stiil stuck with IE6?

does it degrade "gracefully" in IE6 without using the resource hogging expressions?

Do your site logs indicate a high percentage of IE6 users?

Is there some specific reason you HAVE to support IE6?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 04-10-2010, 08:47 PM Re: first child for ie6
Ultra Talker

Posts: 254
Trades: 0
yes based on the nature of website it should be supported for ie as well
sudhakararaog is offline
Reply With Quote
View Public Profile
 
Old 04-10-2010, 11:03 PM Re: first child for ie6
Ultra Talker

Posts: 254
Trades: 0
i have also used another method from this website
http://www.pathf.com/blogs/2008/04/hacking-the-fir/

please look at the example i have done at
http://sudhakargolakaram.co.in/files/list.html

only in ie6 the 1st list item is not showing a different background color rest of the browsers including ie7 are showing a different background color

i have followed the same steps as mentioned at
http://www.pathf.com/blogs/2008/04/hacking-the-fir/
but in ie6 i am not getting a different background color

please advice.

thanks
sudhakararaog is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to first child for ie6
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.42502 seconds with 12 queries