Announcement

Collapse
No announcement yet.

setting page width and centering

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    setting page width and centering

    Hi

    How do I set the width of the site to 800 centered so that there is white space either side of the page? There does not appear to be any settings within Actinic so I was looking at act_primary.HTML, I used dreamweaver to change the table widths to 800 and added a center tag just after the body tag, but although it looks right in dw, using actinic to preview the page, results in the webpage looking unchanged ie 100% width left aligned.

    Any ideas as to what I am doing wrong?

    Thanks
    Pete

    #2
    url please

    Comment


      #3
      Under Design | Options | Site Defaults there is a central table width specified as ACTSTDWIDTH which could be affecting.

      If you are previewing a brochure page this will be as before as these are controlled from Act_BrochurePrimary.html

      As a note you are best centering lyouts using CSS ... wrap the whole page into a #pageWrap div and use margin: 0 auto; in the actinic.css ..... there is an IE hack needed whereby you can text-align: center; the HTML and set the BODY to text-align: left; to avoid the need to re-set any subsequent child divs or selectors


      Bikster
      SellerDeck Designs and Responsive Themes

      Comment


        #4
        Originally posted by pinbrook
        url please
        Sorry the site isnt live yet, I'm just developing it on my local machine

        Comment


          #5
          Originally posted by jont
          Under Design | Options | Site Defaults there is a central table width specified as ACTSTDWIDTH which could be affecting.

          If you are previewing a brochure page this will be as before as these are controlled from Act_BrochurePrimary.html

          As a note you are best centering lyouts using CSS ... wrap the whole page into a #pageWrap div and use margin: 0 auto; in the actinic.css ..... there is an IE hack needed whereby you can text-align: center; the HTML and set the BODY to text-align: left; to avoid the need to re-set any subsequent child divs or selectors
          Many thanks ACTSTDWIDTH was set to 600, this seemed to push the rest of the body outside the 800 width i was setting.

          Pete

          Comment

          Working...
          X