In article <
2oecg7906sj7u9eko...@4ax.com>,
M.L. <m...@privacy.invalid> wrote:
> I'm trying to learn how to convert a 3 row, 2 column table to CSS.
I know what you mean but it sounds as if there are false
assumptions behind it. CSS is not the opposite of HTML, or a form
that HTML can be converted into. An HTML table can be styled with
CSS, even heavily so, it can probably even be disguised as Roger
or Jessica Rabbit. On the other hand, all sorts of sets of HTML
non TABLE elements can be made to look like a grid formation,
even looking like a real HTML table using CSS.
> I
> found the sample below that appeared to work OK in Firefox 9 until I
> applied CSS border styling.
>
> Without the table cell CSS border styling, the result shows 3 rows and
> 2 columns, but the table border CSS encloses only 2/3 of the rows.
>
http://i41.tinypic.com/o931v9.jpg
>
This looks like the container is not seeing the floats in it and
it needs to be forced into enclosing them. There are different
ways to do this, one way is to overflow: hidden on the container.
Other ways and a general discussion of the issues, see
<
http://netweaver.com.au/floatHouse/page7.php>
> With the table cell "border:1px solid #333;" styling, the result shows
> 6 rows and 1 column with the table border CSS again enclosing only 2/3
> of the rows.
>
http://i39.tinypic.com/23s9js9.jpg
>
> I'd appreciate help with determining what CSS design concept I'm
> missing. Thanks.
What exactly is the look you want? And why would you not use a
proper HTML table? HTML tables are good things and are essential
things for marking up lists of items whose relationships you need
to communicate.
There are many different ways to make a grid formation, what is
the content you have and what is the layout you want?
--
dorayme