Re: [WSG] Why css settings a background image in the body tag wouldn't work plus 2nd issue of space between divs

2008-07-29 Thread Michael Horowitz

Sure happy to give you my current css.

Add in a 2nd problem I use margin-top in #header ul li to move my header 
to the bottom of the header div.  But when I do that it puts blank space 
between the #header and the #mainNav and #content below it.
Should I be wrapping those two div in another di and clearing it like I 
have a clear on my footer?


Thanks for the help this is only my 2nd tableless site.

#wrapper {
   width: 800px;
   position:relative;
   left: 50%;
   margin-left: -400px;
}



#header{
   width: 800px;
   height: 80px;
   background-image:url(../images/header.jpg)
}

#header ul li{
   float:right;
   font-size:10px;
   height: 80px;
   margin-top: 45px;
}

#header ul a {
   text-decoration:none;
   color:#00;

}
body {
   font-family: Verdana, Arial, Helvetica, sans-serif;
   background-image:url(../images/background.jpg)
   font-size:10px;
  
}

#mainNav{
   padding-bottom: 20px;
   padding-left: 10px;
   padding-right: 10px;
   height: 380px;
   width: 150px;
   float: left;
   font-size:10px;
   background-image:url(../images/background.jpg)
  
}


#mainNav ul a {
   text-decoration:none;
   color:#00;
}


#content{
   width: 600px;
   float:right;
   font-size:10px;
   color:gray;
   background-image:url(../images/background.jpg)
  
  
}


#footer{
   clear:both;
   width: 800px;
   background-image:url(../images/background.jpg)
}



ul {
   list-style-type: none;
}

Michael Horowitz
Your Computer Consultant
http://yourcomputerconsultant.com
561-394-9079



Matthew Holloway wrote:

On Wed, Jul 30, 2008 at 10:48 AM, Michael Horowitz
[EMAIL PROTECTED] wrote:
  

I am finding I am having to put this info instead in my div's
Im sure it is some silly problem



Could you post some HTML/CSS?

If it's a silly problem then it's probably syntax, or that relative
paths are different from the HTML to CSS, etc.


.Matthew Holloway
http://holloway.co.nz/


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


  



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Why css settings a background image in the body tag wouldn't work plus 2nd issue of space between divs

2008-07-29 Thread Matthew Holloway
On Wed, Jul 30, 2008 at 11:29 AM, Michael Horowitz
[EMAIL PROTECTED] wrote:
 Sure happy to give you my current css.


Missing semi-colon at the end of the line?


.Matthew Holloway
http://holloway.co.nz/


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***