Re: need HTML guru for small help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can declare this, BUT ...

The table cell will extend in width to the widest word and from there on the
behaviour will vary with the browser:

Limiting the width to 1 pixel will result in:
* IE5.5 will display exactly one word per line.
* Netscape 6.2 will fit as many words into one line as possible, but only
within the space given by the length of the longest word.
* Opera 6.0 is same as Netscape 6.2.

I have attached a small HTML file, which you may want to throw at your
favourite browser. ;-)

Assuming that you want to achieve a well defined layout, I wouldn't expect
you to do something like that.

Habe phun!
Roland

----- Original Message -----
From: "Robert G. Earnest" <robert@earnestphoto.com>
To: "List for Photo/Imaging Educators - Professionals - Students"
<photoforum@listserver.isc.rit.edu>
Sent: Wednesday, January 22, 2003 7:14 PM
Subject: Re: need HTML guru for small help


>
>
> Can I limit the width of the text to 1 pixel?
>
>
> r
>
>
>
>
> Orlando - Wellington/NZ wrote:
> >
>
> >
> > If you want to limit the width of that text block, you may want to place
it
> > inside a cell in a centered table,
> > where you define the desired width in pixels as the width of the cell,
e.g.
> >
> > <CENTER>
> > <TABLE>
> > <TR>
> > <TD WIDTH = "300">
> > text ...
> > </TD>
> > </TR>
> > </TABLE>
> > </CENTER>
> >
>
>
>
>

Below is text width limited to 300 pixels without border!

The text in this area is limited in width to 300 pixels. The table is defined to not show any borders.

The text in this area is limited in width to 300 pixels with border.

The text in this area is limited in width to 300 pixels. The table is defined to show a border.

Below is text width limited to 1 pixel with border!

Can I limit the width of the text to 1 pixel?


[Index of Archives] [Share Photos] [Epson Inkjet] [Scanner List] [Gimp Users] [Gimp for Windows]

  Powered by Linux