Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-05-16, 10:26 PM   #1
mrenaud
If something's hard to do, then it's not worth doing
 
Join Date: Apr 2005
Posts: 240
Look at my code please

Take a look at

http://www.adultpornos.net/freesite1/warning.html

I screwed something up and now I get 2 white lines between the warning and last banner. It was solid blue color all the way down before.
__________________
Lets trade A-B-C links
Lots of blogs ready to trade pr2 -pr3...pm me now!
mrenaud is offline   Reply With Quote
Old 2005-05-16, 10:37 PM   #2
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
Change "cellspacing=9" to "cellspacing=0"
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2005-05-17, 12:20 AM   #3
mrenaud
If something's hard to do, then it's not worth doing
 
Join Date: Apr 2005
Posts: 240
Cleo I had this:

<table border=0 width="600" bgcolor=#0099ff cellspacing=9 cellpadding=9>

Changed to what you said:


<table border=0 width="600" bgcolor=#0099ff cellspacing=0 cellpadding=9>

Didn't fix it though, unless I changed the wrong one?
__________________
Lets trade A-B-C links
Lots of blogs ready to trade pr2 -pr3...pm me now!
mrenaud is offline   Reply With Quote
Old 2005-05-17, 01:19 AM   #4
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
try cellpadding="0"
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Old 2005-05-17, 12:35 PM   #5
Barron
You tried your best and you failed miserably. The lesson is 'never try'
 
Join Date: Oct 2004
Posts: 166
Quote:
</td></tr></table></a>
</tr>

<table width=604 border="0">
<tr>
<td BGCOLOR=#3399FF width="600">
<center><h2><font color=#FFFFFF>WARNING</h2></font>
<form method="POST">
I think your table tags are out of sync, this part doesnt appear to be correct:

</tr>

<table width=604 border="0">
<tr>

I didnt follow all the tags, but it seems like either missing a closing </table> tag, or you need a opening <td>.

When I have trouble with tables and cant find the mistake I put a border=1 in all the table tags so I can see what is happening.

Good luck with it


-
Barron is offline   Reply With Quote
Old 2005-05-17, 12:54 PM   #6
Barron
You tried your best and you failed miserably. The lesson is 'never try'
 
Join Date: Oct 2004
Posts: 166
Scratch what I just said. I went back and looked, your tables are definetly out of sync.

This is wrong:
Quote:
<tr>
<td align=center><img src="teenymania/tm_hpa_02.jpg"><br><font size=+2>Teeny Mania gives you over 100,000 teen hardcore pics & 150,000 teen fuck vidoes!</font>
</td>
</tr>

<center>
<! --------------- Recip table -------------------------!>
<table border="0" bordercolor=#0000E6 bgcolor=#0099ff width="600">
I think your missing the closing </table> tag.


A little tip for centering your tables so you can do away with all the <center> tags.

Quote:
<table width="600" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td>
</td>
</tr>
</table>

or

<html>
<head>
</head>
<body>
<div align=center>

<table width="600" cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
</td>
</tr>
</table>

</div>
</body>
</html>
To fix your problem, go back and check all your table, tr and td tags and make sure they all have closing tags in the right spots.


-
Barron is offline   Reply With Quote
Old 2005-05-17, 04:11 PM   #7
Trev
Is it over already?
 
Trev's Avatar
 
Join Date: Sep 2003
Location: the beautiful shores of Lake Erie
Posts: 890
yeah, he's left several tags open. I think his problem on the bottom may be that he left the 'form' open, the row (tr) the form is in open, the row with the bottom banner open and the table open.

There are so many open tags it may be easier to just redo the page. You can close all of those tags first and see if that solves your problem tho.
__________________
Hey buddy... can you spare a sig?
Trev is offline   Reply With Quote
Old 2005-05-17, 04:36 PM   #8
mrenaud
If something's hard to do, then it's not worth doing
 
Join Date: Apr 2005
Posts: 240
Yes my code was quite messy. I'm not the best with tables just yet, but anyways I was able to fix it by adding a cellpadding=0.

Anybody know of any really good tutorials on tables? I've found some info on them but nothing to great. Thing is I used to code a long time ago some I'm pretty rusty and forget some fundamentals.

Thanks to all
__________________
Lets trade A-B-C links
Lots of blogs ready to trade pr2 -pr3...pm me now!
mrenaud is offline   Reply With Quote
Old 2005-05-17, 06:03 PM   #9
b1ng0
I'm going to the backseat of my car with the woman I love, and I won't be back for TEN MINUTES
 
Join Date: Jan 2005
Posts: 85
Send a message via ICQ to b1ng0
Tables are just like any other HTML, always remember "LIFO", Last In First Out. Some other important things to remember, you can only nest tables inside of <td> tags, and when using colspan or rowspan, the number you use for colspan or rowspan INCLUDES the current table cell you are applying the attribute too. It can still get a bit confusing for me sometimes so for complex tables I usually cheat and use Dreamweaver to basically draw them :p.

Practice will make perfect though... once you've sat in your chair for 10 minutes, scratching your head trying to figure out whats wrong with your code and are about to take a baseball bat to your monitor, and then you finally see where the problem is, you will remember it .
b1ng0 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:18 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc