Fullpage screen with images

ساخت وبلاگ
I am working on a webpage with 3 camera images. I want to get them lined up next to each other in full page width, preferably without space in between. The code below just doesnt seem to get me a proper line-up, the 3rd image is ending up below the third. Is there some mod I need to doto get this done?

Thanks
Jeroen




<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Webcams</title>
<style type="text/CSS">
h2 {
color:#4E632C;
}

#main {
max-width:960px;
margin:auto;
position:relative;
}
#cam1 {
width:440px;
position:absolute;
}
#cam2 {
margin-left:445px;
min-height:250px;
}
#cam3 {
margin-left:445px;
min-height:250px;
}
</style>
</head>

<body>
<div id="cam1">
<h2>Webcam 1</h2>

<iframe src="http://192.168.1.81:8081/" height="400" wdth="400"></iframe>
</div>

<div id="cam2">
<h2>WebCam 2</h2>
<iframe src="http://192.168.1.82:8081/" height="400" wdth="400"></iframe>
</div>

<div id="cam3">
<h2>WebCam 2</h2>
<iframe src="http://192.168.1.83:8081/" height="400" wdth="400"></iframe>
</div>

</div>
</body>
CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 261 تاريخ : سه شنبه 28 آذر 1396 ساعت: 23:22