PDA

Click to See Complete Forum and Search --> : What am I doing Wrong!?!?!?!?! (HTML HELP PLEASE!!!)


Silence04
05-26-2004, 08:10 PM
can someone explain to me why i have a1 pixel line under my contact table?!?!?!?!
www.jdcgraphics.net/contact.htm (http://www.jdcgraphics.net/contact.htm)

i've tried everything and i can't get rid of it!!!


http://www.jdcgraphics.net/banner.gif

YellowDart
05-26-2004, 08:50 PM
Well, I'm not sure if you've tried directly editing your HTML, or if you're editing through the GUI in DW. I assume you're using DW, since there are alot of <!--DWLayoutEmptyCell--> comment fields present in your code... I mean a LOT.

Just looking through there, it looks like one row in particular has a height of 0, with absolutely NOTHING in it... It shouldn't be causing anything to show up on screen, but then again, it also shouldn't be there...

Here's what I think may be your offending code:

<tr>
<td height='26' width='22' valign='top'><img src='images/website_window_07.gif' width='22' height='26'></td>
<td height='26' width='496' colspan='5' valign='top' background='images/bottom_window_bg.gif'><!--DWLayoutEmptyCell--></td>
<td height='26' width='22' valign='top'><img src='images/website_window_09.gif' width='22' height='26'></td>
</tr>

<tr>
<td height='0'></td>
<td></td>
<td width='128'></td>
<td width='77'></td>
<td></td>
<td></td>
<td></td>
</tr>
</table></td>

The only reason I bring this up is that the empty row that's got a height of 0 is the row that's directly under your panel on your layout, where the line is showing up. Try deleting that second, italicised row. If that doesn't do it, I'll keep looking. /emoticons/icon_wink.gif

Silence04
05-26-2004, 09:04 PM
cool thanks yellowdart!!! i was editing in html, but i was mainly messing with the cell widths and heights...
i'll ckeck it out!


http://www.jdcgraphics.net/banner.gif

casedsgn
05-26-2004, 09:06 PM
You ususally don't need to define cell width and heights for every cell. You may be forcing cells to take on dimensions that don't add up. Try loosing the height parameters in your <td> tags. Just a thought.

YellowDart
05-26-2004, 09:14 PM
np Silence, hope it helped. Let me know if it worked out, if not, I'll dig around in your code some more. /emoticons/icon_wink.gif

Post Edited (YellowDart) : 5/26/2004 5:19:03 PM GMT

Silence04
05-26-2004, 09:30 PM
sh!t... no luck.
taking out that stuff just threw everything off...grrr... i wish i remembered more html!


http://www.jdcgraphics.net/banner.gif

YellowDart
05-26-2004, 09:36 PM
Silence04 said...
sh!t... no luck.
taking out that stuff just threw everything off...grrr... i wish i remembered more html!

hrmmmm... you must have some fields w/ rowspan attributes defined... that would probably be the cause of your table exploding when you deleted that row...

I'll look again.

Silence04
05-26-2004, 09:39 PM
sweet, figured it out.... it was the 1x1 pixel background image that was set for the table... the photoshop web color number and DW web color number weren't matching up, thats why i used the background image (but now i remembered about the RGB selection in DW so i don't know the background image anymore...hehe)

Thanks guys for your help!





http://www.jdcgraphics.net/banner.gif

casedsgn
05-26-2004, 09:43 PM
That's got to be the problem yellowDart...It looks like the entire page is ONE table divided into tons of colspan / rowspan specific cells.
Silence, would it be too much trouble to break it up into at least a couple tables? One for the header and nav, one for the main content, and one for the footer? You may want to put your content in a table and nest it within the main content table. Make sense?

casedsgn
05-26-2004, 09:45 PM
Cool, glad you figured it out!

YellowDart
05-26-2004, 09:48 PM
Glad you got it licked silence.

casedsgn: Yea, the page is one enormously complex table... there w/ a couple nested tables throw in for good measure. /emoticons/icon_wink.gif Found your problem when removing that row though... it's a spacer row w/ 7 columns in it your rowspans on that table hinge upon that spacer row to lock in the layout. If you delete that row, it throws off that entire table, which luckily is nested, and is probably the least complex part of the page. If you wanted to get rid of it, it wouldn't be that hard; although you'd have to reset your colspans according to your new layout... probably more of a p.i.t.a. than it's worth at this point.