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 5 of 5

Thread: css box problem

  1. #1
    Regular Coder
    Join Date
    Aug 2006
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts

    css box problem

    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

  • #2
    Regular Coder BonRouge's Avatar
    Join Date
    Mar 2006
    Location
    Sendai, Japan
    Posts
    328
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #3
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    2,958
    Thanks
    2
    Thanked 304 Times in 296 Posts
    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.
    If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.

  • #4
    Regular Coder
    Join Date
    Aug 2006
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts

    css crossbrowser

    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

  • #5
    Regular Coder BonRouge's Avatar
    Join Date
    Mar 2006
    Location
    Sendai, Japan
    Posts
    328
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Remove the height.


  •  

    Posting Permissions

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