Visualizzazione risultati 1 fino 7 di 7

Discussione: "barra" spostata a sinistra

  1. #1
    Guest

    Question "barra" spostata a sinistra

    Ciao, avrei un problema: nel mio sito (http://www.dskingdom.altervista.org) la barra che c'è alla fine (non è proprio una barra... ma non saprei come altro definirla) con riportati i link alle varie pagine del sito ancora non esistenti, il copyright, ecc. si è spostata da sola a sinistra senza che io l'abbia toccata, mentre prima al centro, me ne sono accorto poco fa. Fra le tante modifiche che ho apportato al template originale avrò toccato qualcosa che l'ha spostata anche se io non volevo, come posso fare a riportarla al centro? Scusate se è una domanda da n00b, ma non sono molto esperto. E scusate anche se ho sbagliato sezione: questa mi è sembrata la più appropriata. Spero potrete aiutarmi.

  2. #2
    karl94 non è connesso Staff AV
    Data registrazione
    03-10-2005
    Messaggi
    17,744

  3. #3
    Guest

    Question

    Citazione Originalmente inviato da karl94 Visualizza messaggio
    Non sono riuscito a sistemare... non trovo gli errori elencati. Se ti do l'HTML dell'index.html non è che potresti correggermi tu il codice? Scusa se chiedo troppo... in ogni caso ecco il codice:

    Codice HTML:
    <!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>DS Kingdom</title>
    
    <link href="css/styles.css" rel="stylesheet" type="text/css" />
    
    </head>
    
    <body>
    
    <div id="container">
    
    <div id="topPan">
    
      <ul class="menu">
    <li class="btn_1"><a href="index.html" title="home">home</a></li>
    <li class="btn_2"><a href="#" title="about us">about us</a></li>
    <li class="btn_3"><a href="#" title="catalogue">catalogue</a></li>
    <li class="btn_4"><a href="#" title="support">support</a></li>
    <li class="btn_5"><a href="#" title="contacts">contacts</a></li>
    </ul>
    
      <img src="images/logo.gif" alt="" name="logo" width="138" height="35" id="logo"/>
    
    </div>
    <div id="header">
    
      <img src="images/slogan.jpg" alt="" name="logo" width="0" height="0" id="slogan"/>
    
    </div>
    <div id="content">
    
    <div id="leftPan">
    
    <div id="welcome">
    <h2></h2>
    
    <span style="font-size:18pt;font-family:Arial, Helvetica, sans-serif"><b>Welcome </b>to DS Kingdom!</span> 
    <p><span class="headline">DS Kingdom, the best community dedicated to the Nintendo DS.</span>  DS Kingdom is a community dedicated to the Nintendo DS: exploring the site you can find all the Nintendo DS Rom and 3DS verified by us, by download, by accessing the section 'ROMS', you can read news from the world of DS and 3DS discuss everything that concerns them by visiting the forum, the heart of the community ... Furthermore, we expect many more improvements that will make even the best DS Kingdom. What are you waiting? Sign up or login if you are already registered! </p>
    <div class="clear"></div>
    
    </div>
    
    <span style="font-size:18pt;font-family:Arial, Helvetica, sans-serif"><b>Lastest </b>roms posted</span>
    <h2></h2><br>
    
    <div class="fItem" id="lItem">
      <img src="images/img_featured.jpg" width="188" height="51" alt="" />
      <p class="headline">Zoo Tycoon 2: create your own Zoo!</p>
      <ul>
    <li><a href="#">Amazing Animals</a></li>
    <li><a href="#">Zoo Guest Mode</a></li>
    <li><a href="#">Impressive Exhibits</a></li>
    <li><a href="#">Habitat Editor</a></li>
    </ul>
        </div>
        
        <div class="fItem">
      <img src="images/img_featured-05.jpg" width="188" height="51" alt="" />
      <p class="headline">Professor Brainmaniac: train your brain!</p>
      <ul>
    <li><a href="#">Sudokuru</a></li>
    <li><a href="#">Kakuro</a></li>
    <li><a href="#">Mahjong</a></li>
    <li><a href="#">Mastermind</a></li>
    </ul>
        </div>
    
    <div class="clear"></div>
    
    </div>
    
    </div>
    <div id="rightPan">
    
    <div id="news">
     
    <span style="font-size:18pt;font-family:Arial, Helvetica, sans-serif"><b>News </b>& Events</span> 
    <p><span class="headline">12.01.2012</span> The community is now open. </p>
    <p><span class="headline">08.01.2012</span> Created and set up the forum. </p>
    <p><span class="headline">07.01.2012</span> Created the site logo. </p>
    
    </div>
    
    <span style="font-size:18pt;font-family:Arial, Helvetica, sans-serif"><b>S</b>tats</span> 
    <h2></h2>
    
    <p> <span class="headline">The site was created January 6, 2012. 0 members are currently registered. </span> Visitors:
    <h2><h2/>
    <script type="text/javascript">
    var counter_style = 11;
    var lang = 'it';
    </script>
    <script type="text/javascript" src="http://tl.altervista.org/js/contatore.js"></script>
    </p>
    
    </div>
    
    </div>
    <div class="clear" id="end"></div>
    
    </div>
    <div id="footer">
    
    
    <p><a href="#">HOME PAGE</a> | <a href="#">FORUM</a> | <a href="#">ROMS</a> | <a href="#">NEWS</a> | <a href="#">REGISTER/LOGIN</a><br/>Copyright &copy; 2012 DS Kingdom</p>
    
    
    
    </div>
    
    </div>
    
    </body>
    </html>

  4. #4
    karl94 non è connesso Staff AV
    Data registrazione
    03-10-2005
    Messaggi
    17,744

    Predefinito

    Codice HTML:
    <!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>DS Kingdom</title>
    		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    		<link href="css/styles.css" rel="stylesheet" type="text/css" />
    	</head>
    	<body>
    		<div id="container">
    			<div id="topPan">
    				<ul class="menu">
    					<li class="btn_1"><a href="index.html" title="home">home</a></li>
    					<li class="btn_2"><a href="#" title="about us">about us</a></li>
    					<li class="btn_3"><a href="#" title="catalogue">catalogue</a></li>
    					<li class="btn_4"><a href="#" title="support">support</a></li>
    					<li class="btn_5"><a href="#" title="contacts">contacts</a></li>
    				</ul>
    				<img src="http://forum.it.altervista.org/images/logo.gif" alt="" width="138" height="35" id="logo" />
    			</div>
    			<div id="header"></div>
    			<div id="content">
    				<div id="leftPan">
    					<div id="welcome">
    						<h2><b>Welcome </b>to DS Kingdom!</h2>
    						<p><span class="headline">DS Kingdom, the best community dedicated to the Nintendo DS.</span>  DS Kingdom is a community dedicated to the Nintendo DS: exploring the site you can find all the Nintendo DS Rom and 3DS verified by us, by download, by accessing the section 'ROMS', you can read news from the world of DS and 3DS discuss everything that concerns them by visiting the forum, the heart of the community... Furthermore, we expect many more improvements that will make even the best DS Kingdom. What are you waiting? Sign up or login if you are already registered!</p>
    						<div class="clear"></div>
    					</div>
    					<h2><b>Lastest </b>roms posted</h2>
    					<div class="fItem" id="lItem">
    						<img src="http://forum.it.altervista.org/images/img_featured.jpg" width="188" height="51" alt="" />
    						<p class="headline">Zoo Tycoon 2: create your own Zoo!</p>
    						<ul>
    							<li><a href="#">Amazing Animals</a></li>
    							<li><a href="#">Zoo Guest Mode</a></li>
    							<li><a href="#">Impressive Exhibits</a></li>
    							<li><a href="#">Habitat Editor</a></li>
    						</ul>
    					</div>			
    					<div class="fItem">
    						<img src="http://forum.it.altervista.org/images/img_featured-05.jpg" width="188" height="51" alt="" />
    						<p class="headline">Professor Brainmaniac: train your brain!</p>
    						<ul>
    							<li><a href="#">Sudokuru</a></li>
    							<li><a href="#">Kakuro</a></li>
    							<li><a href="#">Mahjong</a></li>
    							<li><a href="#">Mastermind</a></li>
    						</ul>
    					</div>
    					<div class="clear"></div>
    				</div>
    				<div id="rightPan">
    					<div id="news">
    						<h2><b>News</b> &amp; Events</h2> 
    						<p><span class="headline">12.01.2012</span> The community is now open.</p>
    						<p><span class="headline">08.01.2012</span> Created and set up the forum.</p>
    						<p><span class="headline">07.01.2012</span> Created the site logo.</p>
    					</div>
    					<h2><b>S</b>tats</h2>
    					<p><span class="headline">The site was created January 6, 2012. 0 members are currently registered.</span> Visitors:<script type="text/javascript">var counter_style=11;var lang='it';</script><script type="text/javascript" src="http://tl.altervista.org/js/contatore.js"></script></p>
    				</div>
    			</div>
    			<div class="clear" id="end"></div>
    			<div id="footer">
    				<p><a href="#">HOME PAGE</a> | <a href="#">FORUM</a> | <a href="#">ROMS</a> | <a href="#">NEWS</a> | <a href="#">REGISTER/LOGIN</a><br />Copyright &copy; 2012 DS Kingdom</p>
    			</div>
    		</div>
    	</body>
    </html>
    Inoltre aggiungi al foglio di stile la reguente regola:
    Codice:
    h2{
        font-family: Arial,Helvetica,sans-serif;
        font-size: 18pt;
    }

  5. #5
    Guest

    Predefinito

    Citazione Originalmente inviato da karl94 Visualizza messaggio
    Codice HTML:
    <!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>DS Kingdom</title>
    		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    		<link href="css/styles.css" rel="stylesheet" type="text/css" />
    	</head>
    	<body>
    		<div id="container">
    			<div id="topPan">
    				<ul class="menu">
    					<li class="btn_1"><a href="index.html" title="home">home</a></li>
    					<li class="btn_2"><a href="#" title="about us">about us</a></li>
    					<li class="btn_3"><a href="#" title="catalogue">catalogue</a></li>
    					<li class="btn_4"><a href="#" title="support">support</a></li>
    					<li class="btn_5"><a href="#" title="contacts">contacts</a></li>
    				</ul>
    				<img src="http://forum.it.altervista.org/images/logo.gif" alt="" width="138" height="35" id="logo" />
    			</div>
    			<div id="header"></div>
    			<div id="content">
    				<div id="leftPan">
    					<div id="welcome">
    						<h2><b>Welcome </b>to DS Kingdom!</h2>
    						<p><span class="headline">DS Kingdom, the best community dedicated to the Nintendo DS.</span>  DS Kingdom is a community dedicated to the Nintendo DS: exploring the site you can find all the Nintendo DS Rom and 3DS verified by us, by download, by accessing the section 'ROMS', you can read news from the world of DS and 3DS discuss everything that concerns them by visiting the forum, the heart of the community... Furthermore, we expect many more improvements that will make even the best DS Kingdom. What are you waiting? Sign up or login if you are already registered!</p>
    						<div class="clear"></div>
    					</div>
    					<h2><b>Lastest </b>roms posted</h2>
    					<div class="fItem" id="lItem">
    						<img src="http://forum.it.altervista.org/images/img_featured.jpg" width="188" height="51" alt="" />
    						<p class="headline">Zoo Tycoon 2: create your own Zoo!</p>
    						<ul>
    							<li><a href="#">Amazing Animals</a></li>
    							<li><a href="#">Zoo Guest Mode</a></li>
    							<li><a href="#">Impressive Exhibits</a></li>
    							<li><a href="#">Habitat Editor</a></li>
    						</ul>
    					</div>			
    					<div class="fItem">
    						<img src="http://forum.it.altervista.org/images/img_featured-05.jpg" width="188" height="51" alt="" />
    						<p class="headline">Professor Brainmaniac: train your brain!</p>
    						<ul>
    							<li><a href="#">Sudokuru</a></li>
    							<li><a href="#">Kakuro</a></li>
    							<li><a href="#">Mahjong</a></li>
    							<li><a href="#">Mastermind</a></li>
    						</ul>
    					</div>
    					<div class="clear"></div>
    				</div>
    				<div id="rightPan">
    					<div id="news">
    						<h2><b>News</b> &amp; Events</h2> 
    						<p><span class="headline">12.01.2012</span> The community is now open.</p>
    						<p><span class="headline">08.01.2012</span> Created and set up the forum.</p>
    						<p><span class="headline">07.01.2012</span> Created the site logo.</p>
    					</div>
    					<h2><b>S</b>tats</h2>
    					<p><span class="headline">The site was created January 6, 2012. 0 members are currently registered.</span> Visitors:<script type="text/javascript">var counter_style=11;var lang='it';</script><script type="text/javascript" src="http://tl.altervista.org/js/contatore.js"></script></p>
    				</div>
    			</div>
    			<div class="clear" id="end"></div>
    			<div id="footer">
    				<p><a href="#">HOME PAGE</a> | <a href="#">FORUM</a> | <a href="#">ROMS</a> | <a href="#">NEWS</a> | <a href="#">REGISTER/LOGIN</a><br />Copyright &copy; 2012 DS Kingdom</p>
    			</div>
    		</div>
    	</body>
    </html>
    Inoltre aggiungi al foglio di stile la reguente regola:
    Codice:
    h2{
        font-family: Arial,Helvetica,sans-serif;
        font-size: 18pt;
    }
    Grazie mille, ma come mai adesso alcune immagini non si vedono e alcuni spazi che avevo messo non ci sono più?
    Ultima modifica di DSKingdom : 08-01-2012 alle ore 23.05.23

  6. #6
    karl94 non è connesso Staff AV
    Data registrazione
    03-10-2005
    Messaggi
    17,744

    Predefinito

    Non capisco, sembra che il forum mi abbia rtoccato il codice. Il codice corretto è questo (a meno che il forum non lo cambi nuovamente):
    Codice HTML:
    <!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>DS Kingdom</title>
    		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    		<link href="css/styles.css" rel="stylesheet" type="text/css" />
    	</head>
    	<body>
    		<div id="container">
    			<div id="topPan">
    				<ul class="menu">
    					<li class="btn_1"><a href="index.html" title="home">home</a></li>
    					<li class="btn_2"><a href="#" title="about us">about us</a></li>
    					<li class="btn_3"><a href="#" title="catalogue">catalogue</a></li>
    					<li class="btn_4"><a href="#" title="support">support</a></li>
    					<li class="btn_5"><a href="#" title="contacts">contacts</a></li>
    				</ul>
    				<img src="http://forum.it.altervista.org/images/logo.gif" alt="" width="138" height="35" id="logo" />
    			</div>
    			<div id="header"></div>
    			<div id="content">
    				<div id="leftPan">
    					<div id="welcome">
    						<h2><b>Welcome </b>to DS Kingdom!</h2>
    						<p><span class="headline">DS Kingdom, the best community dedicated to the Nintendo DS.</span>  DS Kingdom is a community dedicated to the Nintendo DS: exploring the site you can find all the Nintendo DS Rom and 3DS verified by us, by download, by accessing the section 'ROMS', you can read news from the world of DS and 3DS discuss everything that concerns them by visiting the forum, the heart of the community... Furthermore, we expect many more improvements that will make even the best DS Kingdom. What are you waiting? Sign up or login if you are already registered!</p>
    						<div class="clear"></div>
    					</div>
    					<h2><b>Lastest </b>roms posted</h2>
    					<div class="fItem" id="lItem">
    						<img src="http://forum.it.altervista.org/images/img_featured.jpg" width="188" height="51" alt="" />
    						<p class="headline">Zoo Tycoon 2: create your own Zoo!</p>
    						<ul>
    							<li><a href="#">Amazing Animals</a></li>
    							<li><a href="#">Zoo Guest Mode</a></li>
    							<li><a href="#">Impressive Exhibits</a></li>
    							<li><a href="#">Habitat Editor</a></li>
    						</ul>
    					</div>			
    					<div class="fItem">
    						<img src="http://forum.it.altervista.org/images/img_featured-05.jpg" width="188" height="51" alt="" />
    						<p class="headline">Professor Brainmaniac: train your brain!</p>
    						<ul>
    							<li><a href="#">Sudokuru</a></li>
    							<li><a href="#">Kakuro</a></li>
    							<li><a href="#">Mahjong</a></li>
    							<li><a href="#">Mastermind</a></li>
    						</ul>
    					</div>
    					<div class="clear"></div>
    				</div>
    				<div id="rightPan">
    					<div id="news">
    						<h2><b>News</b> &amp; Events</h2> 
    						<p><span class="headline">12.01.2012</span> The community is now open.</p>
    						<p><span class="headline">08.01.2012</span> Created and set up the forum.</p>
    						<p><span class="headline">07.01.2012</span> Created the site logo.</p>
    					</div>
    					<h2><b>S</b>tats</h2>
    					<p><span class="headline">The site was created January 6, 2012. 0 members are currently registered.</span> Visitors:<script type="text/javascript">var counter_style=11;var lang='it';</script><script type="text/javascript" src="http://tl.altervista.org/js/contatore.js"></script></p>
    				</div>
    			</div>
    			<div class="clear" id="end"></div>
    			<div id="footer">
    				<p><a href="#">HOME PAGE</a> | <a href="#">FORUM</a> | <a href="#">ROMS</a> | <a href="#">NEWS</a> | <a href="#">REGISTER/LOGIN</a><br />Copyright &copy; 2012 DS Kingdom</p>
    			</div>
    		</div>
    	</body>
    </html>
    Hmm, no, continua imperterrito.
    Elimina tutte le occorrenze della stringa
    Codice:
    http://forum.it.altervista.org/
    Il risultato di questa operazione sarà il codice corretto.
    Ultima modifica di karl94 : 08-01-2012 alle ore 23.08.15

  7. #7
    Guest

    Thumbs up

    Finalmente sono riuscito, grazie mille si può chiudere. :)

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •