₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,814 members, 8,513,817 topics. Date: Thursday, 05 November 2026 at 03:06 PM

Toggle theme

Css Question Here. - Webmasters - Nairaland

Nairaland Forum › Science/Technology › Webmasters › Css Question Here. (1222 Views)

1 Reply (Go Down)

Css Question Here. by OmniPotens(op): 8:32am On Oct 30, 2009
I've really pondered on this issue and tried to get to work but there is no way out. I hope someone here can help me get at the solution.

While coding in CSS, you can have codes as:


#contents input:focus {
border: #999 1px solid;
background: #fff;
color: #900;
}

Now, this will work on FF,Opera and other browsers I guess but not on IE. How can one get this to work without implementing Javascript codes to aid it?
Re: Css Question Here. by yawatide(f): 10:45am On Oct 30, 2009
You can't - that code isn't cross-browser, with respect to all browsers not being CSS compliant. I have used the very same code on a few sites myself, wondered why it didn't work and did some research on it.

When you say IE though, you have to be specific - it works in IE7+ but not IE8 wink

Toodles cool
Re: Css Question Here. by Cactus(m): 6:16pm On Oct 30, 2009
Unfortunately, there may never be support for that true pure coding css or without IE. hacks.

It is possible for things to get worse with CSS3 and html 5.

No loves for IE?
Re: Css Question Here. by gdi(m): 6:20pm On Oct 30, 2009
MS and their crap, IE should be discontinued wink
Re: Css Question Here. by yawatide(f): 6:37pm On Oct 30, 2009
1 Reply

Write HTML And CSS Codes On Android Devices • How To: Create A Simple Hover Button With Html And Css • Ask any question here concerning programming • 2 • 3 • 4

Want To Learn Webdesign In One Week • Who? • Cheap Bulk Sms