Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Html normally problem

    • 0
    • 5
    • 2
    • 1
    • 1
    • 0
    • 0
    • 0
    • 596
    Comment on it
    Hello readers !
    In this blog i show how can we solve html problems usually we face that are :-

    1) How to align center a absolute position div :

    Its a normally problem which we face always we can solve it using this attribute of css

    .demoClass{
       position:absolute;
       margin:auto;
       top:0px;
       left:0px;
       bottom:0px;
       right:0px
    }
    

    2) How to override inline css :

    We all are face this problem normally when we use jquery library. In that case some classes generate height, width etc. and that is dynamic so solve this problem we can use

    strong[style] { color: blue !important; }
    
    to use this css you can override with blue color text .

    3) HTML5 tags is not work properly in ie

    To solve this problem you have to include 2 js library that are -

    html5.js
    modernizr.js

    and you have to include a meta tag-

    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0;">
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="utf-8">
    <title>Support ie</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0;">
        <script language="javascript" type='text/javascript' src="js/html5.js"></script>
        <script language="javascript" type='text/javascript' src="js/modernizr.js"></script>    
    </head>
    
      <body>
      </body>
    </html>
    

 1 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: