View Full Version : Table fix position


netkid
05-06-2003, 07:57 PM
<html>
<head>
<title>Table Test</title>
<style><!--

SELECT {
font-weight : normal;
font-size : 10px;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #ffffff;
background-color : #00aabc;
border-width : 1px;
border-color : #ffffff;
}


RADIO {
font-weight : normal;
font-size : 10px;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #ffffff;
border-width : 1px;
border-color : #ffffff;
}


P {
font-style : normal;
font-weight : normal;
font-size : 10px;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #000000;
}


INPUT {
font-weight : normal;
font-size : 10px;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #ffffff;
background-color : #00aabc;
border-width : 1px;
border-color : #ffffff;
}


H4 {
font-style : normal;
font-weight : normal;
font-size : 10pt;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #000000;
text-decoration : none;
}


H3 {
font-style : normal;
font-weight : normal;
font-size : 10pt;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #000000;
text-decoration : none;
}


H2 {
font-style : normal;
font-weight : bold;
font-size : 10px;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #000000;
text-decoration : none;
}


H1 {
font-style : normal;
font-weight : normal;
font-size : 10pt;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #000000;
text-decoration : none;
}


BODY {
font-style : normal;
font-weight : normal;
font-size : 11px;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #000000;
text-decoration : none;
scrollbar-base-color: #78A9D9;
scrollbar-shadow-color: #C8E3FF;
scrollbar-highlight-color: #C8E3FF;
scrollbar-3dlight-color: #94C2E4;
scrollbar-darkshadow-color: #78A9D9;
scrollbar-track-color: #94C2E4;
scrollbar-arrow-color: #94C2E4;
}


A:visited {
font-style : normal;
font-weight : bold;
font-size : 10px;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #FFFFFF;
text-decoration : none;
}


A:hover {
font-style : normal;
font-weight : bold;
font-size : 10px;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #78A9D9;
text-decoration : underline;
}


A:active {
font-style : normal;
font-weight : bold;
font-size : 10px;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #78A9D9;
text-decoration : underline;
}


A {
font-style : normal;
font-weight : bold;
font-size : 10px;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #C0C0C1;
text-decoration : none;
}

-->

</style>



</head>

<body bgcolor="#000000">


<br>

<div align=center>
<table border="0" cellspacing="0" cellpadding="5" align="center">
<tr>

<td bgcolor="#FFFFFF" colspan=500 cellpadding="5">
<font face="Arial" size="2" color ="#003399">
//neTKiD's netWaVe
</font>
</td>

</tr>
</table>
</div>





<div align=center>
<table border="0" cellspacing="0" cellpadding="5" align="center">
<tr align="center">

<td bgcolor="#003399" colspan=125 cellpadding="5">
<font face="Arial" size="2" color="#FFFFFF">
<a href="http://www.net-kid.net">Home</a>
</font></td>

<td bgcolor="#FFFFFF" colspan=275 cellpadding="5">
<font face="Arial" size="2" color ="#003399">
Welcome!
</font>
</td>

<td bgcolor="#003399" colspan=125 cellpadding="5">
<font face="Arial" size="2" color="#FFFFFF">
<a href="http://www.net-kid.net/Tutorials">Tutorials</a>
</font>
</td>

</tr>
</table>
</div>



<div align=center>
<table border="0" cellspacing="0" cellpadding="5" align="center">
<tr align="center">

<td bgcolor="#003399" colspan=125 cellpadding="5">
<font face="Arial" size="2" color="#FFFFFF">
<a href="http://www.net-kid.net/Tutorials">Tutorials</a>
</font></td>
<td bgcolor="#FFFFFF" colspan=310 cellpadding="5">
<font face="Arial" size="2" color ="#003399">
ssankar@comcast.net
</font>
</td>

<td bgcolor="#003399" colspan=125 cellpadding="5">
<font face="Arial" size="2" color="#FFFFFF">
<a href="http://www.blog.net-kid.net">Blog</a>
</font>
</td>

</tr>
</table>
</div>


<div align=center>
<table border="0" cellspacing="0" cellpadding="5" align="center">
<tr align="center">

<td bgcolor="#003399" colspan=125 cellpadding="5">
<font face="Arial" size="2" color="#FFFFFF">
<a href="http://www.yahoo.com">Yahoo!</a>
</font></td>

<td bgcolor="#FFFFFF" colspan=310 cellpadding="5">
<font face="Arial" size="2" color ="#003399">
ssankar@comcast.net
</font>
</td>

<td bgcolor="#003399" colspan=125 cellpadding="5">
<font face="Arial" size="2" color="#FFFFFF">
<a href="http://www.blog.net-kid.net">Blog</a>
</font>
</td>

</tr>
</table>
</div>



<!----
<table border="0" cellspacing="0" cellpadding="5">
<tr>
<td bgcolor="#FFFF00" colspan=4 cellpadding="5">Lissa Explains it All</td>
</tr>
<tr>
<td bgcolor="#00CCFF" cellpadding="5">cell 1</td>
<td bgcolor="#CC00FF" cellpadding="5">cell 2</td>
<td bgcolor="#ff33cc" cellpadding="5">cell 3</td>
<td bgcolor="#00FF00" cellpadding="5">cell 4</td>
</tr>
<tr>
<td bgcolor="#ff33cc" cellpadding="5">cell 5</td>
<td bgcolor="#00FF00" cellpadding="5">cell 6</td>
<td bgcolor="#00CCFF" cellpadding="5">cell 7</td>
<td bgcolor="#CC00FF" cellpadding="5">cell 8</td>
</tr>
</table>
-->
</body>
</html>



Is there any way to keep the table at a set amount so it doesnt shrink and lenghten w/ the text?

Sorry im a lil rusty on this part! lol

Xiphias
05-06-2003, 08:42 PM
if I'm hearin you right I don't think that's possible without a scrolling div or an iFrame.

but here is a little tip--due to compatibility issues I have discovered, it's better to change your colspan=3 (or whatever # you have on them) to colspan="3"... attributes are more easily decided when they are quoted.

netkid
05-06-2003, 08:58 PM
sortta like this site

http://thehpn.rupture.net/