Using CSS (Web hosting domain names) class selectors in VWD is a
Using CSS class selectors in VWD is a bit of a pain, because their names don t show up in IntelliSense menus or any drop-downs anywhere. You have to remember the names and type them yourself. For an inline style like the .Mono example, your best bet would be to enclose the text to be formatted in … tags in Source view and specify the class name in the tag, as follows: text to format goes here Note that within the tag you don t include the leading dot, just the name. The class name must be enclosed in single or double quotation marks. You ll need to work directly in Source view to type the tags. But it will be easiest to find the text if you first select that text in Design view. For example, let s say in Figure 6-19 you want to display the sample code LET X = 10 in monospace. First, select that text as shown in Figure 6-19 by dragging the mouse pointer through only that text. To switch to Source view, click the Source button at the bottom of the Design surface. The text you selected in Design view is still selected in Source view, making it a little easier to find among all the other stuff that appears in Source view. Next, click a space just to the left of the first character you want to format, then manually type in the tag, as follows: VWD automatically adds the closing tag right after the opening tag. You need to move that closing tag so that it s after the text to which you want to apply the style. A simple way to do that would be to cut and paste the text so that it s between the two tags. For example, in Figure 6-20 I ve moved the sample code LET X = 10 so it s between the … tags. Figure 6-19: Selecting text in Design view. 118 Part II: Building Your Web Site
Note: In case you are looking for affordable and reliable webhost to host and run your business application check Vision ftp web hosting services