pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

Advertising: Car Insurance - Flights - Loans - Guitar Lessons
CSS paste-bin - collaborative debugging tool View Help

Posted by tyler on Thu 1st May 13:36 (modification of post by view diff)
download | new post

  1. .glossymenu{
  2.         position: relative;
  3.         padding: 0 0 0 34px;
  4.         margin-left:275px;
  5.         background: url(media/menur_bg.gif) repeat-x; /*tab background image path*/
  6.         height: 55px;
  7.         list-style: none;
  8. }
  9.  
  10. .glossymenu li{
  11.         float:left;
  12.         margin-left:5px;
  13.         margin-rigth:5px;
  14. }
  15.  
  16. .glossymenu li a{
  17.         float: left;
  18.         display: block;
  19.         color:#fff;
  20.         text-decoration: none;
  21.         font-family: sans-serif;
  22.         font-size: 13px;
  23.         font-weight: bold;
  24.         padding:0 0 0 16px; /*Padding to accomodate left tab image. Do not change*/
  25.         height: 40px;
  26.         line-height: 40px;
  27.         text-align: center;
  28.         cursor: pointer;       
  29. }
  30.  
  31. .glossymenu li a b{
  32.         float: left;
  33.         display: block;
  34.         padding: 0 24px 0 8px; /*Padding of menu items*/
  35. }
  36.  
  37. .glossymenu li.current a, .glossymenu li a:hover{
  38.         color: #000;
  39.         background: url(/images/background-nav-left.png) no-repeat; /*left tab image path*/
  40.         background-position: left;
  41. }
  42.  
  43. .glossymenu li.current a b, .glossymenu li a:hover b{
  44.         color: #000;
  45.         background: url(/images/background-nav-right.png) no-repeat right; /*right tab image path*/
  46. }
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53. body {
  54. behavior: url('/csshover.htc');
  55. }
  56.  
  57. <!--[if IE]>
  58.  
  59. body {
  60. behavior: url(/administration/csshover.htc);
  61. font-size: 100%;
  62. }
  63.  
  64. #menu ul li {float: left; width: 100%;}
  65. #menu ul li a {height: 1%;}
  66.  
  67. #menu a, #menu h2 {
  68. font: bold 0.7em/1.4em arial, helvetica, sans-serif;
  69. }
  70.  
  71. <![endif]-->
  72.  
  73. //html
  74.  
  75. <ul class="glossymenu">
  76.         <li><a href="/"><b>Home</b></a></li>
  77.         <li><a href="/"><b>Services</b></a></li>
  78.  
  79.         <li><a href="/"><b>Quote</b></a></li>   
  80.         <li><a href="/"><b>Blog</b></a></li>   
  81.         <li><a href="/"><b>About Us</b></a></li>       
  82.         <li><a href="/"><b>Contact Us</b></a></li>     
  83. </ul>

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me
: