This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > June 2004 > Thanks Neal (was Re: Any decent CSS forums?)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Thanks Neal (was Re: Any decent CSS forums?)
Ben Thomas

2004-06-19, 11:14 pm

Neal wrote:


> Oh that. I missed that one. The div only contains floated elements, so
> the actual div won't go all the way down. See how I altered it here...
>
> ...
> <div id=boxfoot>
> <a class=main href="product0001.html">info</a>
> <a class=main href="buy.html">buy</a>
> </div>
> </div>
> </center>
> <div style="clear: both; width: 100%">&nbsp;</div>
> </div>
> ...


Thanks heaps Neal. That's a great suggestion.

Now if only there was a way to get the black to stretch right to the
bottom of the viewport if the page is less than one screen high... I
think I'm pushing my luck a bit there though.

Thanks again.

Ben Thomas

Neal

2004-06-20, 4:15 am

On Sun, 20 Jun 2004 10:53:33 +1000, Ben Thomas <idontthink@so.ok> wrote:

> Neal wrote:
>
>
>
> Thanks heaps Neal. That's a great suggestion.
>
> Now if only there was a way to get the black to stretch right to the
> bottom of the viewport if the page is less than one screen high... I
> think I'm pushing my luck a bit there though.


This is a little clever... have not tested.

Wrap your content in a div, set height: 100%. Set a background image
(white on left, the rest black) for that div which is 1px high and say
2000px wide. (Wider than you need it to be.) Set it to repeat-y.
BenOne©

2004-06-20, 11:16 pm

Neal wrote:


>
> This is a little clever... have not tested.
>
> Wrap your content in a div, set height: 100%. Set a background image
> (white on left, the rest black) for that div which is 1px high and say
> 2000px wide. (Wider than you need it to be.) Set it to repeat-y.


Won't that result in scroll-bars?

Where in the CSS spec is "repeat-y" mentioned?

--
--
Ben Thomas - Software Engineer - Melbourne, Australia

This message and any attachments is/are intended for the person/s
to whom it was addressed. It may contain privileged or confidential
information. If you have received this message in error, please notify
the sender promptly and destroy the message without copying it or
divulging its contents to any person.

Opinions, conclusions, and other information in this message that do not
relate to the official business of my firm shall be understood as neither
given nor endorsed by it.

Neal

2004-06-20, 11:16 pm

On Mon, 21 Jun 2004 00:10:05 GMT, BenOne© <nosp@m.thanks.mate> wrote:

> Neal wrote:
>
>
>
> Won't that result in scroll-bars?


Not for a background. Shouldn't, anyway...

> Where in the CSS spec is "repeat-y" mentioned?


See http://www.w3.org/TR/CSS21/colors.html for all of this.
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews