CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Small Login Form

Print topic Send  topic

Author Message
jmwhooper

Posts: 7
Posted: 03/17/2004, 1:09 AM

I'm trying to put a login form into my page header, it works fine but the only problem is the space. The Record Tags make the login form 3 rows tall and no matter what I do to try and make it fit a single line I can't move the tags!

Please help!
View profile  Send private message
DonB
Posted: 03/17/2004, 4:54 AM

Not sure what alternative appearance you would like best, but bear in mind
the <TABLE> containing the login form is not mandatory, just the <FORM> tags
and the fields that appear within it (login and password) and the Buttons.
You could alter the table to one row, remove the table completely and use
some <DIV>s or other positioning via HTML tags - or have no HTML structuring
at all.

You are free to edit the HTML as you see fit, as long as you maintain the
<!-- BEGIN xyz --> and <!-- END xyz --> template elements unchanged.

On my site I've taken that a step further and I completely hide the login
fields after you are logged in so they aren't visible, and aren't wasting
any space at all.

--
DonB

http://www.gotodon.com/ccbth


"jmwhooper" <jmwhooper@forum.codecharge> wrote in message
news:5405815bf368fa@news.codecharge.com...
> I'm trying to put a login form into my page header, it works fine but the
only problem is the space. The Record Tags make the login form 3 rows tall
and no matter what I do to try and make it fit a single line I can't move
the tags!
>
> Please help!
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

jmwhooper

Posts: 7
Posted: 03/17/2004, 8:09 AM

I've tried editing the html but no matter what i do i always get the Record Tags on separate lines and these lines stay when viewing in HTML.
View profile  Send private message
DonB
Posted: 03/17/2004, 8:45 AM

Eh? Even when published? The designer has icons to indicate these elements
(if that's what you are referring to), but they are not part of the page
which gets published.

If any of this is in a <table> element, put "nowrap" into the <td> elements.
If not, try enclosing in <nobr>...</nobr> element to prevent wrapping
(and/or make all space characters the nonbreaking kind,  ). If that
still fails, then I guess there just isn't enough horizontal space to
contain the displayed elements and the browser forces it to wrap onto
multiple lines.

--
DonB

http://www.gotodon.com/ccbth


"jmwhooper" <jmwhooper@forum.codecharge> wrote in message
news:540587843e65ad@news.codecharge.com...
> I've tried editing the html but no matter what i do i always get the
Record Tags on separate lines and these lines stay when viewing in HTML.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

peterr


Posts: 5971
Posted: 03/19/2004, 1:20 AM

jmwhooper,
Maybe paste the relevant part of your HTML here and we can try to edit/modify it for you.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
jmwhooper

Posts: 7
Posted: 03/20/2004, 5:13 AM

I've cracked it, I edited the html and tidied it up and now it's ok. Seems that a space was causing the form to run over 2 lines!
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.