Gossamer Forum
Home : Products : DBMan : Installation :

Unwanted Line Breaks in Search Form in PC not Mac

Quote Reply
Unwanted Line Breaks in Search Form in PC not Mac
Hi JP.

Heeelp!!!

I'm having trouble with the search record form.
All of a sudden I am getting unwanted line breaks between my text fields in the form. I have streched the table and nothing. It looks perfect on a mac in Explorer 4.5 and netscape 4.6 but in PC I get the problem.

You can see what I mean in this address:

www.camposycampos.com/cgi-bin/db.cgi?db=default&uid=default&view_search=1

My html.pl file and default.cfg are in:
www.visualfeel.com/html_pl.txt
www.visualfeel.com/html_pl.txt

Please, help me out in this one.

Regards.

BrianL
Quote Reply
Re: Unwanted Line Breaks in Search Form in PC not Mac In reply to
Sorry the html.cfg is in:
www.visualfeel.com/html_cfg.txt
Quote Reply
Re: Unwanted Line Breaks in Search Form in PC not Mac In reply to
Gee I'm really, really dumb today. Wow!!!

The Url is:
www.visualfeel.com/default_cfg.txt

Sorry!

BrianL
Quote Reply
Re: Unwanted Line Breaks in Search Form in PC not Mac In reply to
I see the problem with the "Precio:" line.

I would try this:
After Bolívares:

add

 

but don't put a space between them. You want it to look like
Bolívares: 

Then move the text field up to the same line, so it looks like

Bolívares:&nbsp;<input type="TEXT" name="Boliv"....

At the end of that text field, add another &nbsp; and USDólares:, so it looks like

Bolívares:&nbsp;<input type="TEXT" name="Boliv"....>&nbsp;USDólares:

add another &nbsp; and the other text field:

Bolívares:&nbsp;<input type="TEXT" name="Boliv"....>&nbsp;USDólares:&nbsp;<input type="TEXT" name="Dolar"...>

Just be sure not to put any spaces between any of the words or the text fields and put them all on one line. If you want more space between things, use another &nbsp; or two.


------------------
JPD





Quote Reply
Re: Unwanted Line Breaks in Search Form in PC not Mac In reply to
Thanks again JP. I'll Try it

Regards

BrianL
Quote Reply
Re: Unwanted Line Breaks in Search Form in PC not Mac In reply to
Thanks again JP.

But it didn't work until I took off all of the " "after the ":" and before each entry field and put a simple space. Contrary of waht you told me. :-) but it worked

Take a look now at:
www.camposycampos.com/cgi-bin/db.cgi?db=default&uid=default&view_search=1

The html.pl file:
www.visualfeel.com/html_pl.txt

Regards

BrianL
Quote Reply
Re: Unwanted Line Breaks in Search Form in PC not Mac In reply to
Sorry. this would make it easier:

Take a look now at:
www.camposycampos.com/cgi-bin/db.cgi?db=default&uid=default&view_search=1

The html.pl file:
www.visualfeel.com/html_pl.txt
Quote Reply
Re: Unwanted Line Breaks in Search Form in PC not Mac In reply to
Okay. Try this

Instead of

<table width="500"

at the beginning of sub html_record_form, use

<table width="100%"

That will make your table look better anyway.

I'd like to see what it looked like with the &nbsp; after the :.

Another thing you might try is putting the two input fields on different lines.

<$font>Bolívares: <input type="TEXT" name="Boliv" value="$rec{'Boliv'}" size="15" maxlength="15"><BR>
USDólares: <input type="TEXT" name="Dolar" value="$rec{'Dolar'}" size="15" maxlength="15">

It wouldn't be exactly as you want it, but it would at least guarantee that the label would be on the same line as the field.

------------------
JPD





Quote Reply
Re: Unwanted Line Breaks in Search Form in PC not Mac In reply to
Hi again JP.

This is what's showing at the moment:
visualfeel.com/GoodPC.jpg

This is what it showed with the after the ":"
visualfeel.com/BadPC.jpg

This is what I would like it to be and it's the way it shows on the Explorer mac:
visualfeel.com/GoodMac.jpg

As you can see the hight of the different lines on the form are smaller and the form fits neatly inside the space without having to scroll the window. In PC I'm even having to scroll the entry user form!!

Aso I am getting this space on the right in Netscape Mac:
visualfeel.com/SpaceNetscapeMac.jpg

The Html.Pl File is in:
visualfeel.com/html_pl.txt


Why does this happen with PC's? Everything looks bigger (even using the default "medium" font)

I've had to install VirtualPC 98 on my mac to access the internet to look at how the page performs because it look one way in the mac and another in a PC.

By the way, is there a way to test cgi programs in my mac without having to access the server every time? I hace a CD wich has the perl program but I don't have the slitest Idea what to do, or do I have to convert my Mac into a server?

This is not very important, anyway. Mi concern is with the hight of the cells in the form in the PC.

Regards

BrianL
Quote Reply
Re: Unwanted Line Breaks in Search Form in PC not Mac In reply to
I'm afraid I don't have any more suggestions for you. The only way I can get things to look the way I want them to is with lots and lots of trial and error.

You can run server software on your home computer, but I know absolutely nothing about Macs, or what software works well. Someone else might have some ideas. (The only time I've ever even seen a Mac is in TV ads! Smile )


------------------
JPD