Ping Thomas Rowe - Table Question

J

Jimmy

Thomas (or anyone else with a comment):

I know you are a table aficionado, like myself.
I've been trying to do something with tables that seems reasonable,
but it isn't working out. I thought perhaps you might have exercised
this issue before.

Here's the basic idea: build a web page using tables with an image
in the right hand column that always floats to the right side of
the page no matter how big the browser window is. OK, easy enough...
just set a table to 100% and put the image in a right aligned table
cell.

Here's the kicker: I want to put a max pixel width in effect on
the table. I tried nesting the 100% table inside another table with
a fixed pixel size on it to limit the maximum size it could grow to.
However, when I do that, the 100% table immediately changes from
"always resize to browser width and float picture " to "truncate
right column like a fixed table" mode.

Any ideas ? Thanks,
 
T

Thomas A. Rowe

Jimmy,

See if the following addresses the issue:
http://www.ycoln-resources.com/mary/mary.htm

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
J

Jimmy

Jimmy,

See if the following addresses the issue:
http://www.ycoln-resources.com/mary/mary.htm


Not directly... since what I _really_ want is a table cell to expand
to the right up to the browser width but not more than a maximum
value (e.g. 780 pixels).

However, it has stimulated some thoughts as to how I might solve the
particular issue I have right now. I'll poke around a little and
post again.
 
T

Thomas A. Rowe

With tables/Cell there is not such thing as a maximum width.

Set the table to 100% and the cell to 780 pixels, then insert all page
content into this cell. Now how each browser/version will handle this will
be interesting.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
C

chris leeds

I'm certain they'll be handling it more consistently than if you were doing
it with a style sheet. ;-)
 
J

Jimmy

With tables/Cell there is not such thing as a maximum width.

I know, that's why I'm trying to "simulate" it. :)
Set the table to 100% and the cell to 780 pixels, then insert all page
content into this cell. Now how each browser/version will handle this will
be interesting.


Yeah, therein lies the catch. Your solution works in MSIE, but not in
NN/Moz. They let the 100% rule override, and the cell width just bumps
out. That makes sense since we know that cell width is typically a
minimum, not a maximum or fixed, specification.

I've tried the opposite, where the outer table statement is a fixed
size and the cell width is a %, but as soon as you put a pixel width
on the outer table it changes the setup to truncate mode. I also tried
using a % type second table that would not truncate inside another
table with a fixed width but it still forces truncation.

There may be some combination of cell arrangement that will force
this but I can't nail it down. If anyone has any ideas, I'll take 'em.
 
S

Stefan B Rusynko

To keep NN happy you need to "box" your table in, using an outer table (100%) with an extra column on the right (100%) w/ some
content that is fixed width (transparent gif)
Think you are trying to do what is similar http://obabank.com/ (open it in FP from IE and you should see the spacer cells)


--




| On Thu, 4 Dec 2003 19:01:33 -0500, "Thomas A. Rowe" <[email protected]>
| wrote:
|
| >With tables/Cell there is not such thing as a maximum width.
|
| I know, that's why I'm trying to "simulate" it. :)
|
| >Set the table to 100% and the cell to 780 pixels, then insert all page
| >content into this cell. Now how each browser/version will handle this will
| >be interesting.
|
|
| Yeah, therein lies the catch. Your solution works in MSIE, but not in
| NN/Moz. They let the 100% rule override, and the cell width just bumps
| out. That makes sense since we know that cell width is typically a
| minimum, not a maximum or fixed, specification.
|
| I've tried the opposite, where the outer table statement is a fixed
| size and the cell width is a %, but as soon as you put a pixel width
| on the outer table it changes the setup to truncate mode. I also tried
| using a % type second table that would not truncate inside another
| table with a fixed width but it still forces truncation.
|
| There may be some combination of cell arrangement that will force
| this but I can't nail it down. If anyone has any ideas, I'll take 'em.
|
|
|
|
 
J

Jimmy

To keep NN happy you need to "box" your table in, using an outer table (100%) with an
extra column on the right (100%) w/ some
content that is fixed width (transparent gif)

I'll poke around with that.
Think you are trying to do what is similar http://obabank.com/ (open it in
FP from IE and you should see the spacer cells)

I don't see that anything in the page "floats" - it's all in truncate
mode (?) (I hope they didn't pay for those colors :)
 
S

Stefan B Rusynko

It's their corporate bank colors to match all their brochures / literature / logos / bank interior paint scheme, (an I think
underwear) etc.
- They paid some graphic arts research firm a big fortune to come up the "right" colors, based on user focus groups and all that
wonderful stuff, on how warm and cozy people feel w/ certain colors associated with trust, security, friendliness, and giving the
bank all their money (-;

The top include page "floats" (100% width) w/ user browser window and uses spacer cells on right to prevent NN from spreading the
page
Rest is pegged to minimum 800 px browser and fixed tables but also uses spacers on right to keep NN happy
--




| On Fri, 5 Dec 2003 13:02:41 -0500, "Stefan B Rusynko"
|
| >To keep NN happy you need to "box" your table in, using an outer table (100%) with an
| >extra column on the right (100%) w/ some
| >content that is fixed width (transparent gif)
|
| I'll poke around with that.
|
| >Think you are trying to do what is similar http://obabank.com/ (open it in
| >FP from IE and you should see the spacer cells)
|
| I don't see that anything in the page "floats" - it's all in truncate
| mode (?) (I hope they didn't pay for those colors :)
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top