Your Ad Here Your Ad Here
Results 1 to 6 of 6

Thread: Help me in coding here

  1. #1
    maskawaih's Avatar Custom User Title BT Rep: +3
    Join Date
    Aug 2004
    Location
    Malaysia
    Age
    33
    Posts
    713
    Code:
    <form name="form_password" method="post" action="">
    <fieldset class="newscell3">
    	<div>Masukkan Password Lama:</div>
    	<div><input name="password" type="password" id="password" size="50" maxlength="15">
    	</div>
    	
    	<legend class="newscell3">Edit Password</legend>
    	<table cellpadding="0" cellspacing="1" border="0">
    			<tr>
    				<td class="newscell3">
    					<div>Masukkan Password Baru:</div>
    					<div><input type="password" name="newpassword" size="50" maxlength="15" />
    					</div>
    				</td>
    			</tr>
    			<tr>
    				<td class="newscell3">
    					<div>Tulis Semula Password Baru:</div>
    					<div><input type="password" name="newpasswordconfirm" size="50" maxlength="15" />
    					</div>
    				</td>
    			</tr>
    	  </table>
    </fieldset>
    <div align="center"><br>
    	<input name="submit" type="submit" value="Hantar">
    	<input type="reset" name="Reset" value="Kosongkan">
    </div>
    </form>
    If in Firefox, its shows like this

    Totally wrong eh? but it shows fine in IE like this

    whats wrong?

  2. Internet, Programming and Graphics   -   #2
    It works if you move the fieldset tag down a bit, but I'm guessing you put it up there for a reason

    Code:
    <form name="form_password" method="post" action="">
    	<div>Masukkan Password Lama:</div>
    	<div><input name="password" type="password" id="password" size="50" maxlength="15">
    	</div>
    	
    <fieldset class="newscell3">
    	<legend class="newscell3">Edit Password</legend>
    	<table cellpadding="0" cellspacing="1" border="0">
    			<tr>
    				<td class="newscell3">
    					<div>Masukkan Password Baru:</div>
    					<div><input type="password" name="newpassword" size="50" maxlength="15" />
    					</div>
    				</td>
    			</tr>
    			<tr>
    				<td class="newscell3">
    					<div>Tulis Semula Password Baru:</div>
    					<div><input type="password" name="newpasswordconfirm" size="50" maxlength="15" />
    					</div>
    				</td>
    			</tr>
    	  </table>
    </fieldset>
    <div align="center"><br>
    	<input name="submit" type="submit" value="Hantar">
    	<input type="reset" name="Reset" value="Kosongkan">
    </div>
    </form>
    We can't stop here... this is bat country

  3. Internet, Programming and Graphics   -   #3
    it was just the placement of your <fieldset> tag.
    here it is, fixed.

    HTML Code:
    <form name="form_password" method="post" action="">
    	<div>Masukkan Password Lama:</div>
    	<div><input name="password" type="password" id="password" size="50" maxlength="15">
    	</div>
    	
    	<fieldset class="newscell3">
    	<legend class="newscell3">Edit Password</legend>
    	<table cellpadding="0" cellspacing="1" border="0">
    			<tr>
    				<td class="newscell3">
    					<div>Masukkan Password Baru:</div>
    					<div><input type="password" name="newpassword" size="50" maxlength="15" />
    					</div>
    				</td>
    			</tr>
    			<tr>
    				<td class="newscell3">
    					<div>Tulis Semula Password Baru:</div>
    					<div><input type="password" name="newpasswordconfirm" size="50" maxlength="15" />
    					</div>
    				</td>
    			</tr>
    	  </table>
    </fieldset>
    <div align="center"><br>
    	<input name="submit" type="submit" value="Hantar">
    	<input type="reset" name="Reset" value="Kosongkan">
    </div>
    </form>
    of course now I'm gonna have to tell you that you shouldn't be using tables or align="" attributes.
    and umm...all the <div>'s aren't really necessary.
    I'd replace most of them with <p>'s or <span>'s.

    There is a crack in everything.
    That's how the light gets in.

  4. Internet, Programming and Graphics   -   #4
    maskawaih's Avatar Custom User Title BT Rep: +3
    Join Date
    Aug 2004
    Location
    Malaysia
    Age
    33
    Posts
    713
    those <div>'s thing created when i use in dreamweaver.

    I m not using <p>'s since i've set something in <style> for it.

    thanks anyway.

  5. Internet, Programming and Graphics   -   #5
    Quote Originally Posted by maskawaih
    those <div>'s thing created when i use in dreamweaver.

    dreamweaver :x

    goooooooooooooooooooooooooooooooooooooooooooooooooo NOTEPAD!!!!

    There is a crack in everything.
    That's how the light gets in.

  6. Internet, Programming and Graphics   -   #6
    maskawaih's Avatar Custom User Title BT Rep: +3
    Join Date
    Aug 2004
    Location
    Malaysia
    Age
    33
    Posts
    713
    Quote Originally Posted by motherflux

    dreamweaver :x

    goooooooooooooooooooooooooooooooooooooooooooooooooo NOTEPAD!!!!
    No. there are some functions i need in dreamweaver that notepad doesnt have.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •