Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Oct 2008
    Location
    India, Banglore
    Posts
    50
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question positioning an element in IE and FF equally

    My problem is I couldn't align the help according to the end of below menu...
    I hv attached the screen shots showing differences in IE and FF...

    IE
    positioning an element in IE and FF equally-ie.png
    FF
    positioning an element in IE and FF equally-ff.png

    Code:
    <div id="dolphincontainer">
    <div id="dolphinnav">
    <ul style="float:right;">
    	<li>
    	<a href="#" title="help" class="current login_help"><span>Help</span></a>
    	</li>
    </ul>
    </div>
    </div>
    
    <div id="login_contents"><span class="loginheader_sublink"> <a
    	href="http://www.developers.responseque.com" target="_blank">Developers
    Forum</a> | <a href="http://www.help.responseque.com" target="_blank">Contact
    Support</a> </span></div>
    
    #dolphincontainer {
    	position:relative;
    	/*height:40px;*/
    	color:#E0E0E0;
    	/*background:#143D55;*/
    	/*margin:0px auto 0px auto;*/
    	width:100%;
    	font-family:Helvetica,Arial,Verdana,sans-serif;
    }
    #dolphinnav {
    	position:relative;
    	height:33px;
    	font-size:12px;
    	/*text-transform:uppercase;*/
    	font-weight:bold;
    	background:url(../images/dolphin_bg.gif) repeat-x bottom left;
    	padding:0 0 0 65px;
    }
    .login_help {
    	/*margin-right:77px;*/
    	position:relative;
    	right:6.4em;
    }
    #login_contents{
    	width:860px;
    	height:40px;
    	color:#ffffff;
    	background:#005c85;
    	text-align:center;
    	margin:0px auto 0px auto;
    	border-right:2px solid #005c85;
    	border-left:2px solid #005c85;
    }

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,801
    Thanks
    160
    Thanked 2,216 Times in 2,203 Posts
    Blog Entries
    1
    Post a link to your page after rectifying all errors in your markup, if any.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •