Re: How do I keep apparent table width independent of window size?
- From: dorayme <doraymeRidThis@xxxxxxxxxxxxxxx>
- Date: Tue, 01 Apr 2008 10:48:43 +1000
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
.
- Follow-Ups:
- Prev by Date: HTML Folder View MAC/PC?
- Next by Date: Re: HTML & CSS Problems - Newbie
- Previous by thread: Re: How do I keep apparent table width independent of window size?
- Next by thread: Re: How do I keep apparent table width independent of window size?
- Index(es):
Relevant Pages
|