Re: To table or not to table?




No problem Jim. Just thought it might give you some ideas, the
coding being so much simpler than your table layout. I am sure
you can mark up your table layout simpler and better (as you are
allowing is possible).

About table layouts, up to a considerable point there is no
reason that you cannot make a fluid design with tables in the
sense that the page displays in a pleasant manner on most
screens. (Mobile brigade: relax!). They can be seen all over the
show.

But fluid does not mean that all the cells of a page must expand
to fill any size monitor. It may (sort of) mean that it should be
able to be seen in 800 x 600. But there is no point at all in
designing so that all the elements of a page make like marks on
the outside of a balloon or like stars in an expanding universe,
getting further and further away from each other.

This is possibly where we differ most.
You would have me create pages which never gets bigger than size X x Y and
would appear in the top left of any browser screen that opens it?
(That's a question)
My own starting point has always been to fill the allotted space

There are a few devices to stop this sort of needless expansion
happening that I can mention immediately. First, do use the
excellent facility of such as

#wrapper {max-width: 1000px;}
I have never met #wrapper and why 1000px?
(Pages with wide empty right hand margins really bug me)

or whatever figure is suitable for your material. Pick a wrapper
(it may be the main table) and a number of px where you judge the
material is spreading out needlessly beyond. Some older browsers
(including IE6!) do not recognise this but there are workarounds.
Oh dear, I imagine most of the world uses IE6/7 and the workarounds I have
used before usually are unvalidatable.

Second, *let* the magic of tables arrange the widths of the cells
to suit the material in it, think carefully whether to bother to
set widths on anything at all in the table. Be wary, above all,
of table {width: 100%;}
I try not to use individual cell widths except where there are several
images which look weirdly arranged otherwise.
HOWEVER width:100%; height:100% are the rocks on which my table stylesheet
is based. I have never actually considered changing that as my whole design
will probably fall to nothing (I'm going off to try that now so if you can
feel bad vibes, you know it's me)

Third, be careful of setting heights on things. My advice is not
to in tables.

Please, Jim, I am working from memory and making general remarks,
I have not got your site on screen.

One thing I do recall though very vividly though is that you have
far too much inline css. If it is maintenance and updating you
are wanting, templating and all that in a busy site, get the
whole lot off the html page and put it into css sheets, use
inline only sparingly and mostly tactically in development.

This, you see is where I have my difficulty ie the jargon.
"Inline css": does this refer to a line like this
<td valign="bottom" style="text-align: left">
or something that refers to some style eg style1 created in the header?
If it is the latter then it is one which has been created by Expression Web
and I have missed it as I try not to let that happen.
OR perhaps I should let EW do that, but call it something more meaningful.
--
Jim S
Tyneside UK
www.jimscott.co.uk
.



Relevant Pages

  • Re: New Tinsky
    ... Jim Beard wrote: ... at UB 474 on Mark Tinsky's website. ... suitable for the bowl, about one-third charge. ... Then gentle slow draws for about one-third the way ...
    (alt.smokers.pipes)
  • Re: To table or not to table?
    ... dorayme wrote: ... my fault for bad markup, not the fault of using tables. ... No problem Jim. ... coding being so much simpler than your table layout. ...
    (alt.html)
  • RE: Code Woes
    ... Jim, Thanks for the suggestion! ... I am running Excel 2003. ... Target.Value = "" ' erase check mark? ...
    (microsoft.public.excel.misc)
  • Re: What Did You Watch? 2011-07-10 (Sunday)
    ... Leverage -- the mark is a scumbag D.C. publicity fixer and there is some dissention in the ranks with regard to Nate's risky behavior. ... Jim is unusually ornery and a bit out of character in my opinion in the very beginning as Carlos is helping out a former female student who is now a local med examiner. ... Jim tries to patch up a spat between Callie and Jeff over Jeff's Dad and Callie's apparent indifference to going on the lamb as an intact family. ... Falling Skies -- a little backstory on Sarah Carter's tough chick character. ...
    (rec.arts.tv)
  • Re: ON TOPIC... Circuit Design
    ... I'll leave it to Mark to decide what to say about its functions before ... I elaborate. ... ...Jim Thompson ... That's an easy one, Jim. ...
    (sci.electronics.design)