+ Start a Discussion
coolcool 

Need help: Apply borders to a particular table only

Hi all,
I am trying to create a pdf page with visualforce. I use apex:panelGrid to list data. To format I use CSS styles. And I want to apply borders to only few tables. But when I define "table" or "td" the styles is getting applied to all the grids I have used. if some body konw a way to format only a specific table or a cell please help me to solve this.
 
Thanks! 
JeremyKraybillJeremyKraybill
If you use CSS ID styles, like

#myTableId {
  [...]
}

The style only gets applied to the element with an id="myTableId" attribute.

Search for "css id styles" or similar for more info.