![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Oct 2006
Posts: 1
Rep Power: 0
![]() |
Im trying to get IE to display the following correctly. Firefox, of course, displays things fine. Is there a way to get IE to display subset class selectors correctly or is it a lost cause?
<style> .a{padding-left:10px;} .b{padding-left:20px;} .a.b{padding-left:100px;} </style> <div class="a">Test</div> <div class="b">Test</div> <div class="a b">Test</div> |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
IE has issues with box dimensions (what's box, margin, padding, etc.). It also has issues with parental definitions. You may find yourself needing to hack if the browser is determined to be IE. If I can determine that it's IE at the server (one often can), I send a modified page. If I can't, then I hack with script on the client (not good if a viewer has script disabled).
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Simple input | Oddball | Java | 6 | Mar 12th, 2006 7:30 PM |
| a simple linking loader for SIC/XE | programmingnoob | C++ | 3 | Feb 27th, 2006 12:35 AM |
| Autonomous Game Agent - A simple programming game | Dameon | Coder's Corner Lounge | 13 | Sep 27th, 2005 6:37 PM |
| Simple Function Questions | meverha1 | C++ | 16 | Sep 12th, 2005 2:25 AM |
| A simple perl script | satimis | Perl | 3 | Aug 15th, 2005 10:31 AM |