[XHTML] layout.css troubles

Discussion in 'Web Design & Coding' started by Heeter, Nov 16, 2006.

  1. Heeter

    Heeter Overclocked Like A Mother

    Messages:
    2,732
    Hey All,

    I am trying to figure out why my index page keeps putting the background on top of my text. I am working with three files:

    default.css, layout.css, and index.html

    In my index, I have this part in the code:

    Code:
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>hcctech.ca</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <link href="default.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
        @import url("layout.css");
    -->
    </style>
    </head>
    Now the background in on top of the text, but I remove the:

    Code:
    <style type="text/css">
    <!--
        @import url("layout.css");
    -->
    </style>
    I can see the text on the index page only.

    I am trying to move to a tableless css layout on my Homepage.

    Can anyone figure this one out for me, Thanks.

    Heeter
     
  2. Geffy

    Geffy Moderator Folding Team

    Messages:
    7,805
    Location:
    United Kingdom
    What element have you assigned the background to?