Hello,
I followed a tutorial to add the shadow effect to the body of my website:
[url]http://www.webdesignerforum.co.uk/index.php?showtopic=307
However, when I finished, the shadow effects are too close together behind my main body and I would like to know how to align them properly so that they run right along downside the main body of the web page…
[url]http://joomla.rojasfam.com
[code]/* CSS Document */
html {
height : 100%;
margin-bottom : 1px;
}
body {
background-image: url(../images/vd_background.jpg); /** Link to the image you created **/
background-repeat: repeat-y; /** Repeats the image vertically **/
background-position: center; /** Centers the Background image **/
background-color: #f7f4ee; /** Website BG colour (matches canvas colour in Step 1) **/
}
a:link, a:visited {
color: #1543d8;
font-weight: normal;
text-decoration: none;
}
a:hover {
color: #46c;
text-decoration: underline;
}
h1 {
font-weight: normal;
font-size: 18px;
color: #000;
}
h2 {
font-weight: normal;
font-size: 16px;
color: #333;
}
td, p, div, span {
font-family: Tahoma, Helvetica, sans-serif;
font-size: 12px;
color: #333;
line-height: 130%;
text-align: left;
}
h3, .componentheading {
color: #333;
font-weight: normal;
font-size: 18px;
text-align: left;
font-family: Helvetica, Arial, sans-serif;
padding: 4px 0;
margin: 10px 0;
border-bottom: 1px solid #ccc;
}
.componentheading {
padding: 0;
}
.contentheading {
height: 35px;
vertical-align: bottom;
padding: 0;
margin: 0;
font-size: 13px;
font-family: Helvetica, Arial, sans-serif;
color: #333;
font-weight: bold;
}
.buttonheading {
vertical-align: bottom;
}
.sectiontableheader {
font-weight: bold;
border-bottom: 1px solid #ccc;
}
table.contenttoc {
margin-left: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
padding: 5px;
}
span.small, td.createdate {
font-size: 11px;
font-weight: normal;
color: #999;
}
a.mainlevel {
display: block;
background: url(../images/vd_menu_bullet.png) 0 -3px no-repeat;
padding-left: 20px;
height: 20px;
}
div.clr {
clear: both;
}
div#center {
height: 100%;
text-align: center;
}
div#wrapper {
height: 100%;
margin-left: auto;
margin-right: auto;
min-width: 750px;
max-width: 1050px;
width: expression(document.body.clientWidth > 1050? “1050px”: “auto” );
}
div#whitebg {
margin: 0 15px;
background: #fff;
}
div#header {
background: #000 url(../images/vd_header.jpg) 0 0 no-repeat;
margin: 1px 0px;
}
div#header_frog {
height: 165px;
background: url(../images/vd_bible.jpg) 100% 0 no-repeat;
}
span.header {
display: block;
line-height: 90%;
vertical-align: bottom;
padding-left: 30px;
padding-top: 80px;
font-family: Times New Roman, Times, serif;
font-size: 36px;
color: #fff;
}
span.subhead {
font-family: Times New Roman, Times, serif;
font-size: 12px;
color: #CFEDC8;
padding-left: 30px;
}
div#padding {
padding-bottom: 14px;
}
div#horizsep {
height:1px;
overflow: hidden;
background: #ccc;
margin-top: 15px;
margin-bottom: 15px;
}
div#divider {
border: 1px solid #fff;
background: url(../images/vd_vert_sep.png) repeat-y;
background-position: 25% 0 !important;
background-position: 26% 0;
}
div.thinsep {
clear: both;
margin-top: 15px;
height: 5px;
overflow: hidden;
background: #000 url(../images/vd_header.jpg) 0 0 no-repeat;
}
div#footer {
clear: both;
margin-top: 15px;
padding: 5px 0;
text-align: center;
color: #999;
font-size: 10px;
}
div#main {
margin-left: 25%;
float: none;
width: auto !important;
width: 100%;
}
div#main_padding {
padding: 0 15px;
float: none;
width: auto !important;
width: 100%;
}
div#sidebar {
float: left;
width: 25%;
}
div#sidebar_padding {
padding: 0 15px;
float: none;
width: auto !important;
width: 100%;
}
/* horizmenu */
div#horizmenu {
white-space: nowrap;
margin: 10px 0px;
line-height: 20px;
height: 20px;
margin-right: 5px;
padding-left: 15px;
}
div#horizmenu ul {
margin: 0;
padding: 0;
list-style:none;
}
div#horizmenu li {
float: right;
background: url(../images/vd_vert_sep.png) 0 0 no-repeat;
margin: 0;
padding: 0;
}
div#horizmenu ul#mainlevel-nav a {
float:left;
display:block;
height: 20px;
line-height: 20px;
text-decoration: none;
padding: 0 15px;
}
div#horizmenu a:hover {
}
div#horizmenu a.active_menu {
color: #000;
}
span.pathway {
float: left;
line-height: 20px;
}
Thanks!
ShireStudios