Archive for the ‘Design’ Category
- In: Design | how to | tools
- Leave a Comment
- Scriptaculous Combination Effects
- What’s Ajax
- Form Helpers
- CSS
- xHTML
- SEO
- JavaScript
- Firefox
- mod_reqrite
- PHP
- Ruby on Rails
- Python
- MySQL
- Prototype.js
- jQuery
- Regular Expression
- Adobe Photoshope CS3 Keyboard Short cuts
- Photoshop Toolbox Reference
- Photoshop Lasso Tool
- Photoshop Brush Tool
- RGB Hex Color Chart
- Color Reference Guide
- Web Designer Color Reference Hexagon Mouse Pad
- Web Safe Color Chart
- Hexa Decimal Color Chart
- Typography
- Common fonts to all versions of Windows & Mac equivalents
- Mixing Typefaces
- Approximate Conversion from Points to Pixels
- Megapixels Chart
- Blueprint CSS
- Yahoo Library: CSS Reset,Base,Fonts, and Grids
- CSS Short Hand
- HTML & xHTML Tag Reference
- HTML/xHTML Character Entities
- Dreamweaver CS3 Quick Reference
- Will the browser aplly the rule(s)
- Subversion
- SQL Server
- Microformats
- Ruby on Rails
- ASP/VB Script
- MySQL
Colors of the Day 1
Posted August 28, 2008
on:- In: CSS | Design
- Leave a Comment
- In: CSS | Design
- Leave a Comment
If you set height in css for a div and check it in IE and Firefox you will get two different heights.
Empty divs in IE have a minimum height, more or less equal to the current line-height.
The way to solve this is:
1) Put a comment inside the div: <div style=”height: 10px;”><!– –></div>
2) Put a inside the div and add this to its style: font-size:1px; line-height:0.
- In: Design | Javascript
- Leave a Comment
If you want your users to click on a text area and automatically highlight all of the text, there is a very simple way to do it. This does not require external javascript at all. It’s no “copy code” button, but if the user clicks inside the text area, this bitt of code will hightlight all of the text in that textfield.
Add the following code to any tag:
onclick=”javascript:select();”
Example:
Highlight this text