![]() |
Horizontal scrolling
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, Ofir. |
Re: Horizontal scrolling
In article
<d8d89bbf-51a9-4788-a49a-e604dbe5f563@25g2000hsx.googlegroups.com>, ofiras <ofiasu@gmail.com> 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 |
Re: Horizontal scrolling
On 14 אוגוסט, 11:03, dorayme <doraymeRidT...@optusnet.com.au> wrote:
> In article > <d8d89bbf-51a9-4788-a49a-e604dbe5f...@25g2000hsx.googlegroups.com>, > > *ofiras <ofi...@gmail.com> 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. |
Re: Horizontal scrolling
On 14 אוגוסט, 11:33, ofiras <ofi...@gmail.com> wrote:
> On 14 אוגוסט, 11:03, dorayme <doraymeRidT....@optusnet.com.au> wrote: > > > > > In article > > <d8d89bbf-51a9-4788-a49a-e604dbe5f...@25g2000hsx.googlegroups.com>, > > > *ofiras <ofi...@gmail.com> 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. |
Re: Horizontal scrolling
"ofiras" <ofiasu@gmail.com> wrote in message
news:80aeaad1-2b08-416c-a600-22c88a958b5a@e39g2000hsf.googlegroups.com... On 14 ??????, 11:33, ofiras <ofi...@gmail.com> wrote: > On 14 ??????, 11:03, dorayme <doraymeRidT...@optusnet.com.au> wrote: > > > > > In article > > <d8d89bbf-51a9-4788-a49a-e604dbe5f...@25g2000hsx.googlegroups.com>, > > > ofiras <ofi...@gmail.com> 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. It would be most helpful if you gave us a link and then we could see exactly what you were doing. +mrcakey |
Re: Horizontal scrolling
In article
<80aeaad1-2b08-416c-a600-22c88a958b5a@e39g2000hsf.googlegroups.com>, ofiras <ofiasu@gmail.com> wrote: > > > *ofiras <ofi...@gmail.com> 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 |
Re: Horizontal scrolling
On 14 אוגוסט, 12:26, dorayme <doraymeRidT...@optusnet.com.au> wrote:
> In article > <80aeaad1-2b08-416c-a600-22c88a958...@e39g2000hsf.googlegroups.com>, > > > > *ofiras <ofi...@gmail.com> wrote: > > > > *ofiras <ofi...@gmail.com> 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 Ok, this is the html as it is when everything is ok: http://testweb101.awardspace.com/index1.html This is what I don't want to happen: http://testweb101.awardspace.com/index2.html In the second one the side td's are squeezed. I want them to stay in the same width I stated which is 300. |
Re: Horizontal scrolling
On 14 Aug 2008, ofiras <ofiasu@gmail.com> wrote:
>> > 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 > > Ok, this is the html as it is when everything is ok: > http://testweb101.awardspace.com/index1.html > This is what I don't want to happen: > http://testweb101.awardspace.com/index2.html In the second one the side > td's are squeezed. I want them to stay in the same width I stated which > is 300. The div which wraps the (entire) contents of the middle cell should have - style="width:900px;overflow:hidden;" -- Neredbojias http://www.neredbojias.net/ Great Sights and Sounds Fmail for p/w for Specials |
Re: Horizontal scrolling
On 14 אוגוסט, 23:15, Neredbojias <neredboj...@gmail.com> wrote:
> On 14 Aug 2008, ofiras <ofi...@gmail.com> wrote: > > > > >> > 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 > > > Ok, this is the html as it is when everything is ok: > >http://testweb101.awardspace.com/index1.html > > This is what I don't want to happen: > >http://testweb101.awardspace.com/index2.htmlIn the second one the side > > td's are squeezed. I want them to stay in the same width I stated which > > is 300. > > The div which wraps the (entire) contents of the middle cell should have - > > style="width:900px;overflow:hidden;" > > -- > Neredbojiashttp://www.neredbojias.net/ > Great Sights and Sounds > Fmail for p/w for Specials but I still won't to see the hole word, I want the cells to be at least the width I wrote, unless there is something like the ling word I wrote, and then the cell gets bigger, while the other cells stay the same - I won't the table width to be the combined width of all cells (the real width that we see - if one cell is bigger, then the table need to get bigger at the same amount of pixels the cell got big.) |
Re: Horizontal scrolling
In article*
*<1583a697-52ec-401d-a439-117212e4524a@c65g2000hsa.googlegroups.com*>, * ofiras* <ofiasu@gmail.com*> wrote*: *> but I still won't to see the hole word*, I want the cells to be at *> least the width I wrote*, unless there is something like the ling word *> I wrote*, and then the cell gets bigger*, while the other cells stay the *> same* - I won't the table width to be the combined width of all cells *> (the real width that we see* - if one cell is bigger*, then the table *> need to get bigger at the same amount of pixels the cell got big*.) What width do you want the table to be*? Please supply a pixel amount or* a percentage amount*. (to keep it simple*). If you supply a* % remember* that it is the percent of the container inwhich the table is in*. If the* table is loose in body and body fill the window width*, then it is a* percent of the browser window*. Next*, you want 3* cells*. You want the first cell to be 300px and the last* to be 300px*. What do you want the middle cell to be*? I explained in my* first post with URL illustration why there is a difficulty*. So what do* you want*? *-- dorayme |
| All times are GMT. The time now is 06:44 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.