Categories
CSS

The @import rule

The ‘@import’ rule allows users to import style rules from other style sheets. Any @import rules must precede all rule sets in a style sheet. The ‘@import’ keyword must be followed by the URI of the style sheet to include. A string is also allowed; it will be interpreted as if it had url(…) around […]

Categories
CSS

CSS Directories

wiht.link/css3_information www.cssgallery.com www.cssbeauty.com www.cssdrive.com www.cssmania.com www.alvit.de/css-showcase/ www.w3csites.com www.bestwebgallery.com www.csselite.com www.unmatchedstyle.com www.designsnack.com www.cssheaven.com www.cssglobe.com www.mostinspired.com www.thebestdesigns.com www.csstux.com www.cssbased.com www.css-website.com www.designshack.co.uk www.cssclip.com www.my3w.org www.csshazard.com www.css-design-yorkshire.com www.cssprincess.com www.cssblast.ru www.coolsitecollection.com www.cssgalaxy.com www.cssflavor.com www.submitcss.com

Categories
CSS

Master Stylesheet

Removes the default browser styling /***** Global Settings *****/ html, body { border:0; margin:0; padding:0; } body { font:100%/1.25 arial, helvetica, sans-serif; } /***** Common Formatting *****/ h1, h2, h3, h4, h5, h6 { margin:0; padding:0; font-weight:normal; } h1 { padding:30px 0 25px 0; letter-spacing:-1px; font:2em arial, helvetica, sans-serif; } h2 { padding:20px 0; letter-spacing:-1px; […]

Categories
PHP

PHP Alternating Row Colors

<?php include(‘dbconnect.php’); $query1 = “SELECT * FROM clients_info order by fname asc”; $r1 = mysql_query($query1) or die(‘Error, query1 failed to retrieve information from client_info table’); $color1 = ‘#90EE90′; $color2 = “#CCFFCC”; $row_count = 0; while($row = mysql_fetch_array($r1)) { $color = ($row_count % 2) ? $color1 : $color2; print'<div id=”clients_name” style=”background-color:’ . $color . ‘”>’; print”{$row[‘fname’]} […]

Categories
SQL

Uniqueidentifier (T-SQL)

UniqueIdentifier is a 16-byte GUID. The uniqueidentifier type is limited to 36 characters, the characters that exceed that length are truncated A column or local variable of uniqueidentifier data type can be initialized to a value in the following ways: By using the NEWID function. By converting from a string constant in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, […]