pitanje za web designere

Hardware, software, mobiteli, programiranje, internet...

Moderator: Bobi

Post Reply
Mistake
Posts: 22
Joined: 07/02/2007 15:42
Location: and

Post by Mistake » 21/05/2007 15:43

stavi kompletan sadrzaj form taga u ovakav div:
<div style="text-align:center">
<label>Jel centrirano</label>
</div>

a mozes sve to staviti i u tabelu:

<table width="100%">
<tbody>
<tr>
<td align="center">
<label>Jel centrirano</label>
</td>
</tr>
</tbody>
</table>


hp
Posts: 1
Joined: 11/04/2002 00:00
Contact:

Post by hp » 22/05/2007 00:11

Najbolje rjesenje ti je:

Code: Select all

<style type="text/css">
#stranica {
  width:775px; /* Da bez horizontalnih skrolera */
  margin:0 auto;
}
</style>
.
.
.
<div id="stranica">
<!-- Sadrzaj ide ovdje -->
</div>


Pazi koji doctype koristis, jer nece raditi u IE ako je u quirks modu.

User avatar
KoKoBilo
Posts: 64
Joined: 18/04/2005 15:10

Post by KoKoBilo » 22/05/2007 00:41

Po meni, u DW, najjjjjjednostavnije, desni klik na "Layout Table", (onaj na vrhu) Align = Center

Post Reply