Help - Search - Members - Calendar
Full Version: 2 columns question
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
dadofpscag
I am trying to help my wife with a project. She knows more html than I. She has a league page that she wants two column headers but has spent hours/days with no result. She wants it to look like the following but cant get it to work.

____________________ ______________________

Words Words

Words Words

____________________ ______________________


tharpdevenport
This works on Internet Explorer, where I am; assuming your wife knows how to use Style sheets, but I'm not sure she does since what I did was very simple -- and I don't know everything (relaly, check my post history ;-):

CODE

<STYLE type="text/css">
.TD { Padding-top: 10px; Padding-bottom: 10px; Border-top: 1px solid black; Border-bottom: 1px solid black; }</STYLE>


<TABLE height="auto" width="100%" cellspacing="10">
<TBODY>
<TR>
<TD class="TD">Words Words
<BR>
<BR>
Words Words</TD>
<TD class="TD">Words Words
<BR>
<BR>
Words Words</TD></TR>
</TBODY></TABLE>
Frederiek
Personally, I wouldn't use tables to make a layout.

Maybe the following will be of help: http://matthewjamestaylor.com/blog/perfect...double-page.htm
tharpdevenport
Personnally, I would. wink.gif
Frederiek
That depends on the layout. With tabular data, sure, otherwise, no.
Brian Chandler
QUOTE(Frederiek @ Nov 9 2007, 05:16 PM) *

That depends on the layout. With tabular data, sure, otherwise, no.


The example you point at has <div>s nested four deep. I suppose I will never understand why that is Good, and a one level table is Bad. He also rambles a bit about long content making pages scroll, so he just destroys it. But this is CSS-destruction, so I suppose that is Good too.

However, I think that while the CSS-fascist line is perfectly acceptable as a personal philosophy, it's not really acceptable to write it as though it were the Truth.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.