tHeDukE
03-09-2006, 05:28 AM
Here is my problem:
I am having problems in a certain part of my layout (indexx_23.png,20,21,22,24) I want to make these images a background so I can type text overtop of it and so it can expand vertically with my images still aligned correctly. Could anybody lead me in the right direction :? Here is the site and css code if need it: http://www.tacticaltournaments.com.indexx.html
/* CSS Document */
* {
margin: 0;
padding: 0;
}
html, body {
height: 100%;
background-color:#333333;
}
#wrapper {
width: 805px;
margin: 0 auto;
margin-top: 10px;
background: #666;
}
body {
font: 1px verdana, arial, sans-serif;
color: #333;
background-image:url(/images/diaglinBg.jpg);
background-repeat:repeat;
}
.head {
display: block;
margin: 0 auto;
margin-right: 0px;
padding: 0;
float: left;
}
.head2 {
display: block;
margin: 0 auto;
margin-right: 0px;
padding: 0;
float: left;
clear: right;
}
#nav li {
list-style: none;
line-height:2em;
float: left;
text-align: center;
}
#nav li a {
display: block;
background: #FFF;
color: #009900;
border: none;
border-width: 0px;
}
I am having problems in a certain part of my layout (indexx_23.png,20,21,22,24) I want to make these images a background so I can type text overtop of it and so it can expand vertically with my images still aligned correctly. Could anybody lead me in the right direction :? Here is the site and css code if need it: http://www.tacticaltournaments.com.indexx.html
/* CSS Document */
* {
margin: 0;
padding: 0;
}
html, body {
height: 100%;
background-color:#333333;
}
#wrapper {
width: 805px;
margin: 0 auto;
margin-top: 10px;
background: #666;
}
body {
font: 1px verdana, arial, sans-serif;
color: #333;
background-image:url(/images/diaglinBg.jpg);
background-repeat:repeat;
}
.head {
display: block;
margin: 0 auto;
margin-right: 0px;
padding: 0;
float: left;
}
.head2 {
display: block;
margin: 0 auto;
margin-right: 0px;
padding: 0;
float: left;
clear: right;
}
#nav li {
list-style: none;
line-height:2em;
float: left;
text-align: center;
}
#nav li a {
display: block;
background: #FFF;
color: #009900;
border: none;
border-width: 0px;
}