Código:
<form action="modules/procesos.php?sec=noticias" id="NewsFormulario" method="post"> <div class="imagen s-m-sup"></div> <div class="imagen s-m-cen"></div> <div class="imagen s-m-inf"></div> <div id="s-m-sup"> <div style="position: absolute; left: 47%; top:8px; color: blue;">AÑADIR NOTICIAS</div> </div> <div id="s-m-cen-sup"> <div style="position: absolute; left: 10px; top: 10px;">Asunto:</div> <div style="position: absolute; left: 50px; top: 6px;"><input id="ntitle" class="dtextarea" name="title" type="text" style="border: 1px solid #0066a7; position: absolute; width: 938px;"></div> <div style="position: absolute; left: 10px; top: 40px;">Contenido:</div> <div style="position: absolute; left: 10px; top: 60px;"><textarea id="ncont" class="dtextarea" style="border: 1px solid #0066a7; position: absolute; scroll: auto; width: 974px; height: 120px;" name="ncont"></textarea></div> </div> <div id="s-m-cen-inf"> <div class="s-m-cen-inf-a"> <div style="position: absolute; left: 10px; top: 10px; width: 500px;"> <form id="imageForm" name="imageForm" enctype="multipart/form-data" action="modules/uploadImage.php" method="POST" target="uploadedImage"> <input type="hidden" name="MAX_FILE_SIZE" value="4000000" /> <input class="file" name="imageToUpload" id="imageToUpload" type="file" onchange="uploadImage();" size="30"/> <input name="oldImageToDelete" id="oldImageToDelete" type="hidden" size="50" /> </form></div> <div style="position: absolute; left: 10px; top: 40px; width: 250px; height: 250px; border: 1px solid #0066a7;"> <iframe id="uploadedImage" name="uploadedImage" src="" style="background-color: #ffffff; width:250px; height:250px;" frameborder="0" marginheight="0" marginwidth="0"></iframe> </div> <div id="rotar"> <div id="r-left" onMouseOver="this.style.cursor='pointer'" style="float: left; width: 32px; height: 32px; top: 0px; left: 0px; background-image: url('images/gl.png');"></div> <div id="r-right" onMouseOver="this.style.cursor='pointer'" style="float: right; width: 32px; height: 32px; top: 0px; left: 37px; background-image: url('images/gr.png');"></div> </div> </div> <div class="s-m-cen-inf-b"> <div class="ret-a"> <div class="posi0">COLOCACIÓN DE LA IMAGEN EN LA PÁGINA</div> <div id="imagpos1" onMouseOver="this.style.cursor='pointer'" class="posi1a"></div> <div id="imagpos2" onMouseOver="this.style.cursor='pointer'" class="posi2a"></div> <div id="imagpos3" onMouseOver="this.style.cursor='pointer'" class="posi3a"></div> <div id="imagpos4" onMouseOver="this.style.cursor='pointer'" class="posi4a"></div> </div> <div class="ret-b"></div> <div class="ret-c"> <div style="float: left; position: relative; margin: 5px 10px;">La noticia caducará en:</div> <div style="float: left; position: relative; margin: 2px 15px 0px 0px;"> <select id="ncaducidad" name="ncaducidad"> <option value="1">1 día</option> <option value="2">2 días</option> <option value="3">3 días</option> <option value="4">4 días</option> <option value="5">5 días</option> <option value="6">6 días</option> <option value="7" selected>7 días</option> <option value="8">8 días</option> <option value="9">9 días</option> <option value="10">10 días</option> <option value="11">11 días</option> <option value="12">12 días</option> <option value="13">13 días</option> <option value="14">14 días</option> <option value="15">15 días</option> <option value="16">16 días</option> <option value="17">17 días</option> <option value="18">18 días</option> <option value="19">19 días</option> <option value="20">20 días</option> <option value="21">21 días</option> <option value="22">22 días</option> <option value="23">23 días</option> <option value="24">24 días</option> <option value="25">25 días</option> <option value="26">26 días</option> <option value="27">27 días</option> <option value="28">28 días</option> <option value="29">29 días</option> <option value="30">30 días</option> <option value="31">31 días</option> </select> </div> </div> </div> </div> <div id="s-m-inf"> <div id="n-save" style="position: absolute; top: 1px; right: 30px; width: 93px; height: 26px; background-color: transparent;"> <input type="submit" value="Enviar" /> </div> <div id="n-cancel" onMouseOver="this.style.cursor='pointer'" style="position: absolute; top: 1px; right: 128px; width: 93px; height: 26px; background-image: url('images/n_cancel.png'); background-color: transparent;"></div> </div> <div style="both: clear;"></div> </form>