Re: Horizontal scrolling



In article
<80aeaad1-2b08-416c-a600-22c88a958b5a@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
ofiras <ofiasu@xxxxxxxxx> wrote:

 ofiras <ofi...@xxxxxxxxx> wrote:
Hi everyone,
I made a table in html, and I wrote in the left <td> width = 300, in
the middle <td>, width=70% and in the right <td>, width = 300, but
they all squeeze when the middle <td> has to get bigger to contain all
context. It's like the page don't want to be scrolled horizontally.
How can I make my <td>'s stay in the width I stated no matter what,
even if the page will have to have horizontal scrolling?
Please help,

You want three cells in a row with the outside ones at 300px and the
middle one to take up 70% of something. 70% of the whole table, let's
say. OK. But what is the table width so that the poor browser can
calculate what to make the middle cell?

Let's just imagine you set 100% for the width of the table itself,
meaning, roughly, 100% of the browser window's width, whatever it
happens to be.  

<http://dorayme.890m.com/alt/squabblingCells.html>

If the browser window happened to be 2000px wide, since 70% of 2000 is
1400px, there is 600 left. The side cells would be happy. Under 2000,
they would fight over what is left if the browser gives the middl cell
priority. Over 2000, it is cream on the cake for hungry side cells but
maybe not for the author.

This might do you:

<http://dorayme.890m.com/alt/happyCellsButMiserableUser.html>

--
dorayme

Thanks, I didn't get exactly what I want, but I guess I'll use it,
it's ok for what I want to do.
Ofir.

Apparently it's not ok... I set the width of the table to 1500, and
gave the cells the widths - 300,900,300. Still, when the context of
the middle cell is getting out of the cell's width, the other cells
squeeze. How can I make my table to be at the width of the combined
width of the cells?
Please help,
Ofir.

In Safari 3, FF 2, iCab, you get what you want, I guess with:

<http://dorayme.890m.com/alt/setPxWidthTable.html>

but not with Opera. Opera, at least my Opera, gives 300px to the left
cell and 300px to the right cell but makes up its own mind about the
middle one, ignoring the 1500px spec for the table. Opera shows some
gumption!

Specifying the 70% for the middle as well to give some sort of
unmistakable message is a disastrous complication.

What really are you trying to do? Please tell us the real purpose, the
sort of webpage it is about etc, a URL would be good and this way we
might suggest how best to tackle the issue you face so it is happy in
almost all browsers. Making these particular conditions is just giving
us things to have fun with... <g>

--
dorayme
.



Relevant Pages

  • Re: Horizontal scrolling
    ... they all squeeze when the middle has to get bigger to contain all ... But what is the table width so that the poor browser can ... they would fight over what is left if the browser gives the middl cell ... Opera, at least my Opera, gives 300px to the left ...
    (alt.html)
  • Re: MS vs Mozilla, Netscape
    ... not to mention color display modes. ... only with the layout tables in FP2003. ... to go in and change the code to the size specified in the layout cell ... will be when rendered in the browser - that is WYSIWYG ...
    (microsoft.public.frontpage.client)
  • Re: FP 2003 Layout table feature
    ... Kathleen will have to weigh in on the assistive device issue, I think she's the resident guru on designing sites for users with disabilities. ... as long as the browser supports tables it will work. ... |>> There's the issue that some Search engines will not be able ... Search engines will read one cell at a time. ...
    (microsoft.public.frontpage.addins)
  • Re: FP 2003 Layout table feature
    ... I had never heard of that issue also, i have a considerable amount of ... as long as the browser supports tables it will work. ... >> There's the issue that some Search engines will not be able ... Search engines will read one cell at a time. ...
    (microsoft.public.frontpage.addins)
  • Re: Horizontal alignment of text in table cells
    ... Don't set a table or cell width at all. ... A certain ba$tardised browser merrily ... You only need to specify ... here anything that is different from the standard link state. ...
    (uk.net.web.authoring)

Loading