chrometweaks.org

Free iPage web hosting for my html coding?

Click Here To View All Answers...


My question is Free iPage web hosting for my html coding? Many thanks for any answer or 2. Another question... I am using Dreamweaver MX to layout my design and I am running into an annoying problem. The tables for my header and content body are not lining up flush against each other. There is a one pixel line seperating them..

Please see the attachment for a screen shot of the problem, and please take a look at my code at the following URL:.

Http://qualitybs.com/brandon/pixelws/tidy.htm.

All help would be greatly appreciated..

-brandon..

Comments (10)

I would like to know the answer too. Anyone here know what is the answer to that question. I'll do some poking around and get back to you if I bump into an useful answer. You should email the people at iPage as they probably could give you help..

Comment #1

You have to use "Compres HTML".

If it is not in Dreamweaver, it has to be done by hand..

Or use Arachnophilia : Tools >Options: Compress..

Comment #2

Your code shows you have an empty 3rd row in your 1st table with a height of 1 pixel:-.

<tr>.

<td height="1"></td>.

<td width="357"></td>.

<td></td>.

<td></td>.

</tr>.

Removing this should solve your problem...

Comment #3

Peter, compres html will not remove any spaces or adjust the formatting of the page itself..

MikeB, removing the height="1" doesn't fix it ... I already tried that..

Scoutt may be right, but I still tend to think it's having 3 tables set up like this:.

Especially given that the break appears where the tables join..

Neil..

Comment #4

Nope, MikeB is correct. you need to remove the empty row.

<tr>.

<td height="1"></td>.

<td width="357"></td>.

<td></td>.

<td></td>.

</tr>.

All of that and it will create a bigger problem so back to the drawing board. or you can try what Neil suggested. doing it your way, spitfire11, is causing havic and should be 1 big table...

Comment #5

Heh, a.

Very competent attempt at valid XHTML.

(get those missing.

Alt.

Attributes on the.

Img.

Tags), but as noted above the table data must consist of a minimum of.

<td> &amp;nbsp; </td>.

To be recognised, and it is the block including.

Height="1".

That is probably causing your problem..

The.

!DOCTYPE.

Must.

Be the very first line of any SGML document. Move that copyright tag to somewhere else. Alo, note the.

<title>Untitled Document</title>.

Don't forget to fill in the.

Title.

, and add.

Keywords.

And.

Description.

META tags...

Comment #6

Given I seem to be the only one in this thread who is actually testing the code, I will say again.

REMOVING THAT ROW DOES.

NOT.

FIX IT!.

It may be part of the problem, but the problem is more complex than just removing that row!.

Neil..

Comment #7

Okay, the problem actually lies in the images and the colspans that are set. You don't need a separate data cell for each image. So try this code:.

<! saved from url=(0045).

Http://qualitybs.com/brandon/pixelws/tidy.htm.

>.

<! COPYRIGHT 2002 BRANDON SULLIVAN ><HTML.

Xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Untitled Document</TITLE>.

<META content="MSHTML 6.00.2800.1126" name=GENERATOR>.

<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"></HEAD>.

<BODY>.

<TABLE cellSpacing=0 cellPadding=0 width=760 border=0><!DWLayoutTable>.

<TBODY>.

<TR>.

<TD vAlign=top width=760 height=60><IMG height=60.

Src="spitfire_files/template_01.gif" width=219><IMG height=60.

Src="spitfire_files/template_02.gif" width=541></TD></TR>.

<TR>.

<TD vAlign=top colSpan=2 height=15><IMG height=15.

Src="spitfire_files/template_03.gif" width=576><IMG height=15.

Src="spitfire_files/template_04.gif" width=54><IMG height=15.

Src="spitfire_files/template_05.gif" width=130></TD>.

</TR>.

</TBODY></TABLE>.

<TABLE cellSpacing=0 cellPadding=0 width=760 border=0><!DWLayoutTable>.

<TBODY>.

<TR>.

<TD vAlign=top width=576 height=555>.

<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><!DWLayoutTable>.

<TBODY>.

<TR>.

<TD width=576 height=555>&nbsp;</TD></TR></TBODY></TABLE></TD>.

<TD vAlign=top width=184>.

<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><!DWLayoutTable>.

<TBODY>.

<TR>.

<TD vAlign=top colSpan=2 height=39><IMG height=39.

