Punto informatico Network
Login Esegui login | Non sei registrato? Iscriviti ora (è gratuito!)
Username: Password:
  • Annuncio Pubblicitario

DREAMWEAVER

Cerchi consigli per migliorare il tuo sito? Vuoi aprire un sito in poco tempo?
Discuti con altri webmaster, chiedi chiarimenti ed opinioni in tutta libertà.
Lo spam verrà cancellato.

DREAMWEAVER

Messaggioda neo00 » sab apr 28, 2007 1:43 pm

Ciao a tutti! Ho appena finito di realizzare un sito con Dreamweaver nella risoluzione 1024X768: ho avviato come di routine la preview per vedere eventuali errori e tra questi ho notato che la pagina del sito è visualizzata sulla sinistra--- Vorrei posizionarlo al centro. Cosa devo fare? Vi ringrazio anticipatamente
Avatar utente
neo00
Neo Iscritto
Neo Iscritto
 
Messaggi: 7
Iscritto il: dom feb 04, 2007 9:57 pm

Messaggioda Rumez » sab apr 28, 2007 2:40 pm

hai usato le tabele o i div?
Avatar utente
Rumez
Membro Ufficiale (Gold)
Membro Ufficiale (Gold)
 
Messaggi: 1783
Iscritto il: mar mag 13, 2003 2:08 pm

Messaggioda neo00 » sab apr 28, 2007 2:47 pm

si
Ho una barra orizzontale e una verticale
Avatar utente
neo00
Neo Iscritto
Neo Iscritto
 
Messaggi: 7
Iscritto il: dom feb 04, 2007 9:57 pm


Messaggioda Rumez » sab apr 28, 2007 3:03 pm

si cosa?

io ti ho chiesto se hai usato le <table> o i <div> nel codice html
Avatar utente
Rumez
Membro Ufficiale (Gold)
Membro Ufficiale (Gold)
 
Messaggi: 1783
Iscritto il: mar mag 13, 2003 2:08 pm

Messaggioda neo00 » sab apr 28, 2007 3:35 pm

entrambi
Avatar utente
neo00
Neo Iscritto
Neo Iscritto
 
Messaggi: 7
Iscritto il: dom feb 04, 2007 9:57 pm

Messaggioda Rumez » sab apr 28, 2007 3:59 pm

si però se rispondi così non è che mi posso inventare il tuo codice...

devi dare più informazioni...

posta un po' di codice al limite...


il "contenitore" è composto da un div o da una table?
Avatar utente
Rumez
Membro Ufficiale (Gold)
Membro Ufficiale (Gold)
 
Messaggi: 1783
Iscritto il: mar mag 13, 2003 2:08 pm

Messaggioda neo00 » sab apr 28, 2007 7:01 pm

<?xml version="1.0" encoding="utf-8"?>
<!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>
<title>sfondogiallorosso3.gif</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
td img {display: block;}body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
</style>
<!--Fireworks MX 2004 Dreamweaver MX 2004 target. Created Sun Oct 22 12:40:10 GMT+0200 (ora solare Europa occidentale) 2006-->
</head>
<body bgcolor="#ffffff">
<table border="0" cellpadding="0" cellspacing="0" width="1024">
<!-- fwtable fwsrc="sfondogiallorosso3.png" fwbase="sfondogiallorosso3.gif" fwstyle="Dreamweaver" fwdocid = "782117489" fwnested="0" -->
<tr>
<td><img src="immagini/spacer.gif" width="199" height="1" border="0" alt="" /></td>
<td><img src="immagini/spacer.gif" width="825" height="1" border="0" alt="" /></td>
<td><img src="immagini/spacer.gif" width="1" height="1" border="0" alt="" /></td>
</tr>

