On Tuesday, January 10, 2012 5:12:31 AM UTC-5, Cahya Dewanta wrote: > > Hello. I create a simple component (a .load file) with a table in it. > If I call it directly via browser then it would render as expected. > But calling it from within a view (with LOAD method) won't render its > format (border, spacing, etc). I notice that it only happens with > table. Others just render fine. > > Anything wrong? >
Assuming your .load view doesn't extend any other views and doesn't load any CSS files, when you view the component by itself in the browser, it will just get the default browser formatting plus any inline formatting you specified with the table. When the component is loaded within an outer page, there may be some CSS files loaded that include formatting that affects tables, which could be altering the appearance. You can use the browser's developer tools to inspect the table to figure out where the table styles are coming from. Anthony

