[XHTML] layout.css troubles

Heeter

Overclocked Like A Mother
Joined
8 Jul 2002
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
 

Geffy

OSNN Veteran Addict
Joined
18 Mar 2002
Messages
7,805
What element have you assigned the background to?
 

Members online

No members online now.

Latest profile posts

Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?

Forum statistics

Threads
62,004
Messages
673,460
Members
5,599
Latest member
Larry Chris