From girba@iam.unibe.ch Tue Nov 11 10:22:19 2003 From: Tudor Girba To: smallwiki@list.inf.unibe.ch Subject: Re: Some other answers Date: Tue, 11 Nov 2003 11:22:19 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7644267919220139925==" --===============7644267919220139925== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi, Here is the example for why to put the
inside the tags (I tried it on Safari and Internet Explorer on Mac and on both the margin option is not taken into consideration for the tag): Girba Test
table cells as in SmallWiki some cell
some cell some cell
table cells with a div
some cell
some cell
some cell
On Tuesday, Nov 11, 2003, at 07:52 Europe/Zurich, Lukas Renggli wrote: > Hi, > > these are some things that I missed or left out yesterday: > > Tudor Girba : > >> 1. In the morning I manage to have a table by putting | (now it does >> not seem to work anymore). I saw that the has no tags inside, >> therefore it is not possible to have padding or margin css options >> for the text in a cell. I suggest to have a
>> there. > > What about overloading the table-tags? This has the same effect as if > I put a
into every cell, right? Doru. -- Tudor Adrian Girba Software Composition Group (www.iam.unibe.ch/~girba) University of Bern, Switzerland "Problem solving efficiency grows with the abstractness level of problem understanding." --===============7644267919220139925==-- From renggli@student.unibe.ch Tue Nov 11 16:31:24 2003 From: Lukas Renggli To: smallwiki@list.inf.unibe.ch Subject: Re: Some other answers Date: Tue, 11 Nov 2003 17:31:24 +0100 Message-ID: <7DF32608-1464-11D8-91D4-000393CFE6C8@student.unibe.ch> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0099742719271956682==" --===============0099742719271956682== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > > "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1 strict.dtd"> > [...] The following code works on Safari and Mozilla, I don't have Internet Explorer so I cannot test there. -=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=- Renggli
a11 a12
a21 a22
-=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=- I think you used the wrong edge-type in your css-specification, have a look at the first picture at http://www.w3.org/TR/CSS2/box.html to learn about the edge-types. Cheers, Lukas -- Lukas Renggli http://renggli.freezope.org --===============0099742719271956682==-- From girba@iam.unibe.ch Tue Nov 11 17:39:46 2003 From: Tudor Girba To: smallwiki@list.inf.unibe.ch Subject: Re: Some other answers Date: Tue, 11 Nov 2003 18:39:46 +0100 Message-ID: <0AF00F39-146E-11D8-B0FB-000393B2AA24@iam.unibe.ch> In-Reply-To: <7DF32608-1464-11D8-91D4-000393CFE6C8@student.unibe.ch> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4353965237438170514==" --===============4353965237438170514== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi, In your case you used padding, but I wanted margin. Why should the user be restricted to use margin for the table text? In the example I provided you can use them both. Note that you should also add to the tag cellspacing = "0", because as it is now, you always have a small distance between the cells, and you cannot control that. So by default, there is not distance between cells, but if someone wants it, that he/she can use the margin capability. Doru. On Tuesday, Nov 11, 2003, at 17:31 Europe/Zurich, Lukas Renggli wrote: >> >> > "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1 >> strict.dtd"> >> [...] > > The following code works on Safari and Mozilla, I don't have Internet > Explorer so I cannot test there. > > -=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=- > > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > > Renggli > > > >
> > > > > > > > >
a11a12
a21a22
> > > > > -=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=- > > I think you used the wrong edge-type in your css-specification, have a > look at the first picture at http://www.w3.org/TR/CSS2/box.html to > learn about the edge-types. > > Cheers, > Lukas > > -- > Lukas Renggli > http://renggli.freezope.org > > -- Tudor Adrian Girba Software Composition Group (www.iam.unibe.ch/~girba) University of Bern, Switzerland "Every thing should have the right to be different." --===============4353965237438170514==--