Forum Moderators: not2easy
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<base href="http://www.pubcon.com/exhibitor/gfx/">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="language" content="english">
<meta http-equiv="Content-Style-Type" content="text/css">
<title> thre images in a row</title>
<style type="text/css">
#image-container {
min-width:782px; /* width of 3 images (746px) plus images' padding and border (36px) */
padding:10px;
border:1px solid #d3d2d2;
background-color:#f0f0f0;
}
#image-container img {
padding:5px;
border:1px solid #d3d2d2;
background-color:#fff;
}
#image-right {
float:right;
width:250px;
height:49px;
}
#image-left {
float:left;
width:250px;
height:36px;
}
#image-center {
display:block;
width:246px;
height:59px;
margin:auto;
}
</style>
</head>
<body>
<div id="image-container">
<img id="image-right" src="lvicc_logo.jpg" alt="">
<img id="image-left" src="mgm_mirage_logo.jpg" alt="">
<img id="image-center" src="copyblogger_logo.jpg" alt="">
</div>
</body>
</html>
- With your mouse, place cursor at the beginning of the code.
- Hold the left-mouse down and then drag the mouse down to the end of the code.
- This has the effect of highlighting the code.
- Release the left-mouse.
- Right-mouse click will bring up a small dialog box.
- Scroll down the dialog box and click Copy.
- With your mouse, place cursor over NotePad.
- Right-mouse click will bring up a small dialog box.
- Scroll down the dialog box and click Paste.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<base href="http://www.webmasterworld.com/gfx/">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="language" content="english">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>five images equally spaced in a row</title>
<style type="text/css">
body {
margin:10px;
background-color:#def;
}
#image-container {
min-width:735px; /* width of 5 images (625px) plus images' padding and border (60px) plus images' margin (50px) */
height:47px;
padding:10px 5px;
margin:0;
border:1px solid #d3d2d2;
background-color:#f0f0f0;
list-style-type:none;
}
#image-container li {
width:20%;
float:left;
}
#image-container img {
display:block;
width:125px;
height:35px;
padding:5px;
border:1px solid #d3d2d2;
margin:auto;
background-color:#fff;
}
</style>
</head>
<body>
<ul id="image-container">
<li><img src="logo.png" alt=""></li>
<li><img src="logo.png" alt=""></li>
<li><img src="logo.png" alt=""></li>
<li><img src="logo.png" alt=""></li>
<li><img src="logo.png" alt=""></li>
</ul>
</body>
</html>
[edited by: alt131 at 10:58 am (utc) on Sep 10, 2011]
[edit reason] Side Scroll [/edit]
No problem, you're very welcome. ;)