Library code snippets tagged with web design

Search filter
Page 1 of 1
  • CSS Positioning Within a Container

    by Trenton Moss

    One of the best things about CSS is that you can position an object absolutely anywhere you want in the document. It's also possible (and often desirable) to position objects within a container. It's simple to do too. web design, css

  • Centre Aligning a Block Element

    by Trenton Moss

    Learn how to have a fixed width layout website, and the content floated in the middle of the screen, with pre IE 6 compatability. web design

  • Image replacement technique

    by Trenton Moss

    It's always advisable to use regular HTML markup to display text, as opposed to an image. Doing so allows for a faster download speed and has accessibility benefits. However, if you've absolutely got your heart set on using a certain font and your site visitors are unlikely to have that font on their computers, then really you've got no choice but to use an image. web design

  • CSS font shorthand rule

    by Trenton Moss

    Learn how to shorten those CSS font rules. web design, css

  • Trimming form fields

    by Andy Clarke

    Web forms often ask visitors for non-essential information, but long and complicated forms can seriously hinder the e-commerce sales process. Wouldn't it be cool to give users the option to hide these optional fields at their own discretion, and with a clever use of Javascript, the DOM and some CSS we can! web design, javascript

  • How to supress the automatic space between FORMs

    by Edward Tanguay

    If you stack forms on top of each other on an HTML page, you will notice that there is an automatic blank space inserted. This code will eliminate that space which will give you more freedom when designing a page with many separate forms. web design

  • Dynamic Meta Tags

    by Peeyush Nigam

    How to use META Tags to enchance user interface in a web site. web design

  • Animated Buttons

    by Peeyush Nigam

    A few more animated buttons using CSS, Javascript and DHTML to create new more interactive & cool Form Button controls. Remember the code is best suited for only IE-5.5 and above. web design, javascript

  • Fading Scrollbar

    by Peeyush Nigam

    This code can be used to design a Fading Scrollbar, using CSS and JavaScript technology. web design, javascript

  • Animate Button

    by Peeyush Nigam

    Following code is to develop different animated buttons using the tricks of CSS, Javascript and HTML. The code is effective for IE-5 and above. Developed by Peeyush Nigam (CEO-PARI WEB SERVICES™) web design, javascript

  • Field Content Validation

    by Super Tal

    Performs validation on a HTML field based on the criteria you specify. web design, javascript

  • Set the target frame of a form

    by Kiran Pai

    How to make the output of a form appear in a new window or another frame web design

  • Detect missing images with client-side script

    by James Crowley

    How to detect missing images with client-side javascript web design, javascript

We'd love to hear what you think! Submit ideas or give us feedback