Jump to content

jegranet

Members
  • Posts

    35
  • Joined

  • Last visited

Posts posted by jegranet

  1. This is my css. I messed about with it so much now I have now lost the overlap. I have put it up on www.testtemplate.co.uk

     

    body { font: 80% Verdana, Arial, Helvetica, sans-serif; background:#f6efe5; margin: 30px auto; padding: 0; color:#666666;}

    h1, h2, h3, h4, h5, h6, p { margin-top: 0; padding-right: 15px; padding-left: 15px;}

    h1 {font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;font-size:36px;color:#FF9966;}

    p {line-height: 140%;}

    a img { border: none;}.tag {font-family:Arial, Helvetica, sans-serif;font-size:12px;color:#666666;}

    .container { width: 960px; background: #f6efe5; margin: 0 auto;}

    .header1 { background:#f6efe5; width:inherit;}.header2 {background: #f6efe5;width:inherit;height:350px;}.header2 img {z-index: -1;

    }.content {background-color: #fff;margin: -100px 120px;background-color: #fff;

    }

  2. I want to create a grid of six text boxes 200px x 200px, with different coloured backgrounds and text with three on top row and three on bottom row without using a table. Is this possible. I have created other floated boxes, but usually a single with text wrapped around them. post-34553-0-31097800-1354708509_thumb.jpg

  3. Thank you both. I used margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto; and that worked. Still don't understand why the first one didn't work. (margin: 0 auto;). Now my footer is not working. It is showing 100% instead of site width. Don't you just hate it when stupid little things keep you busy a whole day.

×
×
  • Create New...