[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

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?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!

Forum statistics

Threads
61,999
Messages
673,424
Members
5,592
Latest member
Rhilani