Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> targedia w submitach
invx
post 19.09.2005, 14:35:39
Post #1





Grupa: Zablokowani
Postów: 655
Pomógł: 0
Dołączył: 28.11.2003
Skąd: Zagórz

Ostrzeżenie: (80%)
XXXX-


i jak zrobic aby submity i linki byly obok siebie w jednej liijce ?
Kod
<form method='POST' action='forum.php?mode=form_dodaj_posty'>
              <input type='hidden' value='$forum_c_temat[id_b]' name='id_b'>
              <input type='hidden' value='$_GET[id]' name='id'>
              <input type='submit' name='s1' value='Nowy temat'>
            </form>

            <form method='POST' action='forum.php?mode=form_dodaj_posty&p=1'>
              <input type='hidden' value='$forum_c_temat[id_b]' name='id_b'>
              <input type='hidden' value='$_GET[id]' name='id'>
              <input type='submit' name='s1' value='Odpowiedz'>
            </form>

            <span class='tytul_kategoria'><a href='forum.php'>Forum</a> &raquo; <a href='forum.php?mode=pokaz_tematy&id=$forum_b[id]'>
              $forum_b[nazwa]</a> &raquo; <a class='forum_title_post' href='forum.php?mode=pokaz_posty&id=$_GET[id]'>
              $forum_c_temat[temat]</a></b>

trzeba tabele ? czy sie da bez niej ?


--------------------
RCXcms
www.rcx.prv.pl
Pierwszy polski w pełni zintegrowany system portal
Go to the top of the page
+Quote Post
revyag
post 20.09.2005, 07:35:11
Post #2





Grupa: Przyjaciele php.pl
Postów: 2 258
Pomógł: 16
Dołączył: 21.09.2004
Skąd: Kielce

Ostrzeżenie: (0%)
-----


blink.gif
Dać kod linka obok kodu submita ?


--------------------
-------------

------
Go to the top of the page
+Quote Post
TomASS
post 20.09.2005, 08:11:31
Post #3





Grupa: Zarejestrowani
Postów: 1 660
Pomógł: 13
Dołączył: 9.06.2004
Skąd: Wrocław i okolice

Ostrzeżenie: (0%)
-----


Spróbuj ustalić styl (szczególnie margin i padding) elementów <form> oraz <input type="text">


--------------------
Go to the top of the page
+Quote Post
invx
post 20.09.2005, 17:11:36
Post #4





Grupa: Zablokowani
Postów: 655
Pomógł: 0
Dołączył: 28.11.2003
Skąd: Zagórz

Ostrzeżenie: (80%)
XXXX-


Cytat
Dać kod linka obok kodu submita ?

to daj laugh.gif


--------------------
RCXcms
www.rcx.prv.pl
Pierwszy polski w pełni zintegrowany system portal
Go to the top of the page
+Quote Post
NuLL
post 20.09.2005, 19:03:37
Post #5





Grupa: Zarejestrowani
Postów: 2 262
Pomógł: 21
Dołączył: 3.05.2004
Skąd: Sopot, Krakow, W-wa

Ostrzeżenie: (0%)
-----


Kod
form{display:inline;}


--------------------
Javascript, Coffeescript, Node.js, Mongo, CouchDb, chmury, workery & inne bajery - zycie jest zbyt krotkie aby miec nudna prace :)
Go to the top of the page
+Quote Post
revyag
post 21.09.2005, 08:11:59
Post #6





Grupa: Przyjaciele php.pl
Postów: 2 258
Pomógł: 16
Dołączył: 21.09.2004
Skąd: Kielce

Ostrzeżenie: (0%)
-----


Cytat(invx @ 2005-09-20 17:11:36)
Cytat
Dać kod linka obok kodu submita ?

to daj laugh.gif

  1. <input name="submit" type="submit" value="go" /><a href="index.php">go</a>

Link koło submita tak jak chciałeś.
snitch.gif


--------------------
-------------

------
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 16.06.2025 - 21:21