Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Community > Forum De Bell Tolls > [nerd] FORM e HTML
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
fozzy
apprentice monk

User info:
Registered: May 2002
Posts: 1968 (0.23 al dì)
Location: Bollate (MI)
Corso: SA-299
Anno: primo...di studio "serio"
Time Online: 10 Days, 10:57:44 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[nerd] FORM e HTML

Un altro dubbio dubbioso.. :)

Creando un form il tasto submit non mi piaceva ho allotra usato una gif come elemento da premere... c'è un però... sembra creare un <BR> doipo l'immagine aumentando quindi la dimensione dell'elemento che se messo in una cella di una tabella ha circa 20 pixel di spazio vuoto sotto di se... :(
esiste un modo per rimuoverlo?

Grazie!

__________________
I sense much NT in you, NT leads to Blue Screens,
Blue Screens lead to downtime, downtime leads to suffering.

NT is the path to the Dark Side....

14-10-2003 18:37
Click Here to See the Profile for fozzy Click here to Send fozzy a Private Message Visit fozzy's homepage! Find more posts by fozzy Add fozzy to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
lorenzo
...ma anche no.

User info:
Registered: Jun 2002
Posts: 3149 (0.36 al dì)
Location: Milano
Corso: F49
Anno: 00000011
Time Online: 49 Days, 1:47:46 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Sì. Aggiungi veramente un <br> dopo l'immagine!

__________________
Non ti laureare, continua a cazzeggiare!

"È tutta merda..." - clod81

14-10-2003 18:48
Click Here to See the Profile for lorenzo Click Here to See the Blog of lorenzo Click here to Send lorenzo a Private Message Visit lorenzo's homepage! Find more posts by lorenzo Add lorenzo to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fozzy
apprentice monk

User info:
Registered: May 2002
Posts: 1968 (0.23 al dì)
Location: Bollate (MI)
Corso: SA-299
Anno: primo...di studio "serio"
Time Online: 10 Days, 10:57:44 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

