21 users online (0 members and 21 guests)  


  Results 1 to 4 of 4

Related

  1. Replies: 10
  2. Content Stays Centered on web page.    Forum: HTML Forum
    Replies: 6
  3. Centered Pages?    Forum: HTML Forum
    Replies: 4
  4. Align text to Centered table    Forum: HTML Forum
    Replies: 6
  1. #1
    bailrs's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2003
    Posts
    2

    Having web content always centered

    I know there is a way to make it in Dreamweaver so that if a person resizes their browser, the content is always in the middle....any idea of how to do this? I know i need to make a 1X1 table but after that im stumped.
    Last edited by bailrs; 11-30-2003 at 10:23 PM.

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hi, welcome to the forums.

    I dont use DW, but if you enclose your page with thwe following tags -

    Code:
    <div align="center">
    
    .. all content here...
    
    </div>
    Then it will all be centered.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    bailrs's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2003
    Posts
    2
    thanks for the help

  4. #4
    Scott's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2003
    Posts
    4
    Dreamweaver can sometimes be very ignorant. Open up your properties panel and click the
    __
    ___
    __

    center button before you do anything else on the page.
    if you want to keep it centered its just a matter of hitting return or enter for each line or use your break tag <BR>

    for a table its the same way just highlight the table look at your properties panel and click the center button

    if your properties panel does not show up click crtl-f3 or just go to windows and properties

    one more thing if you ever have the problem of it screwing up the alignment just highlight it and click the center button once more should work



Tags for this Thread