Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

CSS Problem, Dreamweaver Template



12:18 am on Jan 10, 2003 (gmt 0)

10+ Year Member

Hey guys,
I wrote a page in dreamweaver, a fairly complicated layout, I finally got it working very close to how i wanted the finished product to look so i saved it as a template. I created a page from the template when i preview this page on of my menu's didn't look right anymore. I didn't actually edit anything on the new page just created it so it should have had the exact same code as the original template. I'm not exactly sure why it is doing this, i've looked over the code they seem to match exactly, even when i upload them both to a seperate server then view the exact same problem is happening. Does anybody know if when yous ave something to a dreamweaver template if it edits the css at all?
Hope this made sense


7:33 am on Jan 10, 2003 (gmt 0)

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Hmmmm... Certainly not a pure CSS issue but we have a few DW wizards here so I'm sure someone has an idea?

Good luck!



8:47 am on Jan 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

I've done plenty of CSS templates through DW and never had any probs with the CSS I have had a few probs with getting the paths 100% though - check all the paths are OK?


8:52 am on Jan 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

as knighty said, check your pathes. if it's not about the css then keep in mind, that dw changes the source for a templates as well, because it puts it's own region marks into it (defining which areas can be changed and which not) which also can but must not mess things up.


8:06 pm on Jan 17, 2003 (gmt 0)

10+ Year Member

I had the exact same problem and indeed it caused me a great deal of frustration. The problem is path related, however not as you might suspect. This issue never arose in DW 4, only in MX.

Open your Template and get rid of your current css link. Reapply your link making sure to use the browse to folder technique. browse to your style sheet (should be in the Templates folder) Here's the important part: select relative to site root instead of relative to document. That does it.

This never happened in DW 4 (whether it's mx or 4 that's actually flawed is arguable) For Templates (not for css to my knowledge) to work Macromedia states explicitly that they need to be linked in this manner and never moved. But DW4 would automatically update the path to your style sheet regardless of what direcory you saved your new document to. One curious thing is that although your document now contains the site root path you can still (at least I can) preview it locally without any problem.



8:58 pm on Jan 17, 2003 (gmt 0)

10+ Year Member

Thanks I was finally able to fix the problem by updating dreamweaver mx (duh) and mess around till it worked.. i'm guessing i probalby did what you said and once it worked i wasn't about to try and break it again. Thanks for the answer tho atleast there is a solution if it happens again in the future.


10:55 pm on Jan 21, 2003 (gmt 0)

10+ Year Member

Unfortunately I thought I had the solution and now things have gone completely bananas on me today. I don't know what's going on. One minute my style sheet is showing up and now it isn't. The html looks totally correct. I want to scream.

Featured Threads

Hot Threads This Week

Hot Threads This Month