Page 1 of 1

HTML table problem

Posted: Thu Jul 21, 2005 11:36 pm
by bork[e]
http://www.members.cox.net/borke

I saw that bitWISE posted some code that had some tables laid out like I wanted. I know very little about html and have mostly just slapped the word "test" around some commands until it went to where I wanted to post a image or table. :icon32:

Question I have is I want to put some images, text into the center area in the link above. But I have no idea why it want go where I want it to. The code my be totaly wrong but that's the best I could do. I've been searching for 3 days now on some source code I had and cant find it. It had just what I needed, but oh well.

anyone know what I'm doing wrong?

Posted: Thu Jul 21, 2005 11:42 pm
by shiznit
yeah you are using tables, try css instead.

Posted: Thu Jul 21, 2005 11:48 pm
by bork[e]
would rather stick with what I'm doing for right now...like I said I know very little about html to begin with.

Posted: Fri Jul 22, 2005 12:01 am
by shiznit
I don't understand what you want to do? Trying to use the right grey area for content?

Posted: Fri Jul 22, 2005 12:10 am
by bork[e]
yeah, just to the right of the tables I have there.

Posted: Fri Jul 22, 2005 12:31 am
by shiznit
Your code is really messed up and I haven't used tables in a long time. I suggest you get a premade template and mess with that instead.

http://www.oswd.org

Posted: Fri Jul 22, 2005 12:46 am
by bork[e]
That's some good stuff! Found an example of what I'm going for so guess I'll just use one of those for an example. thanks.

Posted: Fri Jul 22, 2005 12:48 am
by shiznit
No problem, which one are you using anyway?

Posted: Fri Jul 22, 2005 12:48 am
by blakjack
this took 2 minutes of cut/paste so it aint great but a lot closer than what you had

replace your second table with this:

Code: Select all

<table width="100%" height="100%" border="0" bgcolor="#B52100">

<tr valign="top">
<td height="100%" width="100">

<font size="3" color="#FFFFFF"><u><center>Forums</center></u></font>
<br>
<a href="http://www.quake3world.com/forum/"><img src="misc/q3w_button.jpg" border="0"></a>
<br>
<a href="http://www.levelsource.com/"><img src="misc/levelsource_button.gif" border="0"></a>
<br>
<a href="http://www.map-center.com/"><img src="misc/mc_button.jpg" border="0"></a>
<br>
<font size="3" color="#FFFFFF"><u><center>Tools</center></u></font>
<br>
<a href="http://www.shaderlab.com/"><img src="misc/q3map2.gif" border="0"></a>
<br>
<a href="http://www.qeradiant.com/"><img src="misc/radiant_button.gif" border="0"></a>
<br>
<font size="3" color="#FFFFFF"><u><center>Mappers</center></u></font>
<br>
<a href="http://www.planetquake.com/kaziganthe/"><img src="misc/kaz_button.gif" border="0"></a>
<br>
<a href="http://www.planetquake.com/pjw/"><img src="misc/pjw_button.jpg" border="0"></a>
<br>

</td>
<td>

MAIN CONTENT PANE RIGHT ERE


</td>
</tr>

</table>

Posted: Fri Jul 22, 2005 1:00 am
by Cooldown
shiznit wrote:yeah you are using tables, try css instead.
Check http://glish.com/css/ for CSS layouts.

Posted: Fri Jul 22, 2005 1:05 am
by Bdw3
Woah- :icon28: too much stuff going on there to be a decent example for a beginner me thinks.

Posted: Fri Jul 22, 2005 1:07 am
by Dave
css substitutions for tables are not for html noobs

Posted: Fri Jul 22, 2005 1:12 am
by Bdw3
indeed

/me sticks with me tables.

Posted: Fri Jul 22, 2005 1:44 am
by bork[e]
Thanks blackjack. Think I'm going to mix some of that with what I found.

Posted: Fri Jul 22, 2005 7:54 am
by MKJ
dont use the center tag, it has been invalid for years now.
use div align="center" or summat