Marc wrote: > The code below generates a header on the top-left of the > table. The text > in the <p> element, however, rolls up into a ball on the > other end of the > table. > It should start right under the heading. I've tried giving a > width:auto > and the > holly hack, but to no avail. I've tried floating it. > > HELP! > > > I think this is all the relevant code. > <div> > <table> > <caption> > <h2>Test Results:</h2> > <p>Calculated Closing Costs: <%jsp stuff%></p> > </caption> > <SNIP>
Marc- I could be wrong as I haven't taken the time to consult the proper sources, but I don't believe the caption can contain headers and paragraph tags. You should instead style the caption directly. Ex. <table> <caption>Test Results: Calculated Closing Costs: xxxxx</caption> And then write your rules as: caption { whateveryouwant: value; } Styling tables in general and captions in particular can be a bit odd if you don't understand exactly how captions work as part of the structure of the table. Perhaps the following page will be of some help though. http://www.aurora-il.org/table_test.htm regards, Ron ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/