Question:

Best way to get a Web Page to Load at the Top

by Guest3707  |  12 years, 7 month(s) ago

0 LIKES UnLike

Which is the best way to get a Web Page to Load at the Top? I am a software engineer and need details on this topic.

 Tags: Load, page, top, Web

   Report

1 ANSWERS

  1. Guest6062

     When you cipher your website, confirm to encompass Cascading Style Sheets (CSS) cipher that identifies precisely how your sheets should emerge in a browser window. Most browsers render your sheet so it exhibitions at the peak, but some browsers location a space between the largest issue of the window and the starting of your sheet content. CSS works with your site's HyperText Markup Language (HTML) to command this behavior. Launch your text reviewer program and add CSS cipher to get your Web sheet to burden at the top.

    • Bring up internet sheet in your text reviewer program. Position your cursor between the "<head></head>" components at the top.

    • Type the next CSS for the body rule:

    <style type="text/css">

    <!-- body { margin: ; } -->

    </style>

    The CSS body direct controls your entire page.

    • Type a number in pixels after the margin application to work out how much space seems between the peak of the browser window and your page. Enter a none to get your sheet to burden at the very peak, or kind a favoured number to conceive the space cushion you desire. For example:

    body { margin-top: 0px; }

    • Click the "Open" or "Open File" choice under your browser's "File" list to preview your freshly modified Web page. If essential, adapt the margin setting until the sheet burdens at the peak, as you prefer.

    • Save your file. Your entire CSS cipher examines as follows:

    <style type="text/css">

    <!-- body { margin-top: 0px; } -->

    </style>

Sign In or Sign Up now to answser this question!

Question Stats

Latest activity: 13 years ago.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.