PC Review


Reply
Thread Tools Rate Thread

Bizarre code rewrite (FP2002)

 
 
Dave
Guest
Posts: n/a
 
      13th Apr 2004
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
 
Reply With Quote
 
 
 
 
Jon Spivey
Guest
Posts: n/a
 
      13th Apr 2004
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



 
Reply With Quote
 
Stefan B Rusynko
Guest
Posts: n/a
 
      14th Apr 2004
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>

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Jon Spivey" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
| 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
|
|


 
Reply With Quote
 
Dave
Guest
Posts: n/a
 
      14th Apr 2004
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. )

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
>save


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rewrite code terilad Microsoft Excel Misc 2 9th Apr 2010 09:42 AM
How to Rewrite these Code? hce Microsoft Excel Programming 0 29th Sep 2004 09:33 AM
How to Rewrite these Code? hce Microsoft Excel Programming 1 29th Sep 2004 04:16 AM
How to Rewrite these Code? hce Microsoft Excel Programming 1 29th Sep 2004 03:33 AM
How to Rewrite these Code? hce Microsoft Excel Programming 1 29th Sep 2004 01:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:01 AM.