Forum Moderators: not2easy

Message Too Old, No Replies

Can CSS align this?

Absolute Positioning

         

stryder256

10:35 pm on Sep 12, 2003 (gmt 0)



I am designing a site that uses a lot of nested tables, and I am a complete CSS newbie. I'm looking in DreamWeaver MX at the CSS Styles and I've looked at a few CSS tutorial websites, but I can't figure out how to do this at all. I see that you can define a placement by auto or value, but I don't see align to the bottom or top.

<Eeek!>

Before I invest time in learning CSS, I want to know this:

Can I have the elements in one cell be flushed to the top of a table that has a variable height, while the elements in the cell below it are flushed to the bottom?

In other words, say I have a table, and within that table I have another table with two rows, each with one cell--each cell has a picture. I want the table housing the two rows to be able to stretch to the absolute top and bottom of the page, and I want the images in the cell to be able to align flush with the top. This way, if the font size differs from computer to computer, I won't have a variation in the layout.

I hope I have been able to convey this clearly, but it can be demonstrated easily by increasing your font size on the page link I gave above (hold down ctrl and move the mouse wheel up and down to change the font size on any page).

I would REALLY appreciate if someone could help me on this, or if someone could point the way to a clear tutorial on the subject.

Thank you!

Jonathan

[edited by: Nick_W at 10:41 pm (utc) on Sep. 12, 2003]
[edit reason] no urls please / thanks! [/edit]

claus

2:56 am on Sep 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think you can do what you want using CSS. But without the tables. You would want to use <div>s in stead and position these. Or just position the pictures themselves.

/claus