HTML Default Colors
September 6, 2009 § Leave a Comment
Someone dear to me put together this not too long ago:
pink, lightpink, palevioletred, hotpink, deeppink, red, tomato, crimson, firebrick, indianred
darkred, maroon, brown, sienna, saddlebrown, rosybrown, tan, darkkhaki, BurlyWood, chocolate, peru, darkgoldenrod
lightcoral, coral, lightsalmon, salmon, darksalmon,
orangered, darkorange, orange, sandybrown, goldenrod, khaki, gold, yellow
greenyellow, lightgreen, lawngreen, chartreuse, lime, springgreen, mediumspringgreen,
limegreen, green, forestgreen, darkgreen,
seagreen, mediumseagreen, darkseagreen,
olive, olivedrab, darkolivegreen
azure, aliceblue, lightcyan, paleturquoise, lightblue, lightsteelblue, powderblue, cyan, aqua, aquamarine, turquoise, lightskyblue, skyblue, mediumaquamarine,
mediumturquoise, darkturquoise, deepskyblue, cadetblue, cornflowerblue, steelblue, slateblue, mediumslateblue,royalblue, dodgerblue, lightseagreen, teal,darkcyan, blue, mediumblue,darkslateblue, navy, darkblue, midnightblue
indigo, blueviolet, mediumpurple, mediumorchid, purple, darkmagenta, darkviolet, darkorchid, lavender, thistle, plum, violet, orchid, magenta, fuchsia, mediumvioletred
darkslategray, dimgray, gray, slategray, darkgray, silver
HTML Quickie: Long String Overflowing Your Div
May 25, 2009 § 6 Comments
Do you have that problem? I do.
EDIT(05/31/2009): Even better solutions:
Hyphenator.js: http://code.google.com/p/hyphenator/
OR:
General CSS solution:
overflow: scroll
/EDIT
The HTML solution:
use <wbr>. (But you have to figure out yourself where to put the tag)
The IE-specific CSS solution:
word-wrap: break-word
PHP solution:
wordwrap(‘your_very_long_string_here’, 15) // Break after 15 characters
Python solution:
import textwrap
textwrap.fill(‘your_very_long_string_here’, 15) # Break after 15 characters
References:
Gotapi.com: Finding documentation has never been so easy
September 2, 2007 § Leave a Comment
For readers and all fellow developers: Finding documentation has become less of a pain. Thanks to Gotapi.
Currently they have:
- HTML/CSS/Javascript. Too bad they don’t have MSDN Javascript.
- Javascript UI libraries.
- XML
- C/C++ libraries.
- PHP
- Ruby on Rails
- Python (Reading from blog.gotapi, Python is 1 of the first documentation)
- Perl
- Erlang
- MySQL
- and much more…
I highly recommend readers to go check Gotapi. RTFM has just gotten easier.
References:
Tick mark on IE 6…
June 28, 2007 § Leave a Comment
doesn’t exist. LAMEO!!!!
Redmond, WTF!!!
It’s a simple ✓. How hard can it be to support it?
All other browser use it. Even IE 7 use it. Why IE 7 improvements didn’t crittle down to IE 6?
Lame, Microsoft. Lame…