How to Align the Text in the Center of an Iframe on IMVU

IMVU -- a social entertainment site where you use three-dimensional avatars to participate in the community -- gives you a profile page with your account. When you add an iframe to your profile, you make it possible for an outside website to display directly on your page. If this third-party page does not load, however, you can make text appear instead. This text is found in the center of your iframe code, which you can horizontally align to fit your page's layout better. Use the tools in your IMVU account to align the iframe text, as you prefer.

Instructions

    • 1

      Point your browser to the IMVU website, and log in to your account. Click your avatar name on the page to bring up your profile.

    • 2

      Click the "Edit" button in the top, right corner of the panel that contains your iframe. Click the "Edit Custom HTML/CSS" option in the drop-down list.

    • 3

      Position your cursor inside the tag, such as <p>, that encloses your text between the <iframe></iframe> tags. The iframe code typically looks like the following example:
      <iframe src="webpage.html" width="300" height="150">
      <p>This is your iframe text.</p>
      </iframe>

    • 4

      Type "style=" and follow this with the "text-align:" attribute. Enter a preferred alignment, such as "center" or "left," after the colon. To illustrate:
      <p style="text-align: center">This is your iframe text.</p>

    • 5

      Click the "Save" button at the bottom of the page. Your iframe text is now positioned on your IMVU page.

Related Searches:

References

Resources

Comments

Related Ads

Featured