How to keep the text in one line inside a table? How-To table - How to keep the text in one line inside a table?

How to keep the text in one line inside a table?

Simple, use nowrap tag. Example: [html]<table> <tr> <td nowrap>Do not break this very loooooooooooooooooooooooooooooooooooooong sentence!</td> </tr> </table>[/html] Or: [html]<table> <tr> <td nowrap="nowrap">Do not break this very loooooooooooooooooooooooooooooooooooooong sentence!</td> </tr> </table>[/html]

Read More »
Redirect visitor to PR URL redirect - Redirect visitor to PR URL

Redirect visitor to PR URL

How to redirect visitor to domain which have more PR? Requirement: – Apache – htaccess enabled. Case 1, PR is on domain.com Code: RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^www.domain.com$ [NC] RewriteRule .* http://domain.com/ [L,R=301] Case 2, PR is on www.domain.com Code: RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^domain.com$ [NC] RewriteRule .* http://www.domain.com/ [L,R=301] How to use: – Choose one…

Read More »
Linux File Permissions and Umask: A Practical VPS Guide

Linux File Permissions and Umask: A Practical VPS Guide

If you’ve ever fixed a permission error by randomly typing chmod 777 and hoping for the best… yeah, that’s the mistake we need to talk about. On a VPS, sloppy file permissions and bad umask settings can quietly open things up for other users or processes in ways you really don’t want. The good news: once you understand the basic…

Read More »