Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,217 members, 7,818,748 topics. Date: Monday, 06 May 2024 at 12:03 AM

Css Question Here. - Webmasters - Nairaland

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

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)

(1) (Reply) (Go Down)

Css Question Here. by OmniPotens(m): 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)

Fupre (computer Science) / Help With This Layout And Implementation / My Website Has Been Hacked! !! !!!

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 8
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.