Src="spitfire_files/template_07.gif" width=54></TD>.

<TD vAlign=top width=130><IMG height=39.

Src="spitfire_files/template_08.gif" width=130></TD></TR>.

<TR>.

<TD vAlign=top width=39 rowSpan=10><IMG height=468.

Src="spitfire_files/template_09.gif" width=39></TD>.

<TD vAlign=top width=15 height=36><IMG height=36.

Src="spitfire_files/template_10.gif" width=15></TD>.

<TD vAlign=top><IMG height=36 src="spitfire_files/template_11.gif".

Width=130></TD></TR>.

<TR>.

<TD vAlign=top colSpan=2 height=30><IMG height=30.

Src="spitfire_files/template_12.gif" width=145></TD></TR>.

<TR>.

<TD vAlign=top colSpan=2 height=30><IMG height=30.

Src="spitfire_files/template_13.gif" width=145></TD></TR>.

<TR>.

<TD vAlign=top colSpan=2 height=30><IMG height=30.

Src="spitfire_files/template_14.gif" width=145></TD></TR>.

<TR>.

<TD vAlign=top colSpan=2 height=30><IMG height=30.

Src="spitfire_files/template_15.gif" width=145></TD></TR>.

<TR>.

<TD vAlign=top colSpan=2 height=30><IMG height=30.

Src="spitfire_files/template_16.gif" width=145></TD></TR>.

<TR>.

<TD vAlign=top colSpan=2 height=30><IMG height=30.

Src="spitfire_files/template_17.gif" width=145></TD></TR>.

<TR>.

<TD vAlign=top colSpan=2 height=30><IMG height=30.

Src="spitfire_files/template_18.gif" width=145></TD></TR>.

<TR>.

<TD vAlign=top height=215><IMG height=215.

Src="spitfire_files/template_19.gif" width=15></TD>.

<TD vAlign=top><IMG height=215 src="spitfire_files/template_20.gif".

Width=130></TD></TR>.

<TR>.

<TD vAlign=top colSpan=2 height=7><IMG height=7.

Src="spitfire_files/template_21.gif" width=145></TD></TR>.

<TR>.

<TD vAlign=top colSpan=2 height=48><IMG height=48.

Src="spitfire_files/template_22.gif" width=54></TD>.

<TD vAlign=top><IMG height=48 src="spitfire_files/template_23.gif".

Width=130></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>.

<TABLE cellSpacing=0 cellPadding=0 width=760 border=0><!DWLayoutTable>.

<TBODY>.

<TR>.

<TD vAlign=top width=576 height=15><IMG height=15.

Src="spitfire_files/template_24.gif" width=576></TD>.

<TD vAlign=top width=54><IMG height=15.

Src="spitfire_files/template_25.gif" width=54></TD>.

<TD vAlign=top width=130><IMG height=15.

Src="spitfire_files/template_26.gif" width=130></TD></TR>.

<TR>.

<TD vAlign=top colSpan=3 height=35><IMG height=35.

Src="spitfire_files/template_27.gif".

Width=760></TD></TR></TBODY></TABLE></BODY></HTML>.

Neil.

PS: It's still a crappy way of doing it...

Comment #8

Thank you everyone for the help..

I have been trying these solutions as they've been suggested..

I guess I have not approached this layout in the most effecient manner, however someone in a newsgroup did offer a fix that does work while maintaining my table structure..

My original first table was:.

Here is the fixed code for the first table:.

I think I am going to experiment with a tableless layout and see how that works, although it would be new territory to me..

OK, I will change that, thanks..

Again, thanks for the input everyone. If anyone has suggestions as to how I should go about a tableless design, please let me know!.

-brandon..

Comment #9

Are you serious?? I have tried it and it works... oh wait he just did that and it works too, hmmm go figure. the 1 pixel is because of the empty row, the row that is in the first table that is empty.

So look at the code in spitfire11 2nd post.......

Comment #10

Yes I was serious and still am..

I had already checked.

To see if removing the empty row would work or not and it didn't, it caused MORE problems (or at least different problems) because of the stuffed up colspans in the first two rows of that table..

So for people to go around saying that removing the row with the <td height="1"> in it would fix the problem was completely and utterly wrong. It was wrong then, it's wrong now..

Now go see my post directly after the one you just quoted..

Neil..

Comment #11


This question was taken from a support group/message board and re-posted here so others can learn from it.