Hello,
I am trying to create a gallery type style for the forum (basicly a big thumnail view) but i ran into a very annoying problem with forum html.
When open any forum display (like http://www.anime-sharing.com/forum/hentai-games-38/) the preview image (img.preview)
is located inside a <a> tag that looks like this:
My problem is that the a-tag has its height and width attributes written into the element itself and with the !important keyword. That is bad design and makes it impossible for me to overwrite those attributes by including my own style.
It's possible to change it using javascript but a custom style should just include css.
Could you look into it and maybe remove the !important keyword or find another way make those attributes rewritable?
thanks
I am trying to create a gallery type style for the forum (basicly a big thumnail view) but i ran into a very annoying problem with forum html.
When open any forum display (like http://www.anime-sharing.com/forum/hentai-games-38/) the preview image (img.preview)
is located inside a <a> tag that looks like this:
Code:
<a class="threadstatus" rel="vB::AJAX" style="height:58px [COLOR="#2C82C9"]!important[/COLOR];width:60px [COLOR="#2C82C9"]!important[/COLOR];padding-right:8px;background: none !important;" title="">
<img class="preview" src="https://i4.imagetwist.com/th/30357/aybm13c48h1n.jpg" style="width:50px;height:50px;border:1px solid #c8c8c8;background:#fff;padding:2px;display:block;" title="">
</a>
My problem is that the a-tag has its height and width attributes written into the element itself and with the !important keyword. That is bad design and makes it impossible for me to overwrite those attributes by including my own style.
It's possible to change it using javascript but a custom style should just include css.
Could you look into it and maybe remove the !important keyword or find another way make those attributes rewritable?
thanks