C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » HTML »

Div problem using css in mozilla and firefox


Posted Date: 27 Oct 2009      Posted By: chnagapavani      Member Level: Bronze     Points: 1   Responses: 5



hi all

i have problem in displaying my div tag in mozilla and ie.I getting required output in mozilla but not in ie

my css is
#cntr_footer
{
width:956px;
margin: auto auto 5px auto;
position:absolute;
height:25px;
left:146px;
padding-top:243px;
padding-bottom:95px;
}

<div id="cntr_footer">

my content here

</div>

this displays correctly in mozilla but not in fire fox
please help me out
thanks in advance





Responses

Author: Venkatesh Ellur    28 Oct 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

Dude Firefox is from Mozzila right.... ????
well please let me know which are the browsers you are using
and please explain me what exaclty is the problem you are facing.

THIS POSTING IS PROVIDED WITH NO WARRANTIES, BEWARE OF BUGS IN THE ABOVE CODE; I HAVE ONLY PROVED IT CORRECT AS PER MY KNOWLEDGE, NOT TRIED IT.

Regards
--------------------------
Venkatesh Ellur
+919886417764
venkatesh.ellur@gmail.com



Author: Macolee    28 Oct 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

The problem is in absolute position. In FF, coordinate is calculated form parent. In IE, coordinate is calculated from parent which has absolute or relative position.


Author: Deepak Yadav    31 Oct 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

Hi,
I think you have misspelled the word firefox , it should be Internet explorer ,
Coming to your problem, first of all I want to tell you that firefox is a much more intelligent browser than IE and hence it closes all open tags which are not closed by the user,
but IE does not does it and shows an error information in the status bar of the explorer, from there you can find out that the line is in which error ,
or else you can contact me for more information,


Cheers
Deepak Yadav



Author: vineeth kumar    04 Nov 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

dude ist check weather u closed all <div> tags


Author: Manindra Upadhyay    11 Nov 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

Use percent(%) insted of px.


Post Reply
You must Sign In to post a response.
Next : Text with different color letters
Previous : How to assign boders for the elements inside the TD in html
Return to Discussion Forum
Post New Message
Category: HTML

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use