Time for action — overriding the site width setting

  1. Go to Site Designer and click on the Style sheet button on its ribbon. The Style sheet dialog opens as shown:
    Time for action — overriding the site width setting
  2. Select the Apply custom CSS code to my Website checkbox. Then, click inside the textbox that says Add your custom CSS code here.
  3. Delete the text in the box and type
    .MS_MasterFrame { width:980px; }
    

    as shown in the following screenshot:

    Time for action — overriding the site width setting

    Always type the CSS code EXACTLY as shown in the last screenshot. If you miss a semi-colon here or a colon there, the code won't do what it's supposed to do.

  4. Click OK. The stylesheet dialog goes away and you return to Page Manager. Notice that the page in Site Designer is now wider.
  5. Save your work and preview the website. Confirm that the page now appears wider.

    Tip

    If the page doesn't appear any wider, go back and check whether you typed the CSS code EXACTLY as shown, including the semi-colon, the colon, the curly braces, and the blank space between words.

  6. Close the preview window.

What just happened?

You just added a style to your stylesheet that caused it to make your web pages wider. The stylesheet is just one of the features that you can access by activating the Advanced design features, but we'll use it extensively to alter the look and feel of your web pages in Chapter 8.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.22.100.219