css

Nice CSS tab menu with PHP

Thursday, March 1st, 2007

<?php
if (isset($_REQUEST[’tab’])) {
        $tab = $_REQUEST[’tab’];
    } else {
        $tab = 0;
    }
?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
<title>Controling CSS Tabs Using PHP</title>
<style type=”text/css”>
/*Credits: Vijit Patil */
.tabZ{
padding: 3px 0;
margin-left: 0;
font: bold 12px Trebuchet MS ;
text-align: left;
border-bottom: 1px solid gray;
list-style-type: none;
}
.tabZ li{
display: [...]

A vertical menu done in CSS

Thursday, March 1st, 2007

body{
  background: #fff;
  line-height: 1.1;
  color: #666;
  font: small Verdana, Geneva, Arial, Helvetica, sans-serif;
}
  #Navigator {
    width: auto;
    background: #fcfcff ;
    padding: 0 6px .5em 12px;
    overflow: visible;
    min-width:750px;
    clear: both!important;
    top:1em!important;
    margin-bottom:1em!important;
  }
  .fixclear {
    display:block;
    position:relative
  }
  #NavData  {
    float:left;
    clear: [...]

CSS message quoting

Thursday, March 1st, 2007

<style type=”text/css”>
img
{
    border: 0;
    vertical-align: middle;
}
.quotetop
{
    border-right: 1px dotted #000;
    border-top: 1px dotted #000;
    background: #DDDDDD url(’include/css_img_quote.gif’) no-repeat right 50%;
    border-bottom: 0;
    border-left: 4px solid #FF9900;
    color: #000;
        font-weight: bold;
        font-size: 10px;
        margin: 8px auto 0 auto;
    [...]

Keep on coding