css uitlijnen wil niet!

  • Onderwerp starter Onderwerp starter xvilo
  • Startdatum Startdatum
Status
Niet open voor verdere reacties.

xvilo

Gebruiker
Lid geworden
14 dec 2008
Berichten
492
hoi,

ik heb dus deze code:
Code:
<!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>Untitled Document</title>

<style>
.place {
 width: 1000px ;
  margin-left: auto ;
  margin-right: auto ;

}

.video_main {
	height: 580px;
	background: #ff0000; /* Old browsers */
background: -moz-linear-gradient(top, #ff0000 0%, #e60303 11%, #ab0808 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff0000), color-stop(11%,#e60303), color-stop(100%,#ab0808)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ff0000 0%,#e60303 11%,#ab0808 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ff0000 0%,#e60303 11%,#ab0808 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #ff0000 0%,#e60303 11%,#ab0808 100%); /* IE10+ */
background: linear-gradient(top, #ff0000 0%,#e60303 11%,#ab0808 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff0000', endColorstr='#ab0808',GradientType=0 ); /* IE6-9 */
}
.hoi {
	width:482px;
	height:257px;
	margin-left:92px;
	margin-top:145px;
	background:#3C0
}
</style>
 <script src="http://cdn.sublimevideo.net/js/dd2d4ven.js" type="text/javascript"></script>
</head>

<body>
<div class="place"> 
	<div class="video_main"> 
		<div class="hoi">

		<video class="sublime" autoplay="autoplay" height="267" width="482" loop="loop" data-name="xvilo presnets titel" controls="controls" poster="poster.jpg" preload="none">
		<source src="xvilo.mp4" />
		<source src="xvilo.webm" />
 
		<source src="xvilo2.mp4"  />
		<source src="xvilo2.webm"  />
</video>
		</div>
	</div>
</div>

</body>
</html>

alleen wilt ie de <div class="hoi"> </div> niet goed uitlijnen!!
wat ie nu doet is dat ie <div class="video_main"> </div> ook mee neemt met het uitlijnen!!!
weet iemand hoe dit kan en hoe ik dit moet oplossen???

alvast bedankt!

EDIT
hier een voorbeeld
hier zo
 
Wat bedoel jíj met uitlijnen?
En hoe wil je uitlijnen?

Uit jouw code kan ik niet zo gauw opmaken wat je waar wilt hebben.
 
volgens mij moet je <div class="video_main"> even een vaste width gegeven in de css code.
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan