dance621
11-17-2006, 04:33 PM
Hi, I have to replace all my double quote marks with single but the css seems not to work properly when I do this. In the code below I canged just the first few " to ' in the block of text but does not work. What is the problem? I need to change to single quotes because the files is part of a csv and csv gets very upset with double quotes. Ideas?
Before the change (OK)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<!-- saved from url=(0017)http://mysite.com -->
<HTML>
<HEAD>
<script src='http://www.hardyart.co.uk/frame/framehead.js' type='text/javascript'>
</script>
<style type="text/css">
table.cellLink td {padding:0}
table.cellLink td a {display:block; width:100%; height:100%}
.pic a:link {border:1px solid #444444;}
.pic a:visited {border:1px solid #444444;}
</style>
</HEAD>
<BODY>
<a name='topanchor'></a>
<TABLE border=0 cellspacing=0 cellpadding=0 class='cellLink'>
<TBODY>
<TR>
<TD width=30 id='image1tl' style="background-image: url('http://hardyart.co.uk/frame/m274-tl.jpg'); background-repeat: no-repeat; background-position: bottom right;"
height=30></TD>
<TD height=30 width=100 id='image1th' style="background-image: url('http://hardyart.co.uk/frame/m274-th.jpg'); background-repeat: repeat-x; background-position: bottom;"
colSpan=8 height=30></TD>
<TD width=30 id="image1tr" style="background-image: url('http://hardyart.co.uk/frame/m274-tr.jpg'); background-repeat: no-repeat; background-position: bottom left;"
height=30></TD></TR>
</TBODY>
</TABLE>
</BODY>
</HTML>
After changing the background url double quotes... (not working)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<!-- saved from url=(0017)http://mysite.com -->
<HTML>
<HEAD>
<script src='http://www.hardyart.co.uk/frame/framehead.js' type='text/javascript'>
</script>
<style type="text/css">
table.cellLink td {padding:0}
table.cellLink td a {display:block; width:100%; height:100%}
.pic a:link {border:1px solid #444444;}
.pic a:visited {border:1px solid #444444;}
</style>
</HEAD>
<BODY>
<a name='topanchor'></a>
<TABLE border=0 cellspacing=0 cellpadding=0 class='cellLink'>
<TBODY>
<TR>
<TD width=30 id='image1tl' style='background-image: url('http://hardyart.co.uk/frame/m274-tl.jpg'); background-repeat: no-repeat; background-position: bottom right;'
height=30></TD>
<TD height=30 width=100 id='image1th' style='background-image: url('http://hardyart.co.uk/frame/m274-th.jpg'); background-repeat: repeat-x; background-position: bottom;'
colSpan=8 height=30></TD>
<TD width=30 id='image1tr' style='background-image: url('http://hardyart.co.uk/frame/m274-tr.jpg'); background-repeat: no-repeat; background-position: bottom left;'
height=30></TD></TR>
</TBODY>
</TABLE>
</BODY>
</HTML>
Thanks, James
Before the change (OK)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<!-- saved from url=(0017)http://mysite.com -->
<HTML>
<HEAD>
<script src='http://www.hardyart.co.uk/frame/framehead.js' type='text/javascript'>
</script>
<style type="text/css">
table.cellLink td {padding:0}
table.cellLink td a {display:block; width:100%; height:100%}
.pic a:link {border:1px solid #444444;}
.pic a:visited {border:1px solid #444444;}
</style>
</HEAD>
<BODY>
<a name='topanchor'></a>
<TABLE border=0 cellspacing=0 cellpadding=0 class='cellLink'>
<TBODY>
<TR>
<TD width=30 id='image1tl' style="background-image: url('http://hardyart.co.uk/frame/m274-tl.jpg'); background-repeat: no-repeat; background-position: bottom right;"
height=30></TD>
<TD height=30 width=100 id='image1th' style="background-image: url('http://hardyart.co.uk/frame/m274-th.jpg'); background-repeat: repeat-x; background-position: bottom;"
colSpan=8 height=30></TD>
<TD width=30 id="image1tr" style="background-image: url('http://hardyart.co.uk/frame/m274-tr.jpg'); background-repeat: no-repeat; background-position: bottom left;"
height=30></TD></TR>
</TBODY>
</TABLE>
</BODY>
</HTML>
After changing the background url double quotes... (not working)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<!-- saved from url=(0017)http://mysite.com -->
<HTML>
<HEAD>
<script src='http://www.hardyart.co.uk/frame/framehead.js' type='text/javascript'>
</script>
<style type="text/css">
table.cellLink td {padding:0}
table.cellLink td a {display:block; width:100%; height:100%}
.pic a:link {border:1px solid #444444;}
.pic a:visited {border:1px solid #444444;}
</style>
</HEAD>
<BODY>
<a name='topanchor'></a>
<TABLE border=0 cellspacing=0 cellpadding=0 class='cellLink'>
<TBODY>
<TR>
<TD width=30 id='image1tl' style='background-image: url('http://hardyart.co.uk/frame/m274-tl.jpg'); background-repeat: no-repeat; background-position: bottom right;'
height=30></TD>
<TD height=30 width=100 id='image1th' style='background-image: url('http://hardyart.co.uk/frame/m274-th.jpg'); background-repeat: repeat-x; background-position: bottom;'
colSpan=8 height=30></TD>
<TD width=30 id='image1tr' style='background-image: url('http://hardyart.co.uk/frame/m274-tr.jpg'); background-repeat: no-repeat; background-position: bottom left;'
height=30></TD></TR>
</TBODY>
</TABLE>
</BODY>
</HTML>
Thanks, James