frankiep
02-21-2007, 05:17 PM
Hi-
I'm new to both DW & CSS. So I created a page in CSS then turned that page into a template with editable regions. Figuring, I could then create pages with consistancy & update them easier. The problem is when I create a page from that template page and preview it in the browser it looks fine. But when I upload it onto my server DW adds a / before the link to the style sheet. (the / is not there in priview) It also adds this / before any images I placed in editable regions.
looks like this <link href="/ccstyles.css"
and the same for img
this / shouldn't be there.
So I would like to know if anyone knows why it is doing this on upload and how can i correct it. I don't want to have to drage everypage into an html editor for corrections everytime I upload a page.
Any help would be much appreciated.
Thanks!
Frankie
I'm new to both DW & CSS. So I created a page in CSS then turned that page into a template with editable regions. Figuring, I could then create pages with consistancy & update them easier. The problem is when I create a page from that template page and preview it in the browser it looks fine. But when I upload it onto my server DW adds a / before the link to the style sheet. (the / is not there in priview) It also adds this / before any images I placed in editable regions.
looks like this <link href="/ccstyles.css"
and the same for img
this / shouldn't be there.
So I would like to know if anyone knows why it is doing this on upload and how can i correct it. I don't want to have to drage everypage into an html editor for corrections everytime I upload a page.
Any help would be much appreciated.
Thanks!
Frankie