Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Carmine Marino on Jul 08, 2008 07:27
open dhtmlx forum
Global style sheets is messing up grid layout

Thank you for the quick response on previous questiions.

On our site we have style sheets that have global styles,div, table, tr, td kind of stuff. This is mesing with column alignment on the grid control. Do you have a suggestion for how to get around this? I've tried a number of global reset style sheets. I'm just not hitting the right elements.

Any help is appreciated.

thank you ,
Carmine Marino
Answer posted by Support on Jul 08, 2008 08:17
You can add something similar to next

div.gridbox table, div.gridbox tr, div.gridbox td, div.gridbox div{
    padding:0px;
    margin:0px;
    background-color:transparent;
    color:black;
}


Such style defenition will affect only elements inside the grid container, and must effectivly reset any global styling.