|
Posted by dorayme on 11/14/07 19:32
In article <1195021016.021680.7480@q5g2000prf.googlegroups.com>,
"dalyea@gmail.com" <dalyea@gmail.com> wrote:
> On Nov 13, 4:16 pm, dorayme
> >
> > "dal...@gmail.com" <dal...@gmail.com> wrote:
> > > I have the following code which is supposed to show, in 4 columns, the
> > > price,
> > > web site, image + product name, and date. The 3rd column uses div
> > > tags so
> > > that I canalignthings correctly. The li1 tag is supposed toalign
> > > the image inside
> > > it vertically inside a 64x64 px container.
> > > Thanks! Code as follows:
> > I suggest you get rid of *all* your styles (there are many faults
> > with it), all your classes bar one, all your divs, all your <p>s.
> > Why would you not prefer something so much simpler along the
> > lines of:
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> > "http://www.w3.org/TR/html4/strict.dtd">
> > <html>
> >
> > ?
> >
> > --
> > dorayme
>
> Thanks for the reply. The table option is certainly one I considered
I was suggesting to simply do your whole job with the markup I
gave (this was not meant to be saying to put a table withing the
cell you were concerned about... you say things which suggest
maybe you think I was so suggesting? I don't understand all your
remarks "against" tables. You have a tabular data project and so
what is all this 'disowning' about?
True, to be fair to you, I was riding a little roughshod over the
particular thing you wanted; really saying, forget about fiddling
about with so many styles, so many fonts with px dimensions, so
many px sizing of your boxes (divs and cells); there are problems
with the latter. The markup I suggest will get the job done in
the simplest way and it will look fine, it will be easy to
maintain.
Is there something in particular that you find unacceptable about
something like:
http://netweaver.com.au/test/tableDalyea.html
?
> But that aside, the point of my post was missed in your response, and
> that is
> that I wish to display every row in the table at exactly 64px in
> height, and that
> the images in the table will not always be 64px or greater in size.
> I guess thepart I left out
> is that the image sizes vary widely and that this is not a 1 row
> table.
>
> If I can't figure this out with CSS (which would be sad - admitting
> defeat!) then, yes,
> I will use the table approach - tried and true, works in every
> browser. Was just hoping
> to accomplish this with (apparently bad?!) CSS as I wrote (why is my
> CSS so wrong?).
>
> Thanks again for your response and your code suggestion, much
> appreciated.
>
--
dorayme
Navigation:
[Reply to this message]
|