DotDragnet
May 23, 2012, 03:33:26 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: follow us on twitter @dotdragnet
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: css on html, not body  (Read 1014 times)
Charisma Bypass
Hero Member
*****
Posts: 556



View Profile Awards
« on: September 15, 2008, 09:51:10 AM »

A conundrum...

I am trying to set a image on the html in the css, not the body.

I'm attampting to make some "faux" rows using images.  One needs to be at the top, easy, set css on the background...
And one needs to be connected to the bottom.

So, I did this:

Code:
body {
  color: #000000;
  margin: 0;
  padding: 0;
  background: url(images/tpl/headbg.gif) repeat-x top transparent;
}

and this:

Code:
html{
    background: url(images/tpl/botbg.gif) repeat-x bottom #EACFA8;
}

It doesn't want to show itself.  Image is definitely there, and the EACFA8 colour shows, so it should all be OK...

Any ideas?  TIA.
Logged
Mr Anderson
DDN Contribs
Hero Member
*****
Posts: 2267



ap4a.uk ap4a
View Profile WWW Awards
« Reply #1 on: September 15, 2008, 10:02:27 AM »

Is it collapsing? Try giving it a height.
Logged

Charisma Bypass
Hero Member
*****
Posts: 556



View Profile Awards
« Reply #2 on: September 16, 2008, 04:08:56 PM »

Cheers Hurri.

Never got to the bottom of it, time was of the essence so I just dumped the faux row idea.

Will make more invesigations at some point and post my findings.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2006-2008, Simple Machines Valid XHTML 1.0! Valid CSS!