Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

dividere una cella in più celle

592 views
Skip to first unread message

AiR

unread,
Apr 2, 2010, 6:44:12 AM4/2/10
to
vorrei dividere queste 2 celle in 3 celle

larghezza 770 pixel

qui la parte di codice:

<TR>

<TD style="width: 335px; height: 20px" class="style3" valign="top"
colspan="3">renate

ortolan</TD>

<TD style="width: 335px; height: 20px" class="style3" valign="top"
colspan="3">biografia</TD>

</TR>

il problema è che quando vado a dividere una delle due celle in 2 o le
unisco e poi le divido in 3 mi si sballa tutto il sito

dove sbaglio????

qui il codice completo della pagina:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<HTML>

<HEAD>

<META CONTENT="text/html; charset=iso-8859-1" HTTP-EQUIV="Content-Type">

<META NAME="Generator" CONTENT="Microsoft FrontPage 4.0">

<style type="text/css">

.style1 {

background-color: #FFFFFF;

}

.style2 {

text-align: left;

background-color: #FFFF99;

}

.style3 {

text-align: left;

background-color: #FFFFFF;

}

.style4 {

text-align: left;

}

.style5 {

margin-bottom: 0px;

background-color: #FFFFFF;

}

</style>

</HEAD>

<BODY TOPMARGIN="0" LEFTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">

<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" class="style5"
style="float: left; height: 723px">

<TR>

<TD ROWSPAN="7" class="style1" style="width: 404px">&nbsp;ciao lato sx</TD>

<TD style="width: 770px; height: 169px" class="style3" valign="top"
colspan="6">ciao

sopra</TD>

<TD ROWSPAN="7" class="style1" style="width: 404px">&nbsp;ciao lato dx</TD>

</TR>

<TR>

<TD style="width: 335px; height: 20px" class="style3" valign="top"
colspan="3">renate

ortolan</TD>

<TD style="width: 335px; height: 20px" class="style3" valign="top"
colspan="3">biografia</TD>

</TR>

<TR>

<TD style="width: 770px; height: 10px" class="style3" valign="top"
colspan="6"><img border="0" src="icone/barra_bianca_760x10.jpg" width="770"
height="10"></TD>

</TR>

<TR>

<TD style="width: 10px; height: 335px" class="style2" valign="top"><img
border="0" src="icone/barra_bianca_10x335.jpg" width="10" height="335"></TD>

<TD style="width: 250px; height: 335px" class="style2"
valign="top">clients<p>caritas<br>

colourdruck<br>

energiesparmesse<br>

h&amp;n<br>

hammerschmid<br>

kostümverleih<br>

messe wels<br>

oktoberfest<br>

reiner riedler<br>

seidu<br>

trachten beurle<br>

victoria<br>

werbeagentur michilangelo</p>

</TD>

<TD style="width: 10px; height: 335px" class="style2" valign="top"
colspan="2"><img border="0" src="icone/barra_bianca_10x335.jpg" width="10"
height="335"></TD>

<TD style="width: 490px; height: 335px" class="style2" valign="top">

<p align="center"><img border="0"
src="DVD%20foto%20ritoccate/caritas/DSC01203.jpg" width="235"
height="335"></TD>

<TD style="width: 10px; height: 335px" class="style2" valign="top"><img
border="0" src="icone/barra_bianca_10x335.jpg" width="10" height="335"></TD>

</TR>

<TR>

<TD style="width: 770px; height: 10px" valign="top" class="style4"
colspan="6"><img border="0" src="icone/barra_bianca_760x10.jpg" width="770"
height="10"></TD>

</TR>

<TR>

<TD style="width: 770px; height: 20px" valign="top" class="style4"
colspan="6">ciao

sotto</TD>

</TR>

<TR>

<TD style="width: 770px; height: 177px" valign="top" class="style4"
colspan="6">ciao

footer</TD>

</TR>

</TABLE>

</BODY>

</HTML>

AiR
www.sottomarinakite.it


--
Newsgroup robomoderato - gli articoli vengono approvati automaticamente

AiR

unread,
Apr 2, 2010, 7:02:00 AM4/2/10
to
ho fatto un'altra prova inserendo un'altra cella dentra alla cella che devo
poi suddividere in più celle impostando la larghezza in 100%

la cosa ora sembrerebbe funzionare!

è giusto come metodo o posso dividere la mia cella in un altro modo?

technoboyz

unread,
Apr 2, 2010, 11:29:16 AM4/2/10
to

"AiR" <mil...@tin.it> ha scritto nel messaggio
news:4bb5cea8$0$1132$4faf...@reader1.news.tin.it...

Se hai una tabella tipo questa

----------------------------------
| cel1 | cel2 |
----------------------------------

un'ulteriore riga divisa in tre sarebbe:

| cel1 | cel2 | cel3 |

oppure

| cel | cel2 | cel3 |

Se invece vuoi ottenere tre celle uguale, probabilmente ti coviene unire le
due celle ed al suo interno creare una nuova tabella con tre celle.

enos76

unread,
Apr 6, 2010, 4:04:13 AM4/6/10
to
AiR wrote:
> vorrei dividere queste 2 celle in 3 celle

E' meglio se usi i CSS per impaginare: per comodità, mantenibilità e
ordine. Limita l'uso delle tabelle alle... tabelle.

Ciao
--
Enos

Cappo

unread,
Apr 8, 2010, 12:11:10 PM4/8/10
to
On 06/04/2010 10:04, enos76 wrote:

> E' meglio se usi i CSS per impaginare: per comodità, mantenibilità e
> ordine. Limita l'uso delle tabelle alle... tabelle.

Anche io ti consiglio la stessa cosa, altrimenti rischi di creare un
prodotto già vecchio.

--
Giovanni Cappellini - http://www.quacos.com

Realizzazione siti dinamici e consulenze OpenSource:
http://www.weblogix.biz

0 new messages