1.

Solve : CSS with template-based pages (dreamweaver 8)?

Answer»

Hello. I use Dreamweaver 8 to build my site. I know it's dated, but it's all I have right now. I have two questions:

1) I understand how to save a page as a template, but when I publish template-based PAGES to my server, the style sheet doesn't attach and I'm left with a page that looks like something DOC Brown and Marty McFly brought back from 1994. Why doesn't my style sheet link to the page properly?

2) In the EVENT I'm unable to solve the above problem, are there any cons to using an internal style sheet (CSS inside the tags)?

Any assistance is appreciated, as my content is increasing and it's a pain to make minor changes to the master layout.

Thanks,

Jcheck to see if the stylesheet is referenced in between the tags. It might look something like this:

If it is then check your server to see if the file is on it.

I don't think there's anything wrong with internal style sheets. Some programmers don't like it, but I'm not sure why. it doesn't slow anything down that I'm aware of.Thanks for taking the time to reply. I really appreciate it.

I have the CSS file referenced properly, and I have the CSS file uploaded to the server. That's the weird thing here. I didn't have any problems with my pages until I tried to use the template feature in Dreamweaver. I'll just keep messing AROUND with it.

In the meantime, I'll just use an internal style sheet. No one can tell me why I shouldn't, so why not.

Again, thanks a million!Do you have a link we can look at to get a better idea of what the problem might be?


There's nothing wrong with internal styling. Some people just oppose it because it's unattractive, less practical, and it makes things look unorganized. It basically works the same way, though. I (and many others) prefer external sheets, but internal should work just fine.Since my last visit I went ahead and went with internal styling, even though it is unattractive. A day or two later, after beer ten and shot three I was sitting on the stool when it hit me:

I'm an idiot. I must have accidentally changed the path relative to the template, a very tragic mistake to make. I was obviously mistaken when I said in my earlier post that I had the CSS file referenced correctly. I did not.

Thanks to both of you for your help and advice. My advice to others would be to slow down and work carefully, or look foolish in a forum FULL of people who know what they're doing. Ha ha, don't worry, that sort of thing still happens to me sometimes. Thanks for giving us an update; I'm glad you've got it all sorted out.



Discussion

No Comment Found