0

Really my total hairs gone for it problem.

 $('ul#listticker').prepend($('<li><div  class="user-box" id="user_box1">.......</div></li>').fadeIn(2000));

$("ul#listticker li:first").show("slide", { direction: "up" }, 1000);

It is perfectly working in IE but not working in firefox.

I found solution for it that is

my class user-box is

#fbook-iq .user-box {
    width:280px;
    height:41px;
    float:left;
    margin-bottom:1px;
    padding:9px;
}

if i remove float:left line perfectly working

#fbook-iq .user-box {
    width:280px;
    height:41px;
        margin-bottom:1px;
    padding:9px;
}

Really i don't know what logical behind it.

please help me.

0

1 Answer 1

1

Why is the user-box class floating left? This points to the div element inside the li, and I don't quite see any reason for it. If the float: left on this element breaks behavior in Firefox, you might try to rather set the li containing element to the needed width and height, and leave the div element a non-floating block element. It's a work-around, but if it solves your problem, it solves your problem.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.