PDA

View Full Version : Inserts are not in same lines


dejanc
11-19-2008, 09:37 PM
Hi,

I dont understand. I have insert textfield form with label. In dreamweaver mode they are in same line. But when I open in live view mode of dreamweaver or browse on net, it collapse and they are not in same line.

SEE ATTACHMENT IMAGE what do I mean....

Why? Please help! thx

domedia
11-19-2008, 11:14 PM
Move it further up..

Seriously, provide the url so we can tell you what do to :)

dejanc
11-20-2008, 09:54 AM
Sorry, I don`t have yet url for website. But you have just remind me, and I will open some free url just for testing.

But here is the code...

I`m doing in php, desing in dreamweaver cs4, but I have also put just this code in <html></html> and it is the same.
.................................................. .......................
<html>
<head>
<div id="apDiv26">
<table width="411" height="399" border="0" cellpadding=" ">
<tr>
<td width="141"><div align="right"><span class="style8">Ime in Priimek:</span></div></td>
<td width="264" height="51"><form id="form4" name="form4" method="post" action="">
<label for="ime"></label>
<input name="ime" type="text" id="ime" size="40" />
</form> </td>
</tr>
<tr>
<td><label for="label">
<div align="right"><span class="style8">E-mail naslov:</span></div>
</label></td>
<td height="48"><form id="form5" name="form5" method="post" action="">
<label for="email"></label>
<input name="email" type="text" id="email" size="40" />
</form> </td>
</tr>
<tr>
<td><label for="label">
<div align="right">Ponovi E-mail naslov:</div>
</label></td>
<td height="42"><form id="form9" name="form9" method="post" action="">
<label for="ponovi email naslov"></label>
<input name="ponovi email naslov" type="text" id="ponovi email naslov" size="40" />
</form> </td>
</tr>
<tr>
<td><label for="label">
<div align="right"><span class="style8">Uporabniško ime:</span></div>
</label></td>
<td height="42"><form id="form6" name="form6" method="post" action="">
<label for="uporabnik"></label>
<input name="uporabnik" type="text" id="uporabnik" size="40" />
</form></td>
</tr>
<tr>
<td><label for="label">
<div align="right">Geslo:</div>
</label></td>
<td height="49"><form id="form7" name="form7" method="post" action="">
<label for="geslo"></label>
<input name="geslo" type="text" id="geslo" size="40" />
</form> </td>
</tr>
<tr>
<td><label for="label">
<div align="right">Ponovi geslo:</div>
</label></td>
<td height="47"><form id="form8" name="form8" method="post" action="">
<label for="ponovi geslo"></label>
<input name="ponovi geslo" type="text" id="ponovi geslo" size="40" />
</form> </td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</div>
</head>
</html>
.................................................. .................

domedia
11-20-2008, 02:45 PM
Why don't you just copy the source you see in the browser. This is not it, this is just a mess (no body tags, ending head tag etc)

