Posted by Ed Mulroy on 06/14/06 00:21
> Think about this, why are your links in a table at all? They
> are just a list right? Why are your pictures and text in a
> table? Is it just to hang them in some particular placement on
> the page? You need to shake off the shackles of the table and
> compose the page semantically then style to make it appear as
> you wish. Google for some CSS layout tutorials.
I have tried to implement your suggestions. It is obvious that I am missing
something as I cannot find facilities in CSS to do what I want.
I have a list on the right and wish to arrange it something like this:
wide-image
aaaaa bbbbb
ccccc
ddddd ddddd
A table has a <tr> for table row. The <td> or table data items in that row
will be dispersed across the table width so the cluster 'aaaaa' will be
centered on the left half and 'bbbbb' centered on the right half. If I use
<td colspan="2"> with the ccccc line, it will be centered in the table area.
I can find no way to do this with CSS.
As for the image, there seems to be a 'centered' for text alignment but not
for images.
I also wish this assembly to consume all of the space not used by the menu
list on the left.
Do you know what I do with CSS to achieve this?
Just for completeness, the page I am speaking of is:
http://home.nc.rr.com/emulroy/theshore.htm
.. Ed
> Jonathan N. Little wrote in message
> news:46bee$44883bbe$40cba7bf$11824@NAXS.COM...
>
>...
>> On line 18 I received a complaint about 'align'
>> <table align="left" width="22%" cellpadding="1" cellspacing="2">
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> those are presentational attributes that should be defined in
> your stylesheet
>
> http://www.w3.org/TR/CSS21/tables.html
>
>> However all attempts to remove the 'align' and handle it with
>> CSS results in the right hand table being moved down the page
>> to past the bottom of the left hand menu column.
>
> Don't really see a difference except padding on table cell a
> bit different between version. Basically I think you may be
> trying to design with CSS but your mindset is still in 3.2
> table layout mode.
>
> Following are not snide remarks but to encourage you to think
> in a different direction...
>
> Think about this, why are your links in a table at all? They
> are just a list right? Why are your pictures and text in a
> table? Is it just to hang them in some particular placement on
> the page? You need to shake off the shackles of the table and
> compose the page semantically then style to make it appear as
> you wish. Google for some CSS layout tutorials.
[Back to original message]
|