I want to rid my site of tables where used for layout. The main culprits are where I have pages of thumbnail pictures 150px wide and around 100 to 200 high, left aligned and with a paragraph or two of text floating to the right of each. I then want a 1px blue border around each paragraph/picture which will also butt up against the next one.
My problem is controlling this border. On my test page, it goes around the text ok by containing it all in a <div>, except that it ignores the picture if the text is smaller, in addition at the end of each block of text there is a right-aligned reference number. This is ignored by the border (I have tried DIV, SPAN and P with no success here).
Unless someone can suggest what I am doing wrong, I shall have to resort to a 1px high <HR> as a divider and possibly putting a border around the whole lot.