Hidden Link Display

In a paragraph showing the hidden links () by hovering the paragraph can done using the following CSS example,

CSS control for the paragrah and a tags,

CSS:

p { margin-top:10px; color:#888888; text-align:justify; }
a { color:#718374; text-decoration:underline; }
.colorhover:hover a { color:#718374; text-decoration:underline; }
.colorhover:hover a:hover { color:#EEEEEE; }

Example:

<h2>Colorized links on hover paragraph</h2>
<p class=”colorhover”>Aenean non sem vel velit posuere laoreet. <a href=”
http://twitter.com/rafeektwt” title=”Follow me on Twitter”>In hac habitasse</a> platea dictumst. Suspendisse posuere volutpat leo. <a href=”http://feeds2.feedburner.com/marcofolio” title=”Subscribe to the feed”>Donec dictum</a>, ligula</p>

Customize webroot folder

In CakePHP  managing more than web site in the one webroot is can done by rewritng the URL in the .htaccess file located in the Webroot folder of CakePHP.

For example, i have the website application  say ‘forum’ folder and its located in my cakephp webroot folder on the existing site. By doing this update the .htaccess file.

RewriteRule    ^forum - [L]

Javascript Cheat Sheet

Here are the some of  cheat may helpful on list of Keywords available in javascript and also the cheat sheet.

Javascript Booklet

Javascript Cheat Sheet

HTML & CSS Cheat Seet

HTML and CSS Cheat Sheet  on the html entities and Character and other main CSS defination can find here,

HTML HELP Sheet

Html Character Entities Cheat Sheet

Html Cheat Sheet

CSS Cheat Sheet

CSS 3 Tips

While applying CSS to the web page, these 3 steps will might be useful,

css-example
css-example

1. On any given div, if you specify a width, do NOT specify padding or margins (and vice versa). Specify padding and margins on the elements contained in that div instead. Ex: leftcolumn {width:200px} lefcolumn p {padding:10px;width:20px;}

2. Use Firebug and Web Developer Toolbar together. In Firebug, use the inspect button to see element names, styles, and inheritances. Then use Wed Developer’s CSS > Edit CSS panel to change the properties in real time. If anyone wants I can probably make a video screencast and show you some examples of what I mean.

3. Don’t obsess about validation or having perfect code. I know some coding Nazis might hang me for this one, but if you need to stick a clearing div here or use a IE6 hack for a specific issue there, do it. I used to have CSS OCD once too, it’s ok. But if I can save myself an hour of tearing my hair out trying to fix one small issue just in the name of perfect semantic markup – it’s not worth it (especially if your users will never notice or know about it). Life is short. Don’t spend it obsessing about CSS.

Follow

Get every new post delivered to your Inbox.