This is a discussion on "Overriding display:inline-block" within the Web Page Design section. This forum, and the thread "Overriding display:inline-block are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Overriding display:inline-block
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Overriding display:inline-block
Hi,
I have two style sheets. department.css and site.css. I found that by changing .blackborder { display:inline-block; } from department.css to .blackborder { display:block; } fixes my problem. However, I am not allowed to make any changes to department.css. What I decided to do was add a new style sheet (site.css) that would override this style to: .blackborder { display: block; } For some reason the override is not happening properly in IE6. When I look at the styles generated using the IE Developer Toolbar, it shows that display: block is being used. I have a feeling that it is not properly overriding the old value located in department.css. How can I make it override the old value? If anyone could help, it would be greatly appreciated. Thanks, Gazzou |
|
|
![]() |
| Tags |
| override overriding |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Display:Block in IE | sparadox | Web Page Design | 4 | Jul 25th, 2007 19:30 |
| how do you inline div/block elements properly? | heyo | Web Page Design | 2 | Mar 2nd, 2007 02:03 |
| display inline ???? | hessodreamy | Web Page Design | 3 | Oct 8th, 2005 05:51 |
| display:block | benbacardi | Web Page Design | 20 | Jul 30th, 2004 16:08 |
| display:block | benbacardi | Web Page Design | 4 | Apr 21st, 2004 19:40 |