<tr>
<td rowspan="3"><img name="sfondogiallorosso3_r1_c1" src="immagini/sfondogiallorosso3_r1_c1.gif" width="199" height="162" border="0" id="sfondogiallorosso3_r1_c1" alt="" /></td>
<td bgcolor="#0000FF">&nbsp;</td>
<td><img src="immagini/spacer.gif" width="1" height="98" border="0" alt="" /></td>
</tr>
<tr>
<td><img name="sfondogiallorosso3_r2_c2" src="immagini/sfondogiallorosso3_r2_c2.gif" width="825" height="32" border="0" id="sfondogiallorosso3_r2_c2" alt="" /></td>
<td><img src="immagini/spacer.gif" width="1" height="32" border="0" alt="" /></td>
</tr>
<tr>
<td bgcolor="#CCCCCC"><script language="JavaScript" type="text/javascript">
//©Xara Ltd
var clicked="";var gtype=".gif";var selstate="_over";if (typeof(loc)=="undefined" || loc==""){var loc="";if (document.body&&document.body.innerHTML){var tt=document.body.innerHTML;var ml=tt.match(/["']([^'"]*)barra_orizz_bar.js["']/i);if(ml && ml.length > 1) loc=ml[1];}}document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr>");tr(false);writeButton(loc+"","album.htm","barra_orizz_bar_b1",176,20,"Album","",0);writeButton(loc+"","media.htm","barra_orizz_bar_b2",176,20,"Media","",0);writeButton(loc+"","attività.htm","barra_orizz_bar_b3",176,20,"Attività","",0);writeButton(loc+"","storiadelluogo.htm","barra_orizz_bar_b4",176,20,"Storia del Luogo","",0);tr(true);document.write("</tr></table>");loc="";function tr(b){}function turn_over(name) {if (document.images != null && clicked != name) {document[name].src = document[name+"_over"].src;}}function turn_off(name) {if (document.images != null && clicked != name) {document[name].src = document[name+"_off"].src;}}function reg(gname,name){if (document.images){document[name+"_off"] = new Image();document[name+"_off"].src = loc+gname+gtype;document[name+"_over"] = new Image();document[name+"_over"].src = loc+gname+"_over"+gtype;}}function evs(name){ return " onmouseover=\"turn_over('"+ name + "')\" onmouseout=\"turn_off('"+ name + "')\""}function writeButton(urld,url,name,w,h,alt,target,hsp){gname=name;while(typeof(document[name])!="undefined")name+="x";reg(gname,name);tr(true);document.write("<td>");if(alt!="")alt=" alt=\""+alt+"\"";if(target!="")target=" target=\""+target+"\"";if(w>0)w=" width=\""+w+"\"";else w="";if(h>0)h=" height=\""+h+"\"";else h="";var l=clicked!=""||!isCurrentFile(url);if(url!="")url=" href=\""+urld+url+"\"";if(l){if(typeof(clx)!="undefined"){target="";url=" href=\"?"+clx+"\"";alt=" alt=\"Click to edit\"";}document.write("<a "+url+evs(name)+target+">");}else gname+=selstate;gname+=gtype;if(hsp==-1)hsp=" align=\"right\"";else if(hsp>0)hsp=" hspace=\""+hsp+"\"";else hsp="";document.write("<img src=\""+loc+gname+"\" name=\""+name+"\""+w+h+alt+hsp+" border=\"0\" />");if(l)document.write("</a>");document.write("</td>");tr(false);}function syncFile(f,nf){var matches='home.html*index.html*welcome.html*default.asp';var p=f.lastIndexOf('/');var sf=f;if(p>=0)sf=f.substr(p+1,f.length-1);if(matches.indexOf(sf)==-1)return "";return sf;}function isCurrentFile(str){var p=str.lastIndexOf(':');if(p>0)str=str.substr(p+1,str.length-1);str=escape(str);str=str.toLowerCase();while(str.length>3&&str.substring(0,3)=="../")str=str.substr(3,str.length-1);var fstr=str.indexOf(".htm");if(fstr==-1)fstr=str.indexOf(".asp");if(fstr==-1)fstr=str.indexOf(".php");if(fstr==-1)fstr=str.indexOf(".jsp");if(fstr==-1)fstr=str.indexOf(".txt");if(fstr<1&&str.charAt(str.length-1)!='/')str+="/";var current=document.location.href.toLowerCase();p=current.lastIndexOf('?');if(p>0)current=current.substr(0,p);var fcurrent=current.indexOf(".htm");if(fcurrent==-1)fcurrent=current.indexOf(".asp");if(fcurrent==-1)fcurrent=current.indexOf(".php");if(fcurrent==-1)fcurrent=current.indexOf(".jsp");if(fcurrent==-1)fcurrent=current.indexOf(".txt");if(fcurrent<1&&current.charAt(current.length-1)!='/')current+="/";if(fstr!=-1&&fcurrent==-1)current+=syncFile(str,current);if(fstr==-1&&fcurrent!=-1)str+=syncFile(current,str);var currsize=current.length;var strsize=str.length;while(strsize>=0&&currsize>=0){if(current.charAt(currsize)!=str.charAt(strsize))return false;currsize=currsize-1;strsize=strsize-1;}return true;}
</script></td>
<td><img src="immagini/spacer.gif" width="1" height="32" border="0" alt="" /></td>
</tr>
<tr valign="top">
<td bgcolor="#CCCCCC"><script language="JavaScript" type="text/javascript">
//©Xara Ltd
var clicked="";var gtype=".gif";var selstate="_over";if (typeof(loc)=="undefined" || loc==""){var loc="";if (document.body&&document.body.innerHTML){var tt=document.body.innerHTML;var ml=tt.match(/["']([^'"]*)barravert.js["']/i);if(ml && ml.length > 1) loc=ml[1];}}document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr>");document.write("<td><img src=\""+loc+"barravert_top"+gtype+"\" alt=\"\" width=\"120\" height=\"28\"></td>");tr(false);writeButton(loc+"","chi siamo.htm","barravert_b1",120,23,"Chi Siamo","",0);writeButton(loc+"","dove siamo.htm","barravert_b2",120,23,"Dove Siamo","",0);writeButton(loc+"","tariffe.htm","barravert_b3",120,23,"Tariffe","",0);writeButton(loc+"","contatti.htm","barravert_b4",120,23,"Contatti","",0);tr(true);document.write("<td><img src=\""+loc+"barravert_bottom"+gtype+"\" alt=\"\" width=\"120\" height=\"28\"></td>");document.write("</tr></table>");loc="";function tr(b){if (b) document.write("<tr>");else document.write("</tr>");}function turn_over(name) {if (document.images != null && clicked != name) {document[name].src = document[name+"_over"].src;}}function turn_off(name) {if (document.images != null && clicked != name) {document[name].src = document[name+"_off"].src;}}function reg(gname,name){if (document.images){document[name+"_off"] = new Image();document[name+"_off"].src = loc+gname+gtype;document[name+"_over"] = new Image();document[name+"_over"].src = loc+gname+"_over"+gtype;}}function evs(name){ return " onmouseover=\"turn_over('"+ name + "')\" onmouseout=\"turn_off('"+ name + "')\""}function writeButton(urld,url,name,w,h,alt,target,hsp){gname=name;while(typeof(document[name])!="undefined")name+="x";reg(gname,name);tr(true);document.write("<td>");if(alt!="")alt=" alt=\""+alt+"\"";if(target!="")target=" target=\""+target+"\"";if(w>0)w=" width=\""+w+"\"";else w="";if(h>0)h=" height=\""+h+"\"";else h="";var l=clicked!=""||!isCurrentFile(url);if(url!="")url=" href=\""+urld+url+"\"";if(l){if(typeof(clx)!="undefined"){target="";url=" href=\"?"+clx+"\"";alt=" alt=\"Click to edit\"";}document.write("<a "+url+evs(name)+target+">");}else gname+=selstate;gname+=gtype;if(hsp==-1)hsp=" align=\"right\"";else if(hsp>0)hsp=" hspace=\""+hsp+"\"";else hsp="";document.write("<img src=\""+loc+gname+"\" name=\""+name+"\""+w+h+alt+hsp+" border=\"0\" />");if(l)document.write("</a>");document.write("</td>");tr(false);}function syncFile(f,nf){var matches='home.html*index.html*welcome.html*default.asp';var p=f.lastIndexOf('/');var sf=f;if(p>=0)sf=f.substr(p+1,f.length-1);if(matches.indexOf(sf)==-1)return "";return sf;}function isCurrentFile(str){var p=str.lastIndexOf(':');if(p>0)str=str.substr(p+1,str.length-1);str=escape(str);str=str.toLowerCase();while(str.length>3&&str.substring(0,3)=="../")str=str.substr(3,str.length-1);var fstr=str.indexOf(".htm");if(fstr==-1)fstr=str.indexOf(".asp");if(fstr==-1)fstr=str.indexOf(".php");if(fstr==-1)fstr=str.indexOf(".jsp");if(fstr==-1)fstr=str.indexOf(".txt");if(fstr<1&&str.charAt(str.length-1)!='/')str+="/";var current=document.location.href.toLowerCase();p=current.lastIndexOf('?');if(p>0)current=current.substr(0,p);var fcurrent=current.indexOf(".htm");if(fcurrent==-1)fcurrent=current.indexOf(".asp");if(fcurrent==-1)fcurrent=current.indexOf(".php");if(fcurrent==-1)fcurrent=current.indexOf(".jsp");if(fcurrent==-1)fcurrent=current.indexOf(".txt");if(fcurrent<1&&current.charAt(current.length-1)!='/')current+="/";if(fstr!=-1&&fcurrent==-1)current+=syncFile(str,current);if(fstr==-1&&fcurrent!=-1)str+=syncFile(current,str);var currsize=current.length;var strsize=str.length;while(strsize>=0&&currsize>=0){if(current.charAt(currsize)!=str.charAt(strsize))return false;currsize=currsize-1;strsize=strsize-1;}return true;}
</script></td>
<td bgcolor="#CCCCCC"><p align="center"><img src="immagine%20panoramica.jpg" width="524" height="121" /></p>
<p>&nbsp;</p>
<p align="left"><cite><strong>testo da scrivere.</strong></cite> </p></td>
<td><img src="immagini/spacer.gif" width="1" height="574" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="2" bgcolor="#CCCCCC"><div align="center">
<p><img name="sfondogiallorosso3_r5_c1" src="immagini/sfondogiallorosso3_r5_c1.gif" width="1024" height="32" border="0" id="sfondogiallorosso3_r5_c1" alt="" /><img src="linea.gif" width="800" height="22" align="texttop" /></p>
<p><a href="mailto:info@a.com">info@.com</a></p>
</div></td>
<td><img src="immagini/spacer.gif" width="1" height="32" border="0" alt="" /></td>
</tr>
</table>
</body>
</html>
Avatar utente
neo00
Neo Iscritto
Neo Iscritto
 
Messaggi: 7
Iscritto il: dom feb 04, 2007 9:57 pm

Messaggioda Rumez » dom apr 29, 2007 12:07 pm

modifica questa riga...

Codice: Seleziona tutto
<table border="0" cellpadding="0" cellspacing="0" width="1024">


in..

Codice: Seleziona tutto
<table align="center" border="0" cellpadding="0" cellspacing="0" width="1024">
Avatar utente
Rumez
Membro Ufficiale (Gold)
Membro Ufficiale (Gold)
 
Messaggi: 1783
Iscritto il: mar mag 13, 2003 2:08 pm

Messaggioda neo00 » lun apr 30, 2007 4:07 am

Grazie mille!!!!! [^] Problema risolto!!!!!
Avatar utente
neo00
Neo Iscritto
Neo Iscritto
 
Messaggi: 7
Iscritto il: dom feb 04, 2007 9:57 pm


Torna a Sviluppo Web

Chi c’è in linea

Visitano il forum: Nessuno e 4 ospiti

Powered by phpBB © 2002, 2005, 2007, 2008 phpBB Group
Traduzione Italiana phpBB.it

megalab.it: testata telematica quotidiana registrata al Tribunale di Cosenza n. 22/09 del 13.08.2009, editore Master New Media S.r.l.; © Copyright 2008 Master New Media S.r.l. a socio unico - P.I. 02947530784. GRUPPO EDIZIONI MASTER Spa Tutti i diritti sono riservati. Per la pubblicità: Master Advertising