coded into a corner

I am stuck.

I’m working with a third party template in Dreamweaver. It previews just fine in Firefox. Looks great. And this is the second template I have used from the same designer (the first one worked without incident). This one, once uploaded, shows the text only. No graphics. It’s an html template with an accompanying default.css stylesheet. The links are all relative, so the path images/whatever.jpg persists. I compared the calls and the stylesheet itself to the other (succesful) template and as far as I can tell, everything matches for syntax.

It appears that the html file can’t see the css file. But as far as I can tell, it’s a straightforward call and the syntax is fine.

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”content-type” content=”text/html; charset=utf-8″ />
<title>website name (WP for some reason won’t display this close title, but it’s there)
<meta name=”keywords” content=”” />
<meta name=”description” content=”” />
<link href=”default.css” rel=”stylesheet” type=”text/css” />
<style type=”text/css”>
(commented)
@import url(“layout.css”);
(uncommented)
</style>
</head>

Beats me. As I said, both headers look the same except for the title. Clearly the problem isn’t there.

So I tried replacing the default.css file with the one that works from the other template, and obviously it was a mess, but at least some graphics with the same name did show up. So it’s the default.css file, yes? Right? But for the life of me the code looks right. The paths, as I said, are relative. I know the problem has to be in there, but I don’t see it.

I am at the point where I either go on a random killing spree of incoherent rage or I get a new template. What I will actually do is go back into it, and keep cracking away until I get it.

Thanks for letting me think out loud in print. How’s things?

coded into a corner Read More »