salve a tutti, purtroppo è sempre un argomento che mi da filo da torcere: l'allineamento.
dunque, io ho una foto dentro un boxmodel, praticamente voglio la foto allineata ad un testo alla stessa altezza, invece a me me lo da sotto la foto rispettando i margini che gli do, ma lui mi parte da sotto la foto. Incollo il codice css cosi capiamo meglio tutti:
facendo partire questo codice noterete l'errore che dico io... grazie a tutti per la collaborazione...codice:body { background-image: url(http://alessandroleoni.altervista.org/nero_linee.jpg); font-family: Trebuchet ms; font-size: 11px; margin-top: 50px } ul { list-style-image: url(../images/point2-li.gif) } #headerlogo { background-color: #BBBBBB; width: 950px; height: 75px; border: 1px solid #FFFFFF; background-image: url(http://alessandroleoni.altervista.org/header.png); margin-top: 20px; background-repeat: no-repeat; background-position: 99% 14px; } #headerlogotext { color: #000000; font-family: arial black; font-size: 12px; margin-top: 25px; margin-bottom: 15px; margin-left: 10px; margin-right: 40px; margin-top: 14px; text-align: left } #generalcontainer { color: #FFFFFF; width: 950px; border: 1px solid #FFFFFF; background-color: #333333; } #generalcontainertext { color: #FFFFFF; font-family: trebuchet ms; font-size: 11px; margin-top: 10px; margin-bottom: 10px; margin-left: 10px; margin-right: 10px; text-align: justify } #copyright { background-color: #BBBBBB; width: 950px; height: 75px; border: 1px solid #FFFFFF } #copyrighttext { font-family: trebuchet ms; font-size: 10px; font-style: italic; margin-top: 10px; margin-bottom: 10px; margin-left: 10px; margin-right: 10px; text-align: justify } #footer { background-color: transparent; color: #FFFFFF; font-family: courier new; font-size: 11px; font-weight: bold; margin-left: 150px; margin-right: 150px; } #backgroundmusic { background-color:transparent; border: 1px solid transparent width: 950px } #backgroundmusictext { margin-top: 10px; margin-bottom: 10px; margin-left: 10px; margin-right: 10px; } #buttons { text-align:left; margin-left: 10px; margin-top:15px; margin-bottom:10px; } #icons { margin-left: 154px; margin-right: 300px; } #textpresentazione { margin-top:10px; margin-left:320px; margin-bottom:10px; margin-right:10px; text-align:justify } a.primo:link { background: transparent; color: #0066FF; text-decoration: none } a.primo:visited { background: transparent; color: #0066FF; text-decoration: none } a.primo:hover { background: transparent; color: #FF5B01; text-decoration: underline; } a.primo:active { background: transparent; color: 0066FF; text-decoration: none } a.secondo:link { background: transparent; color: #0066FF; text-decoration:underline } a.secondo:visited { background: transparent; color: #0066FF; text-decoration:underline } a.secondo:hover { background: transparent; color: #FF5B01; text-decoration:underline; } a.secondo:active { background: transparent; color: #0066FF; text-decoration:underline }


Rispondi quotando