Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    WDF Staff m3n0tu18's Avatar
    Join Date
    Jul 2011
    Location
    Devon, UK
    Posts
    1,473
    Member #
    28473
    Liked
    265 times
    So I thought I would share a couple of codes that are extremely helpful for me when designing sites, I shall keep it updated once I find any more, feel free to add additionals!

    - This code means you don't need to faff around with rebuilding the sizes of your div's if you add padding.
    Code:
    *{
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    }
    -Instead of having a drop shadow will put an inner shadow!
    Code:
    div{
    box-shadow:inset 0px 0px 10px #000;
    -moz-box-shadow:inset 0px 0px 10px #000;
    -webkit-box-shadow:inset 0px 0px 10px #000;
    }
    If you like my comments to your thread please click the LIKE button

    Check out my portfolio: Here!
    View my company Facebook Page
    View my company Website

    <<Plrease ignoer my typo's I have isdexlyia>>

  2.  

  3. #2
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Quote Originally Posted by m3n0tu18, post: 236354
    Code:
    *{
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    }
    I'd warn with this one that a fallback isn't optional.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  4. #3
    WDF Staff m3n0tu18's Avatar
    Join Date
    Jul 2011
    Location
    Devon, UK
    Posts
    1,473
    Member #
    28473
    Liked
    265 times
    Quote Originally Posted by Ronald Roe, post: 236402
    I'd warn with this one that a fallback isn't optional.
    it seems to work fine for ie8 for me ie7 i just have a script saying your out of date.
    Ronald Roe likes this.
    If you like my comments to your thread please click the LIKE button

    Check out my portfolio: Here!
    View my company Facebook Page
    View my company Website

    <<Plrease ignoer my typo's I have isdexlyia>>

  5. #4
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Quote Originally Posted by m3n0tu18, post: 236403
    it seems to work fine for ie8 for me ie7 i just have a script saying your out of date.
    Hrmmm. What script is that? Gotta get a hold of it. Might even wanna add it to your original thread, too to ward off naysayers like myself.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 03:14 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com