Results 1 to 5 of 5

Thread: Center page

  1. #1

    Center page

    I got a page with lists and I want it centered on the page. I just want the whole list to be centered on the page not the individual list items. Is there away to do this without putting the list in a table?

    Also, I got another page with a table and when I <div align=Center> the table aligns center in FF but not IE. Any ideas?

  2. #2
    try use html tab <center> </center> simple but it can be

  3. #3
    Join Date
    May 2004
    Pflugerville, TX
    Try placing the following in your style sheet:

    ul { margin:auto ; width:###px }

    As long as you're serving a valid doctype, IE will recognize what you're doing and act accordingly.
    Studio1337___̴ı̴̴̡̡̡ ̡͌l̡̡̡ ̡͌l̡*̡̡ ̴̡ı̴̴̡ ̡̡͡|̲̲̲͡͡͡ ̲▫̲͡ ̲̲̲͡͡π̲̲͡͡ ̲̲͡▫̲̲͡͡ ̲|̡̡̡ ̡ ̴̡ı̴̡̡ ̡͌l̡̡̡̡.__Web Design

  4. #4
    There is no reason why <div align="center"> should not work in IE. Thats strange.

    Its much better to use your stylsheet anyway though.
    Feature Rich Web Hosting At Great Prices
    UK Only

  5. #5
    Use <center> in html and then if you just style the rest in css. for example text-align: left; for the content blocks.

Posting Permissions

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