Sent by Allan Rojas on 13 October 2004 21:09
Jason,
I'm not an expert, but it seems that the way IE6 renders UL tags
inside DIV tags differs from that of FireFox.
Still, not sure which one is doing the things as they should be done;
FireFox's implementation does not render the UL *inside* the DIV,
unless you put something after it...
So, your problem gets fixed by adding a " " after the </UL>
tag... Maybe someone else can confirm if FireFox's render is the
expected...
Best Regards
- Allan R. (http://ndrtkr.blogdrive.com/)
On Wed, 13 Oct 2004 15:12:31 -0400, Jason Kohls
[EMAIL-REMOVED]> wrote:
> It seems as though my background color on my parent div has been nuked
> by "clear: both". The "background: transparent" appears not to be doing
> anything. Works fine in IE 6.0, not FireFox 0.9. Thanks in advance!
>
> <div class="JobBankCategory">
> <h3>Job Description Category</h3>
> <ul>
> <li><a href="#">Job Description Title</a></li>
> <li><a href="#">Job Description Title</a></li>
> <li><a href="#">Job Description Title</a></li>
> <li><a href="#">Job Description Title</a></li>
> </ul>
> </div>
>
> .JobBankCategory {
> width: 765px;
> background: #d9dde3;
> padding: 0;
> border-top: 15px solid #fff;
> clear: both;
> }
> .JobBankCategory ul {
> list-style: none;
> margin: 0;
> width: 765px;
> padding: 0;
> }
> .JobBankCategory li {
> background: transparent;
> float: left;
> margin: 0;
> width: 175px;
> padding: 5 0 5 0;
> }
> .JobBankCategory h3 {
> display: block;
> font-family: Arial;
> font-size: 16px;
> font-weight: bold;
> color: #fff;
> width: 765px;
> background: #5c6c82;
> margin: 0;
> padding: 2 0 2 0;
> }
>
> Jason Kohls
> Web Developer
> ______________________________________________________________________
> css-discuss [EMAIL-REMOVED]]
> http://www.css-> discuss.org/mailman/listinfo/css-d
> List
> wiki/FAQ --
> http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
> ______________________________________________________________________
> css-discuss [EMAIL-REMOVED]]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
--
Allan Rojas
Beta Testing GMail Account
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/