Can someone help me with my website?

Homework giving you a headache? Math gives you a migraine? Can't quite figure out how to do something in photoshop? Never fear, the other members of CAA share their expertise in this forum.

Can someone help me with my website?

Postby Tidus20 » Sun Jan 02, 2005 11:59 am

A:visited { text-decoration: none; color:"#00FFFF"; }
A:hover { text-decoration:none; color:"#000000"; cursor: crosshair;}

body {
scrollbar-arrow-color: #000000;
scrollbar-darkshadow-color: #000000;
scrollbar-track-color: #FFFFFF;
scrollbar-face-color: #FFFFFF;
scrollbar-shadow-color: #000000;
scrollbar-highlight-color: #000000;
scrollbar-3dlight-color: #FFFFFF;

-->

</style>

</head>

<p>Welcome to Ah'm on tv!, my very own gir fansite! started:1/1/05 finished:</p>

<p><a href="page2.html"><u>enter</u></a></p>

</body>

</html>

Can someone help me get the background black and everything but the underlined word white? It just wont work for me... anyway, thanks.
When the clock reads 2113
-2113
-Coheed and Cambria

Check out my totally NOT MySpace thingy HERE.

My ACTUAL WEBSITE.
User avatar
Tidus20
 
Posts: 357
Joined: Sun May 02, 2004 3:36 pm
Location: A place not too far from my happy place. My left middle finger has touched the same guitar as that

Postby Mr. SmartyPants » Sun Jan 02, 2005 1:50 pm

i believe it is

<body bgcolor=black>
<body text=white>

maybe? You can also use the hexidecimal numbers i suppose, but i believe the words work as well
User avatar
Mr. SmartyPants
 
Posts: 12541
Joined: Sat Aug 21, 2004 9:00 am

Postby Tidus20 » Sun Jan 02, 2005 2:02 pm

I've got an awesome site that can help out a lot with html. and thanks!

Edit: it still seems to think that it's agood idea for the text to be black too, so nobody can see it... why? this is the edited html:

<html>

<head>

<title>Ah'm on tv!: Teh ultimate gir fansite</title>

<body bgcolor="black" body text"white">

<style>

<!--

BODY,P,TD {font-family:verdana,arial; font-size:11px; text-color:white; bgcolor:black; }

A:link { text-decoration: none; color:"#7FFFD4"; }
A:visited { text-decoration: none; color:"#00FFFF"; }
A:hover { text-decoration:none; color:"#000000"; cursor: crosshair;}

body {
scrollbar-arrow-color: #000000;
scrollbar-darkshadow-color: #000000;
scrollbar-track-color: #FFFFFF;
scrollbar-face-color: #FFFFFF;
scrollbar-shadow-color: #000000;
scrollbar-highlight-color: #000000;
scrollbar-3dlight-color: #FFFFFF;

-->

</style>

</head>

<p>Welcome to Ah'm on tv!, my very own gir fansite! started:1/1/05 finished:</p>

<p><a href="page2.html"><u>enter</u></a></p>

</body>

</html>
When the clock reads 2113
-2113
-Coheed and Cambria

Check out my totally NOT MySpace thingy HERE.

My ACTUAL WEBSITE.
User avatar
Tidus20
 
Posts: 357
Joined: Sun May 02, 2004 3:36 pm
Location: A place not too far from my happy place. My left middle finger has touched the same guitar as that

Postby Kaligraphic » Wed Jan 05, 2005 1:20 am

Okay, read through the specs at the World Wide Web Consortium (w3.org).

Your edited html is not valid. You've overlapped the head and the body (a no-no) and left a style block open (again, bad).

Take out the bgcolor and text-color stuff, and put the body tag after you close the head. Then, after the body block in your style section, put the '}'.

Oh, and 'body text"white"' is an invalid way of specifying an html attribute.

The way to do this is to read up on CSS 2(w3.org), and change your style section as follows:

Code: Select all
body    {
        background-color: #000000;
        color: #ffffff;
        (whatever other attributes)
        }

u       {
        color: #00ff00;
        }

that'll set text in u tags to green.

Oh, and I suggest using this format for all CSS - it makes it easier to read. Multiple attributes on the same line are harder to read, so put one per line to make it easy on yourself.

of course, hyperlinks are usually underlined anyway, so why are you using u tags there in the first place?
The cake used to be a lie like you, but then it took a portal to the deception core.
User avatar
Kaligraphic
 
Posts: 2002
Joined: Wed Jul 21, 2004 12:00 pm
Location: The catbox of DOOM!


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 70 guests