PDA

View Full Version : coding error


roy.chappell355352
03-13-2009, 09:42 AM
Hi

I believe CSS Sculptor outputs some wrong code

look here in IE6

http://www.bluesonthefarm.co.uk/temp/

This is a straight out of the box 2 column fixed, right side bar with header and footer page, css saved to external style sheets.

in the conditional page code you have

<!--[if lt IE 7]>
<style type="text/css">
img, div {
behavior: url("file:///D|/webs/tester/2ColumnFixedRightSidebarHeaderandFooter0_images/iepngfix.htc");
}
</style>
<![endif]-->

surely this should be

<!--[if lt IE 7]>
<style type="text/css">
img, div {
behavior: url(2ColumnFixedRightSidebarHeaderandFooter0_image s/iepngfix.htc);
}
</style>
<![endif]-->

Also is it safe for me to rename the folder from 2ColumnFixedRightSidebarHeaderandFooter0_images to something shorten and less clumsy

Roy

Ray Borduin
03-13-2009, 10:11 AM
Folder names are not significant and can be updated.

The full file url is used by DW if you are working on a page that is not saved... it can't use the relative path since it doesn't know the location where the file will be eventually saved to.

It appears that because the code is in a comment, dreamweaver doesn't update the link properly as it would normally. This definitely could be considered a bug, but that is the description of the reason it occurs. We may be able to save the page earlier in the process to get around this problem.