Re: How do I keep apparent table width independent of window size?



In article <slrnfv2jve.hn7.spamspam@xxxxxxxxxxxxxxxxx>,
Ben C <spamspam@xxxxxxxxx> wrote:

On 2008-03-31, dorayme <doraymeRidThis@xxxxxxxxxxxxxxx> wrote:

Everything depends on the details of your project, perhaps a url might
help. But perhaps this will give you a thought to play with: Don't
bother with giving the table itself a width, try min-width in em for
either all the cells or selected cells (by classing them is most
reliable). Choose a size to fit the point below which text will wrap to
your displeasure:

td {border: 1px solid; min-width: 20em;}

Width on table cells kind of means minimum width anyway.

[...]

Safari 2 is different to Firefox in the effects.

A table with td {border: 1px solid; width: 200px;} behaves differently
in different browsers to td {border: 1px solid; min-width: 200px;}

Or use a 55px wide clear gif and don't tell anyone.

I'm surprised setting a width on the whole table didn't work as intended
but then the OP is talking about IE where anything goes.

I am not sure he tried this? I know I did not (slaps forehead!) but it
might have been 3 or 4am in the morning here! Not being able to sleep
might not *quite* mean I am awake.

--
dorayme
.



Relevant Pages

  • Re: Open Letter to Peter Seibel [was Re: Lisp and software architecture]
    ... only downside is if I decide screw you guys, ... I just explaind why it was thta I never bothered to look deeply into ... And I cannot believe you did not explain how what I posted did not address both what Cells is and why you should bother. ...
    (comp.lang.lisp)
  • Re: Open Letter to Peter Seibel
    ... tutorial is now up to date:) <ducks> ... Cells, in response to your claim that it was because I was unable to ... that you could not find anything explaining what it was and why you ... what Cells is and why you should bother. ...
    (comp.lang.lisp)
  • Re: How do I keep apparent table width independent of window size?
    ... But perhaps this will give you a thought to play with: ... bother with giving the table itself a width, ... either all the cells or selected cells (by classing them is most ... Safari 2 is different to Firefox in the effects. ...
    (comp.infosystems.www.authoring.html)
  • Re: is this possible?
    ... bother to look and it doesn't do much for archives for those who follow with ... I am trying to get Excel to copy content of some cells to next sheets, ...
    (microsoft.public.excel)
  • Re: Set Range.....am I to blind?
    ... fact, if you would and when you have time, briefly explain the why bother to ... I thought the cells() in the range object are just for the addresses ... Who is the parent of your Cellscalls? ...
    (microsoft.public.excel.programming)