[thelist] CSS Backgrounds: repeat-x width:100%

Rob Smith rob.smith at THERMON.com
Wed Mar 17 14:56:50 CST 2004


Hi 

Ive created a repeatable graphic designed for widths at 1024px. However,
this is not good practice. I need it to be 100% and not a fixed width:

+-------------------------------------------+
|////|                                 |\\\\|
|////|                                 |\\\\|
|////|                                 |\\\\|
|////|                                 |\\\\|
|////|                                 |\\\\|
|////|                                 |\\\\|
|////|                                 |\\\\|
|////|                                 |\\\\|
|////|                                 |\\\\|
|////|                                 |\\\\|
|////|                                 |\\\\|
|////|                                 |\\\\|
|////|                                 |\\\\|
+-------------------------------------------+

I have in my CSS file:
body {
background-image: url(/grfx/webback.jpg);
background-repeat: repeat-y;
width:100%;
}

But this isn't doing it. Suggestions?

Rob.Smith


More information about the thelist mailing list