<style type="text/css">
tr:nth-child(odd) { background-color: #ecf1f2; padding: 4px;}
tr:nth-child(even) { background-color: #fff; padding: 4px;}
table { border-collapse: collapse; border-spacing: 0; }
</style>
58999b73-7277-4a1f-8eee-405021cb03f0|0|.0
5e1bc687-ba84-402b-b332-399849d2b8c5|0|.0
If you want your table column to not wrap in ASP.Net, you can use the NoWrap property in the tag like so:
- <td nowrap="nowrap">
- content
- </td>
<td nowrap="nowrap">
content
</td>
This makes the code xhtml compliant and prevents warnings in the source view of designer in Visual Studio. Normally you could just specify a nowrap attribute by itself in plain html.
Or the CSS equivalent of setting nowrap:
- <td style="white-space:nowrap;">
- content
- </td>
<td style="white-space:nowrap;">
content
</td>
Again, using the first option will prevent warnings in source view.
171103f3-0a61-4246-852b-738723a99c29|0|.0
This blog got it right! Note that the html css tag is important so you can add it in on its own of you already have a body tag doing it's thing.
http://fortysevenmedia.com/blog/archives/making_your_footer_stay_put_with_css/
8c2565e0-f7b8-4362-9b4b-728e815a9757|0|.0