Home › Forums › CSS › Resizing background and content at the same time. › Reply To: Resizing background and content at the same time.
October 5, 2016 at 12:33 am
#246178
bigmikee
Participant
<!DOCTYPE html>
<html>
<head>
<style>
table#t01 {
background: url(http://mwebsatwork.com/macBookBG700x410.jpg) no-repeat center center fixed;
}
table#t01 {
width: 100%;
background-color: #f1f1c1;
}
</style>
</head>
<body>
<table id=”t01″>
<tr>
<td style=”text-align:center;”><object width=”400″ height=”400″
data=”http://www.youtube.com/embed/XGSy3_Czz8k”>
</object></td>
</tr>
</table>
</body>
</html>