width:100% doesn't really work with sortable columns because the arrow image gets pushed to the far right of the header (depending on your particular layout and content). Unfortunately, I'm back to the hack I posted earlier. I think "float: left" works in IE and "margin-left: 0px" in Firefox:

table.myTableClass th table {
  margin-left: 0px;
  float: left;
}

It would be nice if there was a cleaner way to do this...
-Ryan

[EMAIL PROTECTED] wrote:

th table
{
        width:100%;
}

From  Derick Fernando <[EMAIL PROTECTED]>:

To isolate this effect to just the headers in question do something like this:

.myTableClass table td {
  align: left;
}

matt wear wrote:
That was the first thing I tried, along with a few other css attempts. The problem is that the table Contrib:Table renders within the th has its align attribute set to center. I think that overrides the value in my css file.
Ron Piterman wrote:

if all you want is that the header is not centered, add the following to your html (or use an external css ) :

<style>
 TH {
   text-align: left;
 }
</style>

you really don't need to manipulate the table component for that...

cheers,
Ron

matt wear wrote:

Is there anyway to get <th> elements to align left? It seems that instead of rendering a simple <th><a href="">Header Name</a></th> Contrib:Table renders something. like:
<th>
 <table align="center">
   <tr>
      <td><a href="">Header Name</a></td>
   </tr>
 </table>
</th>

Which causes the the header name to always be center aligned. Please let me know if there is a simple fix to this. Thanks

- Matt Wear


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


__________ NOD32 1.1275 (20051103) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com



--
.........................................

Derick Fernando
Lead Architect
[EMAIL PROTECTED]
(323) 314-9593
http://www.thelabllc.com

Content is for intended recipient only.
Copyright 2001-2005, The Lab, LLC

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to