Results 1 to 6 of 6

Thread: How i make my page center

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    4

    Default How i make my page center

    I did a website,
    I want make my web center of my IE..
    any code in HTML? or We did in CSS??

  2. #2
    Join Date
    Jan 2006
    Location
    United States
    Posts
    20

    Default Here is the code

    You can simply make your site in the center of the browser. In HTML you can use the table and you have to use the table's attribute like align=center.

    Here is a simple code.
    <html>
    <head>
    <title> Your personal site</title>
    </head>
    <body>
    <table align=center width=100% height=100%>
    <tr>
    <td>Design the page as you like.</td>
    </tr>
    </table>
    </body>

    I think you will do this.

  3. #3
    Join Date
    Feb 2005
    Posts
    41

    Default

    by useing css :

    <div style="width:xxx px;margin-left:auto;margin-right:auto">

    something here

    </div>

  4. #4
    Join Date
    Jan 2006
    Location
    Nebraska, United Stats of America
    Posts
    199

    Default

    Really just find what everything is under, normally its either a table or something.

    and if it says <table align= left or not even an align code, just add it in there and put align="center" and everything should go into the center.

    If you use frontpage or dreamweaver just highlight everything using design view and then push the center button.

  5. #5
    Join Date
    Feb 2006
    Posts
    100

    Default

    whatever your editor is, all you have to do is highlight the entire table and click on center button, that should do the trick.just like what ancient coder said.

  6. #6
    Join Date
    Feb 2006
    Location
    India
    Posts
    57

    Default

    Hello Khmer,

    The information posted here is all you need since it covers almost all ways.

    If you still havent been able to do it then visit my website www.dreamsonline.net and see whether you want anything like that. Then I would be able to help you in creating a site like that.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •