conditional graphics changes layout tables

T

TB

Hi All:

After creating a page using the layout table feature, I have discovered a
very anoying FP "feature", which I don't how to disable / avoid:

Since FP always attempts to be as WYSIWYG as possible, all the graphics
elements that goes inside your code will mostly likely be displayed, even if
they are contained inside conditional code lines (<%If .... End If%>
statements for example) and therefore might never be visible.

So when I created top menu line consiting of five side-by-side graphic
elements inside one of the cells of my layout table, that cell instantly
changed width in order to "accommodate" another 10 optional graphic
elements, which will never be simultaneously visible, eventhough I specified
the width the cellsin pixels (not as a percentage).

Actually I don't mind losing WYSIWYG capability as long as I can prevent FP
from messing up tables by insisting on displaying all sorts of conditional
elements.

Any advice would be greatly appreciated.

Thanks

TB
 
S

Stefan B Rusynko

You lose WYSIWYG when you add server side coding,
but when it renders in browser from server side it should render correctly
(if your code is correct)

--




| Hi All:
|
| After creating a page using the layout table feature, I have discovered a
| very anoying FP "feature", which I don't how to disable / avoid:
|
| Since FP always attempts to be as WYSIWYG as possible, all the graphics
| elements that goes inside your code will mostly likely be displayed, even if
| they are contained inside conditional code lines (<%If .... End If%>
| statements for example) and therefore might never be visible.
|
| So when I created top menu line consiting of five side-by-side graphic
| elements inside one of the cells of my layout table, that cell instantly
| changed width in order to "accommodate" another 10 optional graphic
| elements, which will never be simultaneously visible, eventhough I specified
| the width the cellsin pixels (not as a percentage).
|
| Actually I don't mind losing WYSIWYG capability as long as I can prevent FP
| from messing up tables by insisting on displaying all sorts of conditional
| elements.
|
| Any advice would be greatly appreciated.
|
| Thanks
|
| TB
|
|
 
T

Thomas A. Rowe

FP is working correctly, you have to view your page in a browser via http to see if you have code it
correctly.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
C

Chris Leeds, MVP-FrontPage

you may want to surround the stuff you're talking about with a "webbot html
markup" tag. this should keep your code out of the mix and off FrontPage's
mind.
you can hit insert/ web component/ advanced/ html and paste your code into
that dialog box.

HTH

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
 
T

Thomas A. Rowe

FP is not modifying TB's code.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
T

TB

That's the generic answer to this issue. However the table / cell widths ARE
changed when entering content which visibly doesn't fit (just like when you
enter a large block letters without any spaces that can generate soft line
breaks.) Please see elsewhere in this thread for other replies.
 
T

TB

Maybe not MY code, but the automatic part (generated by FP) does change, and
that includes the - otherwise excellent - layout table generator.

Anyway, I have found a (probably not very professional) workaround: I have
manually created a single-cell/row table at the top of the page where my top
menu line graphics and code is embedded. This table appears very wide in the
WYSIWIG view inside FP, but it doesn't affect the general layout tables
which I separated from the above-mentioned table by humble <p>. Voila.
 
C

Chris Leeds, MVP-FrontPage

the way I gathered it fp was modifying the code for the table _because_ of
his .asp code.

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
--
 
T

Thomas A. Rowe

Ok, I don't use the layout table component, just the basic table commands and have never had any
problems.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 

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