0

I have a table which contains a segmented picture. Picture is segmented due to adding mouse over effect on some parts of picture.

Although the stand-alone version is OK, when integrated to WordPress as a side bar HTML code, becomes messy (cell-padding changes). Since I have no control over the parent control (here a DIV) how can I override parent CSS from my HTML code (without changing WordPress side-bar PHP code).

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Xaqron
  • 29,931
  • 42
  • 140
  • 205

2 Answers2

1

There is a line-height: 21px; in your stylesheet. Remove that it looks good.

Praveen Kumar Purushothaman
  • 164,888
  • 24
  • 203
  • 252
0

You can use default css style such as

    table {
      margin-left:auto;
      .....
}
    td {
      margin-left:auto;
      .....  
}
    tr {
      margin-left:auto;
      .....
}     
ashokhein
  • 1,048
  • 12
  • 38