starryshimmer
02-07-2003, 07:09 AM
I want to make a table like lissa did on the webpage. I've tried everything that lissa said to do in tables, but it doesn't work. I didn't want to make frames, cause I didn't want to make seperate pages. I also wanted the whole page to move as 1-as in, when you scroll down, the whole page does. I want a page with 20% of it as a sidebar and 80% as the main page thingo. Could someone give me a code? I haven't had much trouble with tables like this before.
Dude128
02-07-2003, 07:28 AM
could you post the code that you're trying to use, so that we can help you correct it? you won't learn much by copying and pasting someone else's code :)
starryshimmer
02-07-2003, 07:34 AM
right-I guess. Its a little whacked....actually, I'm quite bad at tables-I've never tried to learn the easy way :) (infact,I never tried to learn it at all, its amazing i can make it show up!) I had to put those 'THIS IS THE SIDEBAR' thingos, to let me know where i am incase I get mixed up...(I'm stupid)
<html>
<head>
<title>.:Mish Mash World:.</title>
</head>
<body><NOBANNER><NOPOPUP><NOPOPUP><body text="#BD00BF" link="#00CC00" vlink="#990099" alink="#CC33FF"><background color="#FFFFFF">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="20%" bgcolor="#00CCFF" valign="left">
<font face="verdana"> <body text="#BD00BF" link="#00CC00" vlink="#990099" alink="#CC33FF">
THIS IS THE SIDEBAR! <a href="http://www.neopets.com>This should be a different COLOR!</a></td></tr>
</table>
</body>
</html>
alkaline39
02-07-2003, 03:48 PM
your table is correct, but the things inside of it are not
<body text="#BD00BF" link="#00CC00" vlink="#990099" alink="#CC33FF">
you cannot have a body tag inside a table and you cant have more than 1 body tag
i noticed you have 2 at the top plus the one in the table gives u 3, only 1 for the whole document is needed
<body text="#BD00BF" link="#00CC00" vlink="#990099" alink="#CC33FF"><background color="#FFFFFF">
, if u want to change the text colors use this code
<font color="BD00BF"></font>
this is your table:
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="20%" bgcolor="#00CCFF" valign="left">
<font face="verdana">
THIS IS THE SIDEBAR! <a href="http://www.neopets.com>This should be a different COLOR!</a></font>
</td>
</tr>
</table>
the way i organized it, i just find it easier to read that way, and remember to close your font tag
To follow up on the previous posting, your code should appear like so...
<html>
<head>
<title>.:Mish Mash World:.</title>
</head>
<body text="#BD00BF" link="#00CC00" vlink="#990099" alink="#CC33FF" bgcolor="#FFFFFF">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="20%" bgcolor="#00CCFF" align="left">
<font face="verdana">
THIS IS THE SIDEBAR!
<a href="http://www.neopets.com">This should be a different COLOR!</a>
</font>
</td>
</tr>
</table>
</body>
</html>
When you use VALIGN the values can be top, middle, or bottom. ALIGN has the values of left, right, and center.
Notice the single body tag now and has all of its properties fixed. BGCOLOR is the correct way to do the background coloring.
Also added the finishing quotes on your HREF value.
starryshimmer
02-15-2003, 05:21 AM
Ok-I think I might've posted this before, but I can't remember...i want my table to look like frames. Unless you can get all the frames to scroll down at the same time, I suggest you reply. I want it to look like my table has 3 frames-one title frame, one right-sidebarframe and the left frame. Like...the sidebar takes up the WHOLE side-and the place where the title is meant to be. The title takes up the left side instead-I'm getting confused myself actually...but something that looks like this site: Greedyanimal (http://www.greedyanimal.com)