﻿<!-- /*
	| liquidcorners.css; feel free to adapt the style!
	| ================================================
	| use: 4 corners with borderline outside a contentbox with class="inside"; 
	|      image  = upper half: top left corner, long borderline, top right corner
	|               under half: bottom left corner, long borderline, bottom right corner
	|      CHANGE = you have to change this for fitting to your image
	|      YCC    = You Can Change (or omit), if wanted
	|      DNC    = Do Not Change
	| credits: original by francky kleyneman
*/
.top-left, .top-right, .bottom-left, .bottom-right {
	background-image: url('corners1280x26blashadow.gif'); /* CHANGE: path and name of your image */;
	height: 13px; /* CHANGE: replace by the height of one of your corners (= 1/2 height of the image) */;
	font-size: 2px;    /* DNC: correction IE for height of the <div>'s */
}
.top-left, .bottom-left { 
	margin-right: 13px; /* CHANGE: replace by the width of one of your corners */
	}
.top-right, .bottom-right { 
	margin-left: 13px;  /* CHANGE: replace by the width of one of your corners */
	margin-top: -13px;  /* CHANGE: replace by the height of one of your corners */
	}
.top-right {
	background-position: 100% 0;    /* DNC: position right corner at right side, no vertical changes */
	}
.bottom-left  { 
	background-position: 0 -13px;    /* CHANGE: replace second number by negative height of one of your corners */
	}
.bottom-right { 
	background-position: 100% -13px; /* CHANGE: replace second number by negative height of one of your corners */
	}
.inside {
	/* YCC: color & properties of the left-borderline *//* YCC: color & properties of the right-borderline *//* YCC: background-color of the inside */padding: 0px 10px 10px 9px;
	border-left: 1px solid #003366;
	border-right: 1px solid #003366;
	background: #8ebafb;
	color: #000000; /* YCC: default text-color of the inside */; /* YCC: all texts at some distance of the left border */;
	overflow: auto;
	background-image: url('corners1280x26blashadowl.gif');
	background-repeat: repeat-y;
	border-left-style: solid;
	border-left-width: 0px;
	border-right-width: 0px;
}
.notopgap    { margin-top: 0; }    /* DNC: to avoid splitting of the box */
.nobottomgap { margin-bottom: 0; } /* DNC: to avoid splitting of the box */

/*
implementation in the page:
	...
	<head>
	<link rel="stylesheet" type="text/css" href="liquidcorners.css">
	...
	</head>
	
	<body>
	...
	<div class="top-left"></div><div class="top-right"></div>
		<div class="inside">
		<p class="notopgap">Your text & other things inside</p>
		...
		<p class="nobottomgap">...</p>
		</div>
	<div class="bottom-left"></div><div class="bottom-right"></div>
	...
	</body>
*/
.insider {
	/* YCC: color & properties of the left-borderline *//* YCC: color & properties of the right-borderline *//* YCC: background-color of the inside */padding: 0px 10px 10px 9px;
	border-left: 1px solid #003366;
	border-right: 1px solid #003366;
	background: #8EBAFB;
	color: #000000; /* YCC: default text-color of the inside */; /* YCC: all texts at some distance of the left border */;
	overflow: auto;
	background-image: url('corners1280x26blashadowl.gif');
	background-repeat: repeat-y;
	border-left-style: solid;
	border-left-width: 0px;
	border-right-width: 0px;
}
-->
