quindi non posso fare nulla? :'''( (ora provo a ridurre la dimensione del font.... )

__________________
I sense much NT in you, NT leads to Blue Screens,
Blue Screens lead to downtime, downtime leads to suffering.

NT is the path to the Dark Side....

14-10-2003 19:01
Click Here to See the Profile for fozzy Click here to Send fozzy a Private Message Visit fozzy's homepage! Find more posts by fozzy Add fozzy to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fozzy
apprentice monk

User info:
Registered: May 2002
Posts: 1968 (0.23 al dì)
Location: Bollate (MI)
Corso: SA-299
Anno: primo...di studio "serio"
Time Online: 10 Days, 10:57:44 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

forse c'e' una soluzione...
magari a qualcuno interessa.. farò sapere i risultati.. :D


tratto da: http://www.faqts.com/knowledge_base...phtml/aid/10786

While you can not (to my knowledge) eliminate the line space, since
form
is considered a block level element (will always have 1 line space
above
& below) you can however work around it by using CSS position:
relative.
Some variation of this should work style="position: relative; top:
-17px; left:25px;" just add it to the tag of the element directly below
the form try this code out
<FORM action="http://somesite.com/prog/adduser" method="post">
First name: <INPUT type="text" name="firstname"><BR>
Last name: <INPUT type="text" name="lastname"><BR>
email: <INPUT type="text" name="email"><BR>
<INPUT type="radio" name="sex" value="Male"> Male<BR>
<INPUT type="radio" name="sex" value="Female"> Female<BR>
<INPUT type="submit" value="Send"> <INPUT type="reset">
</FORM>
<p style="position: relative; top: -17px; left:25px;"> stuff is here
but there is no line space ;)</p>

---------------------------------------------------------------
Better and more convenient way will be to add style in the below given
way :

<form style="margin-bottom:0" action="YourScript.ext">


Purtroppo non è una soluzione valida nel mio caso... :( va bene per scrivere del testo sotto un form, ma se si ha un form in ogni riga di una tabella non aiuta..

__________________
I sense much NT in you, NT leads to Blue Screens,
Blue Screens lead to downtime, downtime leads to suffering.

NT is the path to the Dark Side....

Last edited by fozzy on 14-10-2003 at 19:14

14-10-2003 19:10
Click Here to See the Profile for fozzy Click here to Send fozzy a Private Message Visit fozzy's homepage! Find more posts by fozzy Add fozzy to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
lorenzo
...ma anche no.

User info:
Registered: Jun 2002
Posts: 3149 (0.36 al dì)
Location: Milano
Corso: F49
Anno: 00000011
Time Online: 49 Days, 1:47:46 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by fozzy
quindi non posso fare nulla? :'''( (ora provo a ridurre la dimensione del font.... )


No, no... Prova ad aggiungere un <br> nel codice subito dopo l'immagine, e vedrai che lo spazio scompare.

__________________
Non ti laureare, continua a cazzeggiare!

"È tutta merda..." - clod81

14-10-2003 19:23
Click Here to See the Profile for lorenzo Click Here to See the Blog of lorenzo Click here to Send lorenzo a Private Message Visit lorenzo's homepage! Find more posts by lorenzo Add lorenzo to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
JaM
######

User info:
Registered: Jun 2002
Posts: 3604 (0.42 al dì)
Location: everywhere, anywhere, elsewhere...
Corso: ComDig
Anno: dott.??
Time Online: 62 Days, 16:55:46 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

oppure metti il tag </form> fuori dalla cella (a me faceva degli spazi sotto ai bottoni standard, chiudendo il form fuori dalle celle il problema e' scomparso)

14-10-2003 19:33
Click Here to See the Profile for JaM Click Here to See the Blog of JaM Click here to Send JaM a Private Message Visit JaM's homepage! Find more posts by JaM Add JaM to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
unidavide
.arcimaestro.

User info:
Registered: Nov 2002
Posts: 373 (0.04 al dì)
Location:
Corso:
Anno:
Time Online: 11 Days, 19:48:07: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by JaM
oppure metti il tag </form> fuori dalla cella (a me faceva degli spazi sotto ai bottoni standard, chiudendo il form fuori dalle celle il problema e' scomparso)
esatto, il problema dovrebbe proprio essere della chiusura del form che cmq con l'immagine o senza va a capo, se tu metti la chiusura del form piu sotto dovresti risolvere il problema

14-10-2003 19:41
Click Here to See the Profile for unidavide Click here to Send unidavide a Private Message Find more posts by unidavide Add unidavide to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fozzy
apprentice monk

User info:
Registered: May 2002
Posts: 1968 (0.23 al dì)
Location: Bollate (MI)
Corso: SA-299
Anno: primo...di studio "serio"
Time Online: 10 Days, 10:57:44 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged


oppure metti il tag </form> fuori dalla cella (a me faceva degli spazi sotto ai bottoni standard, chiudendo il form fuori dalle celle il problema e' scomparso)


:approved: Funzionaaa!!!

x Lorenzo: lo spazio vuoto è sotto al pulsante submit... mettere un <BR> non mi avrebbe aiutato. Cmq grazie mille ad entrambi.

__________________
I sense much NT in you, NT leads to Blue Screens,
Blue Screens lead to downtime, downtime leads to suffering.

NT is the path to the Dark Side....

14-10-2003 19:45
Click Here to See the Profile for fozzy Click here to Send fozzy a Private Message Visit fozzy's homepage! Find more posts by fozzy Add fozzy to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
JaM
######

User info:
Registered: Jun 2002
Posts: 3604 (0.42 al dì)
Location: everywhere, anywhere, elsewhere...
Corso: ComDig
Anno: dott.??
Time Online: 62 Days, 16:55:46 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

:D

14-10-2003 19:46
Click Here to See the Profile for JaM Click Here to See the Blog of JaM Click here to Send JaM a Private Message Visit JaM's homepage! Find more posts by JaM Add JaM to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
korn
SET FIRE!

User info:
Registered: Jun 2002
Posts: 5793 (0.67 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: 1°! ....fuori corso :(
Time Online: 37 Days, 5:56:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by fozzy
se si ha un form in ogni riga di una tabella non aiuta..


Un form per ogni riga ???? :shock:
Miiii maccheccefai con un form per ogni riga???? :asd:

Sarebbe stato più semplice e pulito fare un form unico e in ogni riga mettere un submit che alla pressione cambia l'action della form :cool: :)

__________________
» Collect some stars to shine for you, and start today ‘cause there are only a few. _ (In Flames)
» Don't stop for nothing, it's full speed or nothing! I'm taking down, you know, whatever is in my way! _ ('tallica)
» I am my own god, I do as I please. _ (Pain)
» Ninetynine, ninetynine knives! Ninetynine knives inside! Nobody gets out alive! _ (The Haunted)
Web: http://www.negativesignal.com - ICQ# 171585477 - Death to software patents! And TCPA too! "e uno!", diceva il boia.

14-10-2003 21:29
Click Here to See the Profile for korn Click Here to See the Blog of korn Click here to Send korn a Private Message Visit korn's homepage! Find more posts by korn Add korn to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fozzy
apprentice monk

User info:
Registered: May 2002
Posts: 1968 (0.23 al dì)
Location: Bollate (MI)
Corso: SA-299
Anno: primo...di studio "serio"
Time Online: 10 Days, 10:57:44 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

x korn: non ho idea di come farlo...

per il resto vedo di spiegare il senso della cosa..

ehm.. beh.. dunque.. :)

il form mi serve per fare un submit (method post) con degli attirbuti nascosti, lo so che si vedono nel sorgente dell'html, questo fortunatamente non è un problema... idee su come nasconderli? session etc non mi funzioanano.. :'(

ad ogni modo su ogni riga ho un form che in realtà consiste di alcuni attributi hidden e di un image che fa da submit...

in sostanza è un sistema di prenotazioni.. dati alcuni dati presenti in un DB creo delle righe in un atballe acon un tasto "prenota" che passa i valori della riga come hidden alla pagina chiamata dal form..

Ho toppato di grosso a farla così?

Grazie.

PS: E' un lavoro freeware; non lo faccio di professione quindi una risposta non mi da vantaggi di alcun genere se non la conoscenza, mi piace solo far ele pagine web che faccio il meglio possibile.. ri-graziea chiunque risponda.

__________________
I sense much NT in you, NT leads to Blue Screens,
Blue Screens lead to downtime, downtime leads to suffering.

NT is the path to the Dark Side....

14-10-2003 21:59
Click Here to See the Profile for fozzy Click here to Send fozzy a Private Message Visit fozzy's homepage! Find more posts by fozzy Add fozzy to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 11:33.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.100 seconds (42.34% PHP - 57.66% MySQL) con 25 query.