[thelist] VERY basic CSS question
Howard Scott
howard.scott at image100.com
Tue May 18 11:54:16 CDT 2004
dunno
but ascii art rules
;)
"H"
--
On 18 May 2004, at 17:30, Rob Smith wrote:
> Hey,
>
> There's my css:
>
> <style type="text/css">
> body {
> background: #fff url(back.jpg) repeat-x top;
> width: 760px;
> margin: 0px;
> padding: 0px;
> }
> div.container {
> background: #fff url(mainback.jpg) no-repeat ;
> margin: 0px;
> padding: 55px;
> width: 760px;
> height: 470px;
> align: center;
> }
> </style>
>
> Here's my body:
>
> <body>
> <div class="container">
> <img src="title.gif">
> Hello World
> </div>
> </body>
>
> For the life of me I cannot get the "container"'s background image to
> be
> centered on the page:
>
> +---------+----+ +--+----------+--+
> | is | | | | want | |
> | | | | | | |
> +---------+ | | +----------+ |
> | | | |
> | | | |
> +--------------+ +----------------+
>
> What am I missing?
>
>
> Rob Smith
> --
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
More information about the thelist
mailing list