Results in Design View and that in browser do not match

G

Guest

Hello. I am using FrontPage 2003.

I am working on a web page with a table. The table is split into two column.
I want to display two different background pictures on both of the columns.
For the left column, I want the background to align to right and align to
left for the right column.

I wrote this block of code in the <head> section of the *.htm file:

<style>
<!--
td.left { background-position: top, right; background-repeat:no-repeat; }
td.right { background-position: top, left; background-repeat:no-repeat; }
-->
</style>

Then I set the ' class ' property of the left column to ' left ' and that of
the right column to ' right '. It appeared as expected in the Design View in
FrontPage. When I switch to Preview, however, the background image in the
left column becomes left-aligned. The same happened in IE 6.

What happened? How can I fix this? Any help is greatly appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top