Click to See Complete Forum and Search --> : Unwanted Line Breaks / Hidden Inputs


mikem79
03-13-2006, 04:17 PM
Here is a test thread on my car forum:

http://www.nastyz28.com/forum/showthread.php?p=343683#post343683

You will need to log in as "tour", password "tour" to see the thread.

I am trying to put a PayPal button into the yellow box popup.

I tried a bunch of different approaches, so I will try to summarize just a few so as to not waste your time.

The "dash3dash3" yellow box pretty much looks like what I have in mind. Unfortunately, the button is just the image, it is not functional.

As soon as I add the fully functional button code provided by PayPal then the yellow box gets huge...all sorts of needless space materializes. See the "dash2dash2" link. This PayPal button is functional, but the padding is silly looking.

What I think is happening is that there is a line break displayed in the yellow box each time a hidden <input> tag is encountered. I don't know how to stop that from happening.

The CSS for the yellow box is:

background: #FFFFCC;
padding: 0px;
font-size: 10px;

More on this sage can be found on the VBGeek board:
http://www.thevbgeek.com/showthread.php?t=1248. I was hoping Sam would have the answer, but I am beginning to doubt that he will be helpful in this case.

Bear in mind, I am gear head...not much of a coder...but I am trying to learn.

Thanks for whatever input you can provide.

- Mike

ray326
03-13-2006, 11:24 PM
Just take out all the break tags.