Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Webgenz CMS is repeating whitespace before and after each line of a Macro value. Why?

0
Posted

Webgenz CMS is repeating whitespace before and after each line of a Macro value. Why?

0

[Top] Webgenz CMS is designed to repeat whitespace from a Content File before and after each line of a multi-line Macro value. This is a feature specifically designed to maintain the format and readability of a generated Document. Read more and see an example >. Parameter Passing To Macros [Top] Here’s a simple example of a Webgenz CMS Macro that can be used throughout your site. This is a great example of how you can pass parameters to Webgenz CMS Macros. Most web developers are familiar with using transparent “spacer” GIFs to control the layout of items on a page. With Webgenz CMS, you can create a general purpose Macro for this type of spacer GIF. The Macro would be defined as follows: [@SPACER(@w:1)(@h:1)]: [@] You can call this Macro with a width and/or height parameter to set the width and/or height of the spacer. If you don’t pass in either parameter, the width and height will default to 1. Here are a few examples of

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123