How do i get a background behind my border?

Status
Not open for further replies.

extacy

Member
Jan 6, 2011
106
2
When i put this border on somthing it makes what ever is inside the border's background white
how can i change that?
heres my code:
Code:
<center>
<head>
<table cellpadding="5" cellspacing="0" border="0" style="border:8px ridge #ff0000">
<tr><td align="center" valign="middle" background-image: url(bg2.png); background-repeat:repeat;>
<h1>How can i get a background on this?</h1>
</td></tr></table> 
</head>
</center>
 

extacy

Member
Jan 6, 2011
106
2
@ry I didnt my brother thought he knew how to do it and now it just is messed up more, but can you fix it so i can put a background on it?

@m0nsta again that was my brother
 

extacy

Member
Jan 6, 2011
106
2
My brother he thought he knew how to put a background for the inside of the border, but it didn't work and i cant remember the original code, and idk how to make a background for the inside border.
 

Markshall

Русский Стандарт
Contributor
Dec 18, 2010
2,638
2,393
Try this


<tr><td align="center" valign="middle" style="background: url(bg2.png); background-repeat:repeat;">
 

RyanMK

Still alive
May 27, 2010
802
117
<center>
<table cellpadding="5" cellspacing="0" border="0" style="border:8px ridge #ff0000; background-image: url(bg2.png);">
<tr><td align="center" valign="middle">
<h1>There should now be a bg</h1>
</td></tr></table>
</center>

Notice how I removed the head tags you put in.
 

extacy

Member
Jan 6, 2011
106
2
<center>
<table cellpadding="5" cellspacing="0" border="0" style="border:8px ridge #ff0000; background-image: url(bg2.png);">
<tr><td align="center" valign="middle">
<h1>There should now be a bg</h1>
</td></tr></table>
</center>

Notice how I removed the head tags you put in.
Thanks for fixing it.
 
Status
Not open for further replies.

Users who are viewing this thread

Top