hannah_dru
06-24-2004, 04:36 PM
I've had my 1st layout on my site 4 a year so I thought it was time 4 a change. I copied the code (html) on my site into a test page, and changed "bkground.jpg" 2 "bkground2.jpg". The new background seems to be repeating itself and I don't know how 2 stop it. Should I change to DIV? I don't understand it very well, my friend did the CSS codes 4 me. I can't find any DIV codes anywhere either.
My Site (the one that works and I got the code from) Hannah_Dru/Insane Drusilla (http://www.insanedrusilla.deadtime.net)
Test Page (http://www.geocities.com/insanedrusilla2003/index2.html)
Help please!
Cherchezlafemme
06-24-2004, 04:58 PM
Ok CSS backgrounds automatically repeat themselves. I'd try doing this add this to your CSS
background-repeat: no-repeat;
repe
hannah_dru
06-24-2004, 09:01 PM
I've either put it in the wrong place (I'm no good with CSS lol!) or I'm not sure, as its still repeating. I'm really confused. This is the code I have for the image:
<table background="bkground2.jpg" border="1" bordercolor="#000000" width="700">
<tr>
<td align="right"><iframe src="Home.html" name="Home" width="400" height="600" style="FILTER: chroma (color=#00ff00)"
background-color:transparent" frameborder="0" border="0" allowtransparency="true"></iframe></right></td>background-repeat: no-repeat;
</tr>
</table>
salomeyasobko
06-24-2004, 10:14 PM
eh.. that's pretty incorrect :D replace the whole code you just showed me with this:
<table border="1" bordercolor="#000000" width="700">
<tr>
<td align="right"><iframe src="Home.html" name="Home" width="400" height="600" style="FILTER: chroma (color=#00ff00);" frameborder="0" border="0" allowtransparency="true"></iframe></td>
</tr>
</table>
then after the <HEAD> tag of your website's coding, put this:
<style type="text/css">
table {background-image: url(bkground2.jpg); background-repeat: no-repeat;}
</style>
hannah_dru
06-25-2004, 04:14 PM
Stopped it from repeating now! Do I need to re-size the image? Its got a black line down it, I don't think its fills the whole table?
MaGiCSuN
06-27-2004, 05:15 PM
you could either resize the image in a graphic program, or resize the table that is surrounding it :)
Love,
Mirna