|
2005-05-16, 10:26 PM | #1 |
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! |
2005-05-16, 10:37 PM | #2 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
Change "cellspacing=9" to "cellspacing=0"
|
2005-05-17, 12:20 AM | #3 |
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! |
2005-05-17, 01:19 AM | #4 |
a.k.a. Sparky
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 |
2005-05-17, 12:35 PM | #5 | |
You tried your best and you failed miserably. The lesson is 'never try'
Join Date: Oct 2004
Posts: 166
|
Quote:
</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 - |
|
2005-05-17, 12:54 PM | #6 | ||
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:
A little tip for centering your tables so you can do away with all the <center> tags. Quote:
- |
||
2005-05-17, 04:11 PM | #7 |
Is it over already?
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? |
2005-05-17, 04:36 PM | #8 |
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! |
2005-05-17, 06:03 PM | #9 |
I'm going to the backseat of my car with the woman I love, and I won't be back for TEN MINUTES
|
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 . |
|
|