.deck-container {
height: 480px; // Or whatever height fits your slides
}
> ../css/common.css <http://imakewebthings.github.com/deck.js/css/common.css>">.
> Thanks.
>
> Dana
Sure. The slides just need to be inside an element with a class of
deck-container. So within your page you can make a <div class="deck-
container"> and put your slides in there. By default the width of
that deck should be set to auto, just like any other element. But you
WILL need to specify a height for it in CSS:.deck-container {
height: 480px; // Or whatever height fits your slides
}
> Sorry, I don't understand what you mean by the closing div question.
> What closing div?
I meant: where do you put </div>? You answered my question in your response.
> As for the slide backgrounds: none of the .slide
> elements have a background. Only the .deck-container element.
>
> The introduction deck in the /introduction folder of the download uses
> the <body> element as the deck container (by giving it a class of deck-
> container). Again back to the original question in this thread, you
> can use a whole other element as the deck container if you wish, and
> thats what I do on my project page version of the introduction. It's
> just a <div> with class of deck container. In both cases you put your
> slides and any extension html inside the container.
This makes perfect sense. Thanks.
> From there you can give the body a background (my noise speckle thing)
> and the deck container another background:
>
> body {
> background: ...;
> // You'll also want to have html and body height set to 100% in the
> case of my example
> }
Can you explain your comment?
As usual, thanks for your assistance. (I feel slightly bad about monopolizing the Google Group.)
Dana