Set the direction of a Web page or Web page controls

Microsoft Office Excel 2003

  • Do one of the following:
    • Before publishing a new Web page, set the direction of the worksheet to match the desired direction of the Web page. A new Web page will automatically assume the direction of the worksheet on which it is based.

    • For a published Web page that is running in a browser, do one of the following:

      • Edit the HTML source directly as text. On the View menu, click HTML Source, and then modify the <HTML> element to <HTML DIR=RTL> for a right-to-left page direction, or to <HTML DIR=LTR> for a left-to-right page direction.
      • Use an HTML editor that exposes document properties in a properties window— such as the Microsoft Script Editor— to change the Dir property setting (LTR or RTL) of the Web page at the beginning of the <HTML> element. Click Properties Button image, click the perimeter of the Web page until the document properties are displayed, click the All tab if available, and then change the Dir property setting to the Web page direction you want: either RTL or LTR.

ShowSet the direction of a control on a Web page

  • Do one of the following:
    • Before publishing a new Web page, set the direction of the worksheet to match the desired direction of the control. A new control will automatically assume the direction of the worksheet on which it is based.

    • For a published Web page, do one of the following:

      • For the Microsoft Office Web Component controls    You can set the direction of the control either in the browser or by opening the Web page in a design program such as FrontPage or Access data access page Design view. Click the Command and Options button on the toolbar to display the Command and Options dialog box.
        • For a Microsoft Office PivotTable control, select or clear the Display right to left check box in the General Options group on the Behavior tab.
        • For a Microsoft Office Spreadsheet control, select or clear the Display right to left check box in the Show/Hide group on the Sheet tab.

        • For a Microsoft Office Chart control, right-to-left appearance can be achieved using standard chart format options so an additional right-to-left direction setting is not available.

        • For information about activating the controls, see Help in the design program. For information about displaying the toolbar and using the Command and Options dialog box, see Help for the control when the control is activated in the design program or the browser.
      • For intrinsic browser controls    For controls that are used when publishing static Web pages (that is, pages without interactivity), edit the HTML source code directly as text. Or, you can use an HTML editor, such as the Microsoft Script Editor, to expose control properties in a properties window and change the Dir property setting (LTR or RTL) of the control.
      • For an ActiveX control that is added separately    Edit the HTML source directly as text, or use an HTML editor— such as the Access data access page Design view or the Microsoft Script Editor— to expose control properties in a properties window and change the RightToLeft property setting, or equivalent (typically True or False).