28, May 2012

negation pseudo-class work around for IE? - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Design and Layout  >  Web Page Design  >  CSS (Moderator: Meth0d)
Topic: negation pseudo-class work around for IE?
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: negation pseudo-class work around for IE?  (Read 1694 times)
Tim Nash
Global Moderator
Community Supporter ?
Internet Junkie
*****
Posts: 2175
5052 credits
Members referred : 2


Venture Skills - New Media & IT group


« on: Oct 27, 2007, 05:41:20 pm »

Ok quick question I've been playing with :not in particular I wanted to use it to detect an external link but of course IE doesn't seem to support it anybody got a hack?
Code:
[href^="http://"]:not([href*="timnash.co.uk"])
{
background: url(exicon.gif) no-repeat 100% 0;
padding: 0 20px 0 0;
}
In a proper browser adds an image at the end of the link Wink in IE does sod all.

Would you like to be an SEO, let me help with, The Tim Nash introduction to SEO alternatively for Social media optimisation take a look at the Venture Skills Blog

Last blog : Its all in the mp3s
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #1 on: Oct 27, 2007, 07:35:00 pm »

I guess I am not the one to help you, as this is the first time I see this option.

If I had to do this, I would do it the php way Smiley

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Tim Nash
Global Moderator
Community Supporter ?
Internet Junkie
*****
Posts: 2175
5052 credits
Members referred : 2


Venture Skills - New Media & IT group


« Reply #2 on: Oct 27, 2007, 11:16:16 pm »

Now that's very defeatist !
plus using php would not be the most sensible way to do this, the alternative would be to use a method similar to http://www.maxdesign.com.au/presentation/external/

Would you like to be an SEO, let me help with, The Tim Nash introduction to SEO alternatively for Social media optimisation take a look at the Venture Skills Blog

Last blog : Its all in the mp3s
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: Oct 28, 2007, 08:48:01 am »

I know that this is not the way to do that, but post this question to webdeveloper.com there is a dutch member (Fang) who can help you with this Cheesy (thats what I do if I need help with CSS)

(I hope he is still a member since my last visits was a long time ago Wink

Tim Nash
Global Moderator
Community Supporter ?
Internet Junkie
*****
Posts: 2175
5052 credits
Members referred : 2


Venture Skills - New Media & IT group


« Reply #4 on: Oct 28, 2007, 09:18:49 am »

I have posted it in a few places apart from webdigity including to a CSS development list, so far lots of hmms but nothing useful, the closest to a decent solution was a combined method but by the time you done that you might has well used the max design method anyway.

Would you like to be an SEO, let me help with, The Tim Nash introduction to SEO alternatively for Social media optimisation take a look at the Venture Skills Blog

Last blog : Its all in the mp3s
Tim Nash
Global Moderator
Community Supporter ?
Internet Junkie
*****
Posts: 2175
5052 credits
Members referred : 2


Venture Skills - New Media & IT group


« Reply #5 on: Oct 29, 2007, 02:26:37 pm »

Well I have written up my experience to date their seems to be no easy workaround for IE Sad
http://www.timnash.co.uk/10/2007/styling-nofollows-css/

Would you like to be an SEO, let me help with, The Tim Nash introduction to SEO alternatively for Social media optimisation take a look at the Venture Skills Blog

Last blog : Its all in the mp3s
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #6 on: Oct 29, 2007, 04:57:41 pm »

So I guess you need to use php in order to make this work, but does it worth the time and overhead?

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Tim Nash
Global Moderator
Community Supporter ?
Internet Junkie
*****
Posts: 2175
5052 credits
Members referred : 2


Venture Skills - New Media & IT group


« Reply #7 on: Oct 29, 2007, 05:07:34 pm »

PHP? where do you get the PHP from?

Would you like to be an SEO, let me help with, The Tim Nash introduction to SEO alternatively for Social media optimisation take a look at the Venture Skills Blog

Last blog : Its all in the mp3s
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #8 on: Oct 29, 2007, 05:11:04 pm »

As it is not working with IE the only thing you can do to work there is use classes and then parse your links with php in order to assign css classes to them.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Tim Nash
Global Moderator
Community Supporter ?
Internet Junkie
*****
Posts: 2175
5052 credits
Members referred : 2


Venture Skills - New Media & IT group


« Reply #9 on: Oct 29, 2007, 05:19:59 pm »

I think  the original method based on max design is the simplest solution and how I already had external links working, I just wanted a pure CSS solution using PHP just adds a layer of unneeded processing and complication,

Would you like to be an SEO, let me help with, The Tim Nash introduction to SEO alternatively for Social media optimisation take a look at the Venture Skills Blog

Last blog : Its all in the mp3s
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=7299
Tags : css psuedo-class Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Design and Layout  >  Web Page Design  >  CSS (Moderator: Meth0d)
Topic: negation pseudo-class work around for IE?
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 09:55:52 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.