Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

VALIGN, in CSS

Nov 2, 2007 11:38AM PDT

I'm trying to get the VALIGN command in CSS...help, please? Happy

Discussion is locked

- Collapse -
Re: VALIGN in CSS
Nov 3, 2007 5:44AM PDT
- Collapse -
The Tag Is...
Nov 3, 2007 5:54AM PDT

it's the div tag, and it looks like this

[div valign ="yada"]
Is there a way to mirror this using CSS?

- Collapse -
Re: VALIGN in CSS
Nov 4, 2007 2:49AM PST

valign doesn't seem to be a valid attribute for the div tag, according to http://www.w3schools.com/tags/tag_div.asp

And "yada" certainly isn't a valid value.

Let me repeat my question somewhat differently:
Do you mean valign or align, what value do you use it with in the div-tag and what purpose do you want to reach using it?

Kees

- Collapse -
....
Nov 29, 2007 12:18AM PST

I personally would like to know if it is possible to center a page vertically using css... (kind of like left and right margins set to auto, but for a vertical thing...