dejanc
11-20-2008, 08:21 PM
here is the source from the browser...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>ZAPISKI</TITLE>
<style type="text/css">
<!--
body {
background-image: url(images/background.JPG);
background-repeat: repeat-x;
}
#apDiv1 {
position:absolute;
left:204px;
top:auto;
width:596px;
height:664px;
z-index:1;
background-color: #FFFFFF;
background-position: center;
background-image: url(images/background1.JPG);
background-repeat: no-repeat;
}
#apDiv2 {
position:absolute;
left:10px;
top:25px;
width:985px;
height:571px;
z-index:1;
background-repeat: no-repeat;
background-position: center;
background-image: url(images/background_prijavi_se.JPG);
}
#apDiv3 {
position:absolute;
left:221px;
top:210px;
width:76px;
height:18px;
z-index:2;
}
#apDiv4 {
position:absolute;
left:230px;
top:95px;
width:68px;
height:22px;
z-index:2;
}
#apDiv5 {
position:absolute;
left:233px;
top:99px;
width:62px;
height:18px;
z-index:2;
}
#apDiv6 {
position:absolute;
left:228px;
top:94px;
width:72px;
height:24px;
z-index:2;
}
#apDiv7 {
position:absolute;
left:234px;
top:160px;
width:73px;
height:22px;
z-index:2;
visibility: visible;
}
#apDiv8 {
position:absolute;
left:398px;
top:8px;
width:212px;
height:202px;
z-index:3;
}
#apDiv9 {
position:absolute;
left:815px;
top:29px;
width:69px;
height:52px;
z-index:3;
}
#apDiv10 {
position:absolute;
left:812px;
top:27px;
width:41px;
height:31px;
z-index:3;
}
#apDiv11 {
position:absolute;
left:856px;
top:34px;
width:53px;
height:31px;
z-index:4;
}
#apDiv12 {
position:absolute;
left:193px;
top:700px;
width:619px;
height:13px;
z-index:5;
}
#apDiv13 {
position:absolute;
left:235px;
top:171px;
width:71px;
height:23px;
z-index:5;
visibility: visible;
}
#apDiv14 {position:absolute;
left:315px;
top:172px;
width:108px;
height:20px;
z-index:5;
}
#apDiv15 {
position:absolute;
left:426px;
top:172px;
width:108px;
height:20px;
z-index:6;
}
#apDiv16 {
position:absolute;
left:543px;
top:172px;
width:118px;
height:20px;
z-index:7;
}
#apDiv17 {
position:absolute;
left:222px;
top:174px;
width:71px;
height:23px;
z-index:5;
}
.style7 {
font-family: Arial;
font-weight: bold;
}
.style8 {font-size: 14px}
#apDiv {
position:absolute;
left:303px;
top:174px;
width:113px;
height:23px;
z-index:5;
}
#apDiv18 {
position:absolute;
left:553px;
top:174px;
width:140px;
height:23px;
z-index:6;
}
#apDiv19 { position:absolute;
left:303px;
top:174px;
width:113px;
height:23px;
z-index:6;
}
#apDiv20 {
position:absolute;
left:427px;
top:174px;
width:113px;
height:23px;
z-index:7;
}
.style9 {font-family: Arial; font-weight: bold; font-size: 14px; }
#apDiv22 { position:absolute;
left:697px;
top:174px;
width:87px;
height:23px;
z-index:8;
}
#apDiv23 { position:absolute;
left:299px;
top:204px;
width:318px;
height:26px;
z-index:9;
}
.style10 {font-size: 12px;
color: #666666;
}
.style12 {font-family: Verdana;
font-weight: bold;
}
#apDiv24 { position:absolute;
left:617px;
top:205px;
width:102px;
height:23px;
z-index:10;
}
#apDiv25 { position:absolute;
left:721px;
top:204px;
width:55px;
height:24px;
z-index:11;
}
#apDiv21 {
position:absolute;
left:234px;
top:269px;
width:237px;
height:27px;
z-index:12;
}
.style13 {
font-family: Calibri;
font-weight: bold;
font-size: 18px;
color: #800000;
}
#apDiv26 {
position:absolute;
left:226px;
top:309px;
width:414px;
height:395px;
z-index:13;
}
-->
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<BODY onload="MM_preloadImages('images/domov-overoll.JPG','images/kontakt-rollover.JPG')"><div id="apDiv2"></div>
<div id="apDiv10"><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('domov','','images/domov-overoll.JPG',1)"><img src="images/domov.JPG" width="58" height="43" id="domov" name="domov" border="0"></a></div><div id="apDiv11"><a href="kontakt.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('kontakt','','images/kontakt-rollover.JPG',1)"><img src="images/kontakt.JPG" width="58" height="43" id="kontakt" name="kontakt" border="0"></a></div><div id="apDiv17" class="style7"><div align="CENTER" class="style8"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','width','55','height' ,'16','src','text7','quality','high','pluginspage' ,'http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgco lor','','movie','text7' ); //end AC code
</script><noscript><OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" WIDTH="55" HEIGHT="16"> <param name="BGCOLOR" value=""> <PARAM NAME="movie" VALUE="text7.swf"> <PARAM NAME="quality" VALUE="high"> <EMBED SRC="text7.swf" QUALITY="high" PLUGINSPAGE="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" TYPE="application/x-shockwave-flash" WIDTH="55" HEIGHT="16" ></EMBED> </OBJECT></noscript></div></div><div id="apDiv18" class="style7"><div align="CENTER" class="style8"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','width','125','height ','16','title','POŠLJI ZAPISKE','src','text10','quality','high','pluginsp age','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgco lor','','movie','text10' ); //end AC code
</script><noscript><OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" WIDTH="125" HEIGHT="16" title="POŠLJI ZAPISKE"> <param name="BGCOLOR" value=""> <PARAM NAME="movie" VALUE="text10.swf"> <PARAM NAME="quality" VALUE="high"> <EMBED SRC="text10.swf" QUALITY="high" PLUGINSPAGE="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" TYPE="application/x-shockwave-flash" WIDTH="125" HEIGHT="16" ></EMBED> </OBJECT></noscript></div></div><div id="apDiv"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','width','108','height ','16','title','NAJDI ZAPISKE','src','text9','quality','high','pluginspa ge','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgco lor','','movie','text9' ); //end AC code
</script><noscript><OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" WIDTH="108" HEIGHT="16" title="NAJDI ZAPISKE"> <param name="BGCOLOR" value=""> <PARAM NAME="movie" VALUE="text9.swf"> <PARAM NAME="quality" VALUE="high"> <EMBED SRC="text9.swf" QUALITY="high" PLUGINSPAGE="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" TYPE="application/x-shockwave-flash" WIDTH="108" HEIGHT="16" ></EMBED> </OBJECT></noscript></div><div id="apDiv20"><div align="CENTER" class="style9">PRIJAVI SE </div></div><div id="apDiv22"><div align="CENTER"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','width','55','height' ,'16','title','NOVICE','src','text12','quality','h igh','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','text12' ); //end AC code
</script><noscript><OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" WIDTH="55" HEIGHT="16" title="NOVICE"> <PARAM NAME="movie" VALUE="text12.swf"> <PARAM NAME="quality" VALUE="high"> <EMBED SRC="text12.swf" QUALITY="high" PLUGINSPAGE="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" TYPE="application/x-shockwave-flash" WIDTH="55" HEIGHT="16" ></EMBED> </OBJECT></noscript></div></div><div id="apDiv23"> <div align="CENTER">
<input name="poišči" type="text" size="50" id="poišči">
</div></div><div id="apDiv3"><form id="form1" name="form1" method="post" action="" class="style12"><div align="CENTER" class="style10">poišči</div></form></div><div id="apDiv24"><form id="form2" name="form2" method="post" action="">
<select name="select" id="select">
<option selected="selected">Izberi...</option>
<option value="zapiski">Zapiski</option>
<option value="Uporabnik">Uporabnik</option>
<option value="predmet">Predmet</option>
<option value="Šola">Šola</option>
</select>
</form></div><div id="apDiv25"><form id="form3" name="form3" method="post" action="">
<img src="images/išči" alt="isci" name="isci" width="36" height="24" id="isci" />
</form></div>
<div class="style13" id="apDiv21">PRIJAVI SE</div>
<div id="apDiv26">
<table width="411" height="399" border="0" cellpadding=" ">
<tr>
<td width="141"><div align="right"><span class="style8">Ime in Priimek:</span></div></td>
<td width="264" height="51"><form id="form4" name="form4" method="post" action="">
<label for="ime"></label>
<input name="ime" type="text" id="ime" size="40" />
</form> </td>
</tr>
<tr>
<td><label for="label">
<div align="right"><span class="style8">E-mail naslov:</span></div>
</label></td>
<td height="48"><form id="form5" name="form5" method="post" action="">
<label for="email"></label>
<input name="email" type="text" id="email" size="40" />
</form> </td>
</tr>
<tr>
<td><label for="label">
<div align="right">Ponovi E-mail naslov:</div>
</label></td>
<td height="42"><form id="form9" name="form9" method="post" action="">
<label for="ponovi email naslov"></label>
<input name="ponovi email naslov" type="text" id="ponovi email naslov" size="40" />
</form> </td>
</tr>
<tr>
<td><label for="label">
<div align="right"><span class="style8">Uporabniško ime:</span></div>
</label></td>
<td height="42"><form id="form6" name="form6" method="post" action="">
<label for="uporabnik"></label>
<input name="uporabnik" type="text" id="uporabnik" size="40" />
</form></td>
</tr>
<tr>
<td><label for="label">
<div align="right">Geslo:</div>
</label></td>
<td height="49"><form id="form7" name="form7" method="post" action="">
<label for="geslo"></label>
<input name="geslo" type="text" id="geslo" size="40" />
</form> </td>
</tr>
<tr>
<td><label for="label">
<div align="right">Ponovi geslo:</div>
</label></td>
<td height="47"><form id="form8" name="form8" method="post" action="">
<label for="ponovi geslo"></label>
<input name="ponovi geslo" type="text" id="ponovi geslo" size="40" />
</form> </td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</BODY>
</html>

domedia
11-21-2008, 12:56 PM
Didn;t really look at the layout issue. You got a serious problem in there; each form element is it own form with it's own form tags.. that's not going to work.