|
It can't be done using CSS alone.
You would need to use scripting to check if the content height is less than the browser viewport height and set the div style or classname to suit.
BTW. Changing the class name is quicker than setting style properties.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|