i posted this help request a weeks ago but apparently nobody can help me; i 've tried too to solve the problem, so here comes again my issue
The goal is to display centered the header of each column, including those with the mini-arrows indicanting sortable column. If the style of the header class includes a "center" directive AND is sortable, IE fails to display that element centered. If the header is not sortable, IE does it properly.
We suspect that it's related to the concatenation of style classes that Displaytag uses; the class id is rendered in HTML with serveral style keys, using spaces to separate them.
Is this a known problem of IE or Displaytag? Does anybody know how make column headers appear centered in IE?
Thanks a lot!!!
Daniel B.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's just a problem in your css. When a column is sortable you have a link inside it: check if you have a display:block definition on links (this will make the link as wide as the column, ignoring the text-align property)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thank you for the display:block tip, i have been looking for months for a solution to this problem. apparently not hard enough, since you posted in 2005 :D
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everybody,
i posted this help request a weeks ago but apparently nobody can help me; i 've tried too to solve the problem, so here comes again my issue
The goal is to display centered the header of each column, including those with the mini-arrows indicanting sortable column. If the style of the header class includes a "center" directive AND is sortable, IE fails to display that element centered. If the header is not sortable, IE does it properly.
We suspect that it's related to the concatenation of style classes that Displaytag uses; the class id is rendered in HTML with serveral style keys, using spaces to separate them.
Is this a known problem of IE or Displaytag? Does anybody know how make column headers appear centered in IE?
Thanks a lot!!!
Daniel B.
> Is this a known problem of IE or Displaytag?
It's just a problem in your css. When a column is sortable you have a link inside it: check if you have a display:block definition on links (this will make the link as wide as the column, ignoring the text-align property)
thank you for the display:block tip, i have been looking for months for a solution to this problem. apparently not hard enough, since you posted in 2005 :D
Fabrizio,
thanks for your help!. I've been looking around the CCS classes focusing my attention on "block" elements and playing with "text-aling" tag.
I apolgize for not giving a more concrete solution, but we have get with "trial&error" aproach :)
thanks again