...

View Full Version : What am I doing wrong?



jimaxwell
10-21-2002, 04:18 AM
On this page

http://funpigs.bravepages.com/testing/cssshark_index.htm

referring to this .css code

body {
background-image: url("/images/Pattern1.gif");
background-repeat: repeat-y;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
color : #000088;
margin: 0px;
background-color: #FFFFFF
}

.navigation {
position: absolute;
top: 100px;
left: 3px;
width: 135px;
height: auto;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
line-height : 110%;
}

.content {
background: #ffffff;
color: #000088;
margin-left: 160px;
margin-right: 20px;
padding: 5px;
font-family : Verdana, Eyechart, Geneva, Arial, Helvetica, sans-serif;
width: auto;
border: 0.1px solid #FFFFFF;
}

.header {
margin-top: 10px;
margin-left: 160px;
}

.box {
background: #FFFFFF;
color : #000099;
font-family : Arial, Tahoma, Verdana, Helvetica, sans-serif;
font-size: 12px;
padding : 2px;
margin: 2px;
border-color : #48D1CC;
border-style : groove;
border-width : 2px;
}

.navbox {
font-size: 15px;
font-family: Arial, Tahoma, Verdana, Helvetica, sans-serif;
border-color: #FF6633;
border-style: groove;
border-width: 2px;
padding: 1px;
margin: 2px;
}

why is my pattern1.gif image working?

(btw, I know the links don't work, I'm trying the get the template working first)

thanks

j

cg9com
10-21-2002, 06:53 AM
where are you storing the image at? (full url)

jimaxwell
10-21-2002, 10:03 AM
I finally got it to work.

http://funpigs.bravepages.com/testing/mako_index.htm

I put a ".." in front of the url and bingo, there it was....

body {
background-image: url(../images/dark_marble.jpg);
background-repeat: repeat-y;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
color : #000088;
margin: 0px;
background-color: #FFFFFF;
font-size: 15px
}


thx for the response though!!

j

cg9com
10-21-2002, 02:40 PM
i couldnt even find the picture file! :)

eyes were geting heavy if you know what i mean.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum