2 Divy vedle sebe
Napsal: 05 led 2011 18:25
Kód: Vybrat vše
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<meta name="generator" content="PSPad editor, www.pspad.com">
<title></title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<div id="celek">
<div>
<img src="fotky/vrsek.png" alt="vrsek.png, 998B" title="vrsek" border="0" height="60" width="454">
</div>
<div id="left">
<img src="fotky/prostredek.png" alt="prostredek.png, 199kB" title="prostredek" border="0" height="479" width="454">
</div>
<div id="content">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</div>
<div id="right">
</div>
</div>
</body>
</html>
Kód: Vybrat vše
/* CSS Document */
#left{clear: left;}
#left, #right, #content {float: left;}
#left {width: 454px;}
#content {}
#right {}
#celek{width: 100%;height: 454px;
}
Potřebuju aby se text psal od obrázku prostredek.png byl vysoký 454px a široký od toho obráku do konce stránky takže 100%. Nevím proč ale pokaždý mě to odskočí o řádek níš