Author Topic: EasySpoiler, change the width of spoiler  (Read 4351 times)

orlanfo

  • Tadpole
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
EasySpoiler, change the width of spoiler
« on: October 10, 2013, 09:00:14 PM »
Buongiorno,
I'm using your plugin with one of my website
http://www.capolavoroitaliano.com/incanti-ditalia/3435/mappa-dei-tesori-capolavoro-italiano/
and I would like to change width of the spoiler. I tried changing the size of easySpoilerTable in the style file:
.easySpoilerTable
{margin:0px 0px;padding:0px;border:0px;outline:0px;font-size:100%;vertical-align:middle;
border-collapse:collapse; border-spacing:0px; border-color:#AAAAAA;
margin-left:auto; margin-right:auto; width:100%;background:transparent;}
but then, there is still an external element, with solid border, having a 100% width .
Can you please help me?
Thank you in advance!

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: EasySpoiler, change the width of spoiler
« Reply #1 on: October 16, 2013, 01:05:55 AM »
I see two columns of spoilers.  You want them to be wider?  Or narrower?  It will fill the DIV you have placed it in, so if you just change the width (%) of the <TD> that one of your spoiler columns is in they will all shrink to fit.