Click to See Complete Forum and Search --> : Whats wrong with it?


TasBainon
07-14-2005, 07:47 PM
I am using the following HTML on a website:

<head>
<BODY BGCOLOR="#C0C0C0" TEXT="#0000FF" LINK="#0000FF" VLINK="#800080">
<marquee bgcolor="C0C0C0" font color="000000"><b>Welcome to the Bainon Family House! Its under contruction*g*</b></marquee>
</head>

And yet this part:

<BODY BGCOLOR="#C0C0C0" TEXT="#0000FF" LINK="#0000FF" VLINK="#800080">

It isnt working for me. Should i be doing something different?

stymie
07-14-2005, 07:53 PM
<html>
<head>
<style type="text/css">
body{background-color:#C0C0C0; color:#0000FF;}
</style>
</head>
<body>
<marquee><b>Welcome to the Bainon Family House! Its under contruction*g* </b></marquee>
</body>
</html>

bathurst_guy
07-14-2005, 07:55 PM
Your code is completely incorrect. The body goes after the head not in it. All your design (colour of text, background colour ect) should be done using CSS not in the HTML document and you shouldn't use the marquee element, it's depreciated.