To read line breaks (\n) to post, use:
nl2br($result['message']);
–
From my codix.

To read line breaks (\n) to post, use:
nl2br($result['message']);
–
From my codix.

This is a CSS3 feature. Therefore, no IE6.
To style a text input box:
input[type=text] {
[insert code here]
}
To style a submit button:
input[type=submit] {
[insert code here]
}
–
From my codix.

To style a first letter of a paragraph:
p:first-letter {
[insert code here]
}
–
From my codix.


To attain something like that above using Adobe Illustrator, here’s what you should do:
–
From my notebook back in DTW.

Honestly, I don’t get all the\\ and the //.function auto_hyperlink($hyperlink) {
$href_link = eregi_replace("([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/&=])", "<a href=\"\\1://\\2\\3\">\\1://\\2\\3</a>", $hyperlink);
$mailto_link = eregi_replace("(([a-z0-9_]|\\-|\\.)+@([^[:space:]]*)([[:alnum:]-]))", "<a href=\"mailto:\\1\">\\1</a>", $href_link);
return($mailto_link);
}
$true_msg = auto_hyperlink($true_msg);
–
From my codix.

This code truncates a paragraph to specified sentences:
$entry = "This is the first sentence. And the second sentence. The third sentence. And the fourth.";
$sentence = preg_split("/[\.\!\?]/", $entry);
for($i=0; $i<count($sentence);>
echo("$sentence[$i]<br />\n");
}</count($sentence);>
–
From my codix.

To make dates from whatever format to human readable format:
$readable_date = date("F d, Y", strtotime($news['news_date']));
echo $readable_date;
–
From my codix.

According to the magazine I read, Opera has default paddings. To remove them, use these so-called hacks.
For the body:
body {
padding:0;
}
For the ordered and unordered lists:
li, ol, ul {
padding:0;
}
–
From my codix.