-1
嗯,我已經嘗試了幾天,現在將內容置於包裝div
中。在這div
裏面,我有3個其他的div
s,一個旁邊有邊距和圖像。 我在這些論壇上搜索了大部分代碼(恭喜我),而且幾乎不知道編碼。CSS DIV WRAPPER
反正...
下面的代碼,如果有人可以幫助我將是巨大的!
<!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" />
<link rel="shortcut icon" href="http://puente-aereo.net/clientes/perceptualweb/perceptual/ndxz-studio/imgs/perceptual.ico">
<meta name="keywords" content="perceptual, bench, perceptualstudio, diseño, mobiliario, interiores">
<meta name="description" content="Perceptual, Perceptual Studio, Bench">
<meta name="author" content="puente-aereo.net">
<title>Perceptual, Perceptual Studio, Bench</title>
<style media="screen" type="text/css">
.container {
width: 1333px;
margin: 0 auto;
}
.column {
float: left;
margin-right: 10px;
}
.spancol {
width: 250px;
}
.last {
margin-right: 0;
}
p {
text-align: justify;
margin-top: 10px;
margin-right: 18px;
margin-bottom: 10px;
margin-left: 18px;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 11px;
color: #666;
word-wrap: normal;
word-break: break-all;
}
</style>
</head>
<body>
<div align="center" class="container">
<div class="column spancol"><p>.................................................................................................................................................................................................................. ...... ..................... Marca de mobiliario/furniture brand .... .......................................................................................................
</p><a href="#"><img src="http://puente-aereo.net/clientes/perceptualweb/perceptual_hd.jpg"/></a>
<p>.............................................................................................................................................................................................................................................. diseñado y fabricado en Colombia/designed and manufactured in Colombia............................................................................................................................................................................ lineas simples /simple lines ............................ ...................................................................................................................................................................................................................................funcionalidad/ functionality................ .......................................................................................................................................................................................................................................atencion a los detalles/attention to details .... ...................................................................................................................... diseños atemporales/timeless design ................... ........................................................................................................................................................................................................................................................................................</p>
</div>
<div class="column spancol"><p>................................................................................................................................Estudio de diseño/design studio ......... ....................................................................</p><a href="#"><img src="http://puente-aereo.net/clientes/perceptualweb/perceptualstudio_hd.jpg"/></a>
<p>......................................................................................................................................................................... diseño comercial/commercial design ........................... ..................................................................................................................................................................................................................... .....diseño de producto/product design ................... .................................................................................................................................................................................................................................................................................................................................diseño corp rativo/corporate design ................ ................................. ...............................................................................................................................................................................................................diseño residencial /residential design..............................................................................................................................................................................................................................................................................................................................................</p>
</div>
<div class="column spancol last"><p>..........................................................................................................................................................................................................................................................................fabricante de mobiliario/furniture manufacturing .................................. ................................... ..................................</p><a href="#"><img src="http://puente-aereo.net/clientes/perceptualweb/bench_hd.jpg"/></a>
<p>..................................................................... .......mobiliario arquitectonico/architectural furniture ........... ............................................................................................................................................................................................................................................................................ desarrollo de mobiliario personalizado/custom furniture developement ........... ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................</p>
</div>
</div>
</body>
</html>
OMG!這工作!我看到我錯過了一個文本對齊的參數? – restre
Thx GUYS !!!這對我很好! 這就像在這裏的實時幫助THX !!! THX !!! THX !!! – restre
Uhmmm Andrew ... 有沒有一種方法可以讓這些div在屏幕的寬度之間以相等的間隔和列的一側分開? 我試過寬度:100%;在容器上,但它變得混亂起來...... – restre