Bizarre code rewrite (FP2002)

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

Hi;

To get the look I wanted for a list of links, I:

1. Created an unordered list.
2. Used the list properties dialogue to set the bullet
image to a blank image I had made (a white duplicate of my
theme's bullet) and the line height to 1.5 lines.

FP made the expected code of a <ul> tag with an image
source of my blank image and a style setting line-height:
150%. Ok fine.

Then I saved the page. When I opened it back up, FP had
completely rewritten the list as a two-column table!!!
And there are odd "msimagelist" notations in all the
tables's <tr>, <td> and <table> tags that don't reference
anything. At least it looks as intended when viewed.

What the heck????? Is there maybe some change in how HTML
handles styles that would possess FP to completely rewrite
a block of HTML into something completely and utterly
different? Even if the end result looks as intended, this
seems insane. The table code is 3 times as long as an
equivelent "styled" unordered list.

Thanks,
Dave
 
Hi,
do you have theme applied? I think FP will use tables to make lists in a
theme.

If it was me I'd set the list's bullet to none and set your bullet image as
a background to <li> this way you can control exactly the spacing between
bullet and list text, which obviously you can't do by just setting the
bullet image.

Jon
Microsoft MVP - FP
 
Correct for versions prior to FP2003
When using a theme (not applied using CSS), FP will convert any list to a 2 column table (bullet image column, text column) on file
save
In FP2003, FP applies all themes using CSS with the style: list-style-image:url('imagename.gif'),
so it leaves the html as <li>

--




| Hi,
| do you have theme applied? I think FP will use tables to make lists in a
| theme.
|
| If it was me I'd set the list's bullet to none and set your bullet image as
| a background to <li> this way you can control exactly the spacing between
| bullet and list text, which obviously you can't do by just setting the
| bullet image.
|
| Jon
| Microsoft MVP - FP
|
| Dave wrote:
| > Hi;
| >
| > To get the look I wanted for a list of links, I:
| >
| > 1. Created an unordered list.
| > 2. Used the list properties dialogue to set the bullet
| > image to a blank image I had made (a white duplicate of my
| > theme's bullet) and the line height to 1.5 lines.
| >
| > FP made the expected code of a <ul> tag with an image
| > source of my blank image and a style setting line-height:
| > 150%. Ok fine.
| >
| > Then I saved the page. When I opened it back up, FP had
| > completely rewritten the list as a two-column table!!!
| > And there are odd "msimagelist" notations in all the
| > tables's <tr>, <td> and <table> tags that don't reference
| > anything. At least it looks as intended when viewed.
| >
| > What the heck????? Is there maybe some change in how HTML
| > handles styles that would possess FP to completely rewrite
| > a block of HTML into something completely and utterly
| > different? Even if the end result looks as intended, this
| > seems insane. The table code is 3 times as long as an
| > equivelent "styled" unordered list.
| >
| > Thanks,
| > Dave
|
|
 
Hm...but I am using the "apply using CSS" option on the
theme.

Well, it's not worth dragging on what was essentially a
curiosity, if an annoying one. Thanks all for the
help. :o)

Dave
-----Original Message-----
Correct for versions prior to FP2003
When using a theme (not applied using CSS), FP will
convert any list to a 2 column table (bullet image column,
text column) on file
 

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

Back
Top