GTAStunting
General => General Discussion => Computer Talk => Topic started by: Tence on July 13, 2007, 06:03:46 PM
-
Ok i got a lil question for ya.....i got a video on my myspace and i got it from youtube and its shrunk and embedded but it it possible to put some sort of frame around it.....that way it will look like your watching a old 50's style tv?
-
Using CSS in Myspace works doesnt it
make the html table like this
___________________________________________________________________
|--------------------------------------------------------------------------------------------|
|--------------------------------------------------------------------------------------------|
|-----------------------------------------TV TOP-------------------------------------------|
|__________________________________________________________________|
|--------------|----------------------------------------------------------|------------------|
|--------------|----------------------------------------------------------|------------------|
|--------------|----------------------------------------------------------|------------------|
|--------------|----------------------------------------------------------|------------------|
|--------------|----------------------------------------------------------|------------------|
|--------------|----------------------------------------------------------|------------------|
|--------------|--------------------------YT VIDEO---------------------|------------------|
|-----LEFT----|----------------------------------------------------------|-----RIGHT-----|
|--------------|----------------------------------------------------------|------------------|
|--------------|----------------------------------------------------------|------------------|
|--------------|----------------------------------------------------------|------------------|
|--------------|----------------------------------------------------------|------------------|
___________________________________________________________________
|--------------------------------------------------------------------------------------------|
|--------------------------------------------------------------------------------------------|
|-----------------------------------------TV BASE-----------------------------------------|
|__________________________________________________________________|
Give each box a css style using
<table class="TV_TOP">
etc and then define each class with a css tag
.TV_TOP{
background: picture of top of tv;
border: none
}
Then place the embed link in the middle
Hope that helps
EDIT: Stupid forums fucked up my artwork -_-
-
why css ?
Just make the table and make a bg image in each cell.
EDIT:
[codebox]<head>
</head>
<body>
<table width="100" height="100" border="0">
<tr>
<td background="images/"> </td>
<td background="images/"> </td>
<td background="images/"> </td>
</tr>
<tr>
<td background="images/"> </td>
<td background="images/">YOUTUBE LINK HERE</td>
<td background="images/"> </td>
</tr>
<tr>
<td background="images/"> </td>
<td background="images/"> </td>
<td background="images/"> </td>
</tr>
</table>
</body>[/codebox]
-
^ But don't forget to change the width and height of the table, or it will screw up.
-
ImPaKt, just use courier