it has nothing to do with tables - just add color: whatever to the body {} property
body {color: #00FF00;}
i fixed it.
here is some code i am having trouble with. i was wondering how to change the size of the link text.

Code:

<html>
<head>
<title>Crazedragon</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<h1>Crazedragon</h1>
<table align="CENTER" width="25%" height="10" cellpadding="5" cellspacing="2">
<tr>
<td><font-size:"25"><a href="index.php" target="_top">Home</a></font></td>
<td><a href="forum.php" target="_top">Forums</a></td>
<td><a href="about.php" target="_top">About</a></td>
<td><a href="links.php" target="_top">Links</a></td>
</tr>
</table>
</body>
</html>

Code:
<html>
<head>
<title>Crazedragon</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<h1>Crazedragon</h1>
<table align="CENTER" width="25%" height="10" cellpadding="5" cellspacing="2">
<tr>
<td><font size="18"><a href="index.php" target="_top">Home</a></font></td>
<td><a href="forum.php" target="_top">Forums</a></td>
<td><a href="about.php" target="_top">About</a></td>
<td><a href="links.php" target="_top">Links</a></td>
</tr>
</table>
</body>
</html>


Change the values a bit, see if that makes a difference for you. Smile You might also want to check your css, to see if any code there changes the font size for links.
Argh! <font size="#"></font> == bad! Check out my recommendation about CSS font size stuff in the New to PHP thread.
i want to create a class in my css and i was having trouble. i am using:


Code:

a.links:link{
background:red;
text-decoration:none;
}

and it does not work when i do:

Code:

<span class="link"><a href="index.php">Home</a></span>


oh and can i declare multiple classes in one span.
lafferjm wrote:
i want to create a class in my css and i was having trouble. i am using:


Code:

a.links:link{
background:red;
text-decoration:none;
}

and it does not work when i do:

Code:

<span class="link"><a href="index.php">Home</a></span>


oh and can i declare multiple classes in one span.


Meh, that's malformed CSS. What you want is something like:


Code:
.link{
background:red;
text-decoration:none;
}

a.link {
color: #0000FF;
}
a.link.hover {
text-decoration: underline;
}
that code did not work.
Oh sorry, that should be:

Code:
.link{
background-color: red;
text-decoration: none;
color: #000000
}

a.link {
background-color: red;
color: #0000FF;
}
a.link.hover {
text-decoration: underline;
}
The W3C validator says that code is good.
this isnt exactly a problem with html. but i was wondering if there were any good html, css, php, javascript tutorials that can be downloaded and are as good as the ones on w3schools so that i do not have to keep getting online just to reference a tutorial.
1) go to w3schools.com and go to whatever page you want

2) file->save page as

Smile
but wouldnt i still have to be online to view that page
holy crap, what part of "SAVE PAGE" did you not understand?
i did save as. what kind would i save it as. becasue it comes with four choices
The one called <something>COMPLETE<something>
it is html page, complete. thanks for telling me this. now i can get on to programming my site a lot better than what it is
I rofled at your second-to-last post Kllrnohj, nice job. Very Happy
is there any way i can do this page:
www.crazedragon.co.nr

without using tables but it looking almost identicle
mostly, yes. The border might be a little different, but otherwise good.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
» Goto page Previous  1, 2, 3, 4, 5, 6  Next
» View previous topic :: View next topic  
Page 4 of 6
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement