|
jeepless -> RE: Applying inline styling using fp2003 (11/15/2004 0:30:23)
|
Yes, there IS a way to insert inline styles using the "wysiwyg approach" in fp2003. In fact, there's TWO ways. The first (and easiest) way to do it is called the "Quick Tag Editor" and here's how you use it: 1. In Design View, highlight the text you wish to alter; 2. Press CTRL-Q and the "Quick Tag Editor" window will open; 3. Type your HTML code in that window (eg, "<span style=color:red>") and WITHOUT using any closing tags; 4. Then click on the checkmark symbol, the window will close and your text is modified! FP will automatically close any HTML tags for you (eg, inserts the </span> tag at the end of your highlighted text). The other way to do it is a bit more messy, but it works for any type of markup code (asp, javascript, etc.) and FP will never mess with it. 1. Place your cursor at the beginning of the text you wish to alter - DON'T highlight it, just put your cursor in front of it; 2. Go to Insert Menu | Web Component | Advanced Controls | HTML; 3. A window then opens where you can enter the "markup" code you wish to insert (eg, "<span style=color:red>"); 4. Hit the "Okay" button and FP inserts your code where you indicated (and it will NEVER modify it). 5. Then place your cursor at the end of the text you're modifying and repeat the above steps, except you insert the ending tag (eg, "</span>"). Viola! You've just applied an inline style using the "wysiwyg approach". This second technique is called "HTML Markup Properties" in FP and can be used to insert any type code in your page. The only drawback (other than it's a lot of steps) is that FP will NOT automatically close your HTML tags or fix your code - you will have to do that yourself. Using this technique, FP will also surround your inserted code with <!--webbot--> tags so it knows never to modify what you've just inserted. You will also have to use the Preview window to see the effects since it will not show up in the Design window. For the example you mentioned, I would definitely use the "Quick Tag Editor" since it's much easier and you will see the results in the Design window. Hope that helps!
|
|
|
|