On Tue, Jan 17, 2012 at 5:58 PM, Martin <mhe...@gmail.com> wrote:
Hi,
I've got a div (#main) which normally should have the height of 733px
because that's the height of the background pic.
On some pages the text goes over this height. ...trimmed>

----------------------------------------

From:
#main {
height: 733px;
width: 960px;
background: black url('../images/beer-bg.jpg') no-repeat;
 }

To: [first assign a class to the body tag  only on the specific
page[s] where you seek this particular look and feel, and use the
below CSS]

<body class="yo-yo">

body.yo-yo #main {
border: 1px solid lime;
overflow:hidden;
width: 960px;
background: black url('../images/beer-bg.jpg') bottom no-repeat;}

HTH.

Best,
Yo-Yo Ma

-- 
Chelsea Creek Studio
http://ccstudi.com
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to