:: Forum >>

IN <DIV style="display:table"></DIV> doesn't appear

Hi!

The previously post was wrong. The problem is in the VERSION 1.x. SORRY.

The useful place in my PHP website is beetwen <DIV style="display:table"></DIV>. I cant change this. The grid doesn't appear beetwen the tags. Can anyone help me?

Thanks before:
SSX
SSX
Friday, January 13, 2006
Pretty sure that style="display: table;" is an actual attribute.

Available values for "display" attribute are.


block
none
inline
inline-block
list-item
table-header-group
table-footer-group
Tony
Friday, January 13, 2006
SSX - Show us more of your code. I need to see how you are creating the grid etc. What are you trying to accomplish with DISPLAY:TABLE?

Tony - You can set display inside the Style, I do it all the time.
Jim Hunter
Friday, January 13, 2006
Jim, I know you can set display there, but if you look at the specs for "display" the ones I noted are the only available, "table" is not a values that can be specified, that is probably what's causing it. When I tried to use display:table; the grid rendered only the outline and was off centered to where it should have been.
Tony
Friday, January 13, 2006
Ok. I did some further research.

"table" is an attribute, but with the grid you get undesirable results.

http://www.w3.org/TR/REC-CSS2/visuren.html#display-prop

But it seems the table attributes are pretty restrictive to where you can use them according to here

http://www.w3.org/TR/REC-CSS2/tables.html#q2
Tony
Friday, January 13, 2006

This topic is archived.


Back to support forum

Forum search