Use multiple styles on the Item Text
Enrich the layout of your text!
Question:
Is there a way to use multiple styles to format the Item Text?
Answer:
The text next to an image can be formatted in any way by using standard formatting (Bold, Italic, Underline) or by using CSS Styles. Unfortunately this cannot be done in Dreamweaver's Design View.
To format the item text within the Sliding Billboard with regular formatting, switch to Code View and select the text that needs formatting. Choose Format, Style in the menu and select the preferred style.
Item text can also be formatted using CSS Styles. First make sure the style(s) to be used, were created in the CSS file for the chosen style, or in a new custom CSS file. If a custom file is created, this neds to be included in the page that holds the Sliding Billboard. Next switch to Code View and find the text that needs formatting. Enter the following code before the text: <span class="yourcssstyle"> and this code after the text: </span>, where yourcssstyle should be replaced by the style that was created.
The complete code should look like this:
<span class="yourcssstyle">Text to be formatted</span>
Save and upload the page and view it on your server. If a new CSS file was created, make sure this is uploaded to the live server as well.
Comments
Be the first to write a comment
You must me logged in to write a comment.