News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Remove IMG border, page via SSI.php!

Started by mariusfv, April 13, 2011, 02:34:02 AM

Previous topic - Next topic

mariusfv

SMF 2.0 RC5
How to remove the ugly border what are around my payal button? One of my external pages loaded inside SMF via SSI.php have a paypal button, the extension is .gif, and border="0" have no effect.
I don't understand, on other pages I have .png images and no problem with border, and I've check and isn't a css rule who hide/none border on that external pages.

My code is:
<input type="hidden" name="currency_code" value="EUR" /><input type="image" src="http://THEDOMAIN.com/paypal_button.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" /><img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" /></form>

I think the SSI.php have declared somewhere a different css rule or something because I try to add to my page a css -no border/border=0px, etc and no chance!

Arantor


mariusfv

Basically is:
<input type="hidden" name="currency_code" value="EUR" /><input type="image" src="http://THEDOMAIN.com/paypal_button.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" /><img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" /></form>

Img attached.

Arantor

Fine, don't actually answer the question I asked.

Before I get more fed up of trying to help, please just provide me a link to the page.


Arantor

I suppose so, if it means we don't get stuck at the impasse for too much longer.

SlammedDime

It's not your IMG tag that has a border, it's the INPUT element.  Try adding 'style="border: 0"' to the <input> element.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

mariusfv

Please can you be more explicit, input is repeat few times, I try to add but seem it change the structure of code, so for sure I didn't put the code in the good area....

NanoSector

Quote from: mariusfv on April 13, 2011, 02:09:59 PM
Please can you be more explicit, input is repeat few times, I try to add but seem it change the structure of code, so for sure I didn't put the code in the good area....
Add it to the first <input>, and if that doesn't help add it to the one after that, etc.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

mariusfv

#9
Done: That: ' ' was I don't understand first time, solutions was: style="border: 0"... SOLVED!

10X SlammedDime, Arantor @all for great help!

NanoSector

My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Advertisement: