Allineamento skin

« Older   Newer »
  Share  
Shine;
view post Posted on 16/5/2009, 13:30




Uhm.. mi sorge un dubbio.. :O.o: Se io volessi fare una skin non centrata, quindi spostata verso destra magari, come si fà? C'è un modo?
:triste: Volevo provare a fare una skin un pò diversa dalle altre, quindi allineata a destra..
 
Top
view post Posted on 16/5/2009, 13:31

Senior Member

Group:
Member
Posts:
20,011
Location:
Bergamo

Status:


metti align="right" al container

hai capito come o te lo spiego?
 
Top
Scandalous,
view post Posted on 16/5/2009, 13:41




Io l'ho fatto mettendo al codice css del container il padding-right, o left.
Dipende dove vuoi spostarla ^^
 
Top
Shine;
view post Posted on 16/5/2009, 17:13




Uhmmmmm... allora, io per il container uso questo codice:
CODICE
<br><br><table width="94%" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="background:url(http://digilander.libero.it/DragonflyEffect/Easy/container_01.png) no-repeat; width:44px;">&nbsp;</td>
<td style="background:url(http://digilander.libero.it/DragonflyEffect/Easy/container_02.png) repeat-x; height:41px">&nbsp;</td>
<td style="background:url(http://digilander.libero.it/DragonflyEffect/Easy/container_03.png) no-repeat;" width="47px">&nbsp;</td>
</tr>
<tr>
<td style="background:url(http://digilander.libero.it/DragonflyEffect/Easy/container_04.png) repeat-y;" width="44px">&nbsp;</td>
<td style="background:url(http://digilander.libero.it/DragonflyEffect/Easy/container_05.png) repeat;" align="center" valign="top">

Quindi dovrei mettere il codice in questo modo, per allineare la skin a destra.. giusto?:
CODICE
<br><br><table width="94%" align="right" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="background:url(http://digilander.libero.it/DragonflyEffect/Easy/container_01.png) no-repeat; width:44px;">&nbsp;</td>
[...]
 
Top
;wrong
view post Posted on 16/5/2009, 19:32




HTML
<br><br><table width="85%" style="text-align: center; margin-left: 5%; margin-right: 10%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="background:url(http://digilander.libero.it/DragonflyEffect/Easy/container_01.png) no-repeat; width:44px;">&nbsp;</td>
<td style="background:url(http://digilander.libero.it/DragonflyEffect/Easy/container_02.png) repeat-x; height:41px">&nbsp;</td>
<td style="background:url(http://digilander.libero.it/DragonflyEffect/Easy/container_03.png) no-repeat;" width="47px">&nbsp;</td>
</tr>
<tr>
<td style="background:url(http://digilander.libero.it/DragonflyEffect/Easy/container_04.png) repeat-y;" width="44px">&nbsp;</td>
<td style="background:url(http://digilander.libero.it/DragonflyEffect/Easy/container_05.png) repeat;" align="center" valign="top">

modifica margin-left e margin-right
 
Top
Shine;
view post Posted on 18/5/2009, 11:26




A ok, grazie ^^
 
Top
5 replies since 16/5/2009, 13:30   113 views
  Share