Table Data and CSS

I have a page $$ViewTemplate with an embedded view on it, the page uses an external css page to control the appearance. The view is categorized on two different fields and it is also set to display 9 lines and shrink to fit. When this view is opened on the web the spacing of the categories are all off. The first category is about a half inch from the twistie, the second category is aligned in the middle and the page. The actual link lines itself up correctly. I have tried all sorts of changes to the css file but it doesn’t seem to affect the view. I have tried text-align: left but that didn’t have any affect. I would like to have everything aligned to the left. Any help would be greatly appreciated.

Below is a portion of the css code.

table{

font-family: arial;

border-spacing: 4px;

border-style: none none none none;

border-color: black black black black;

border-collapse: collapse;

text-align: left;

frame: border;

width: 100%;

}

th {

text-align: left;

}

tr{

text-align: left;

valign: top;	

}

td {

font-family:arial;

font-size: 14px;

padding-right: 2cm;

padding: 1px 1px 1px 1px;

border-style: none none none none;

border-spacing: 0px;

frame: void;	

text-align: left;

word-wrap: break-word;

-moz-border-radius: 0px 0px 0px 0px;

}

A portion of the view source from the browser:

Hide details for ABC COABC CO
3$1,000.00
Hide details for AA
2$3,568.00

Thanks for the help!

Subject: Table Data and CSS

The problem is the HTML rendering – categories should be colspanned, but they’re not. Try this if you don’t want to hand-code the HTML>

Subject: Table Data and CSS

“The view is categorized on two different fields and it is also set to display 9 lines and shrink to fit.”

That’s what causes the problem. I had this behaviour on my web-views, too.

I solved it by setting the display lines back to 1, and have my multi-values in the columns displayed by setting the “multi-value separator” on the first column properties tab to “New Line”.

(But notice that this will show ALL values in the view - if you have 20 values in the field, you get 20 rows per document.)

If you want to show non-multi-value-values, I’m sorry, for I have no solution for that issue…

hth

Mario