...

View Full Version : css box problem



mrjameer
11-04-2006, 02:20 PM
hi,

i created a box using css styles.when i view it in Internet Explorer it is looking good but when i view it in Mozilla FireFox it showing some different box.
how to solve this problem

thanks
mrjameer

BonRouge
11-04-2006, 02:27 PM
You really need to give us a little more to go on. The best thing to do is post a link to the problem page.

CFMaBiSmAd
11-04-2006, 02:30 PM
There are multiple ways of coding the elements in your HTML/CSS to accomplish this. Any of these methods will require a different solution, there is not one answer that will work in all cases. Unless you post your code and a link to your site and/or screen shots from both browsers, there is no way anyone in a Forum can provide an answer that will help.

mrjameer
11-04-2006, 03:53 PM
here is my code


<style type="text/css">

#one {
position:absolute;
left:400px;
top:5px;
background-color:white;
color:#009900;
border-style:solid;
border-width:3px;
height:200px;
width:300px;
padding:5px;}

</style>


<div id="one" align="center"><br><br>
<h4>USERNAME<input type="text" name="u"></h4><br><br>
<h4>PASSWORD<input type="text" name="p"></h4><br>
<input type="submit" value="submit">
</div>

mrjameer

BonRouge
11-04-2006, 04:04 PM
Remove the height.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum