Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 8 of 8

Thread: How to set fixed pixel width of table across site?

  1. #1
    neoelectrex
    Guest


    Default How to set fixed pixel width of table across site?

    I want to set the entire site table to be fit at exactly 950 pixels, how can I do this globally? Meaning, so I don't have to manually edit all 200 or so (complete guess) php pages.... Is this possible?

  2. #2
    osCMax Development Team

    How to set fixed pixel width of table across site?

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,137
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    96


    Lightbulb Re: How to set fixed pixel width of table across site?

    Might be best if you start here:
    http://wiki.oscdox.com/install_a_new_template
    Then you should see which file to make a change to (hint: look at a fixed width template)

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

  3. #3
    osCMax Development Team

    How to set fixed pixel width of table across site?

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,137
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    96


    Wink Re: How to set fixed pixel width of table across site?

    Quote Originally Posted by neoelectrex View Post
    ...manually edit all 200 or so (complete guess) php pages....
    Add a zero and add half again then your getting close...

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

  4. #4
    osCMax Development Team

    How to set fixed pixel width of table across site?

    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,517
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    pgmarshall     $ 35.00
    Rep Power
    77


    Default Re: How to set fixed pixel width of table across site?

    This is a feature in v2.1 but if you want to do it in v2.0.25 then simply edit your template main_page.tpl.php to make the main table that wraps around all the content 950px wide.
    pgmarshall
    _______________________________

  5. #5
    osCMax Development Team

    How to set fixed pixel width of table across site?

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,137
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    96


    Exclamation Re: How to set fixed pixel width of table across site?

    Quote Originally Posted by pgmarshall View Post
    ...edit your template main_page.tpl.php ...
    The important bit!

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

  6. #6
    neoelectrex
    Guest


    Default Re: How to set fixed pixel width of table across site?

    Thanks for the replies. I'll look into it tonight and report back

  7. #7
    neoelectrex
    Guest


    Default Re: How to set fixed pixel width of table across site?

    Ok, which main_page.tpl.php ... do I edit, and how do I select a template ?

  8. #8
    osCMax Development Team

    How to set fixed pixel width of table across site?

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,137
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    96


    Lightbulb Re: How to set fixed pixel width of table across site?


    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

Similar Threads

  1. fixed-width-container
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 06-15-2007, 07:01 AM
  2. fixed-width-container
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 04-16-2007, 11:50 AM
  3. fixed-width-container
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 03-27-2007, 05:50 PM
  4. fixed-width-container
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 02-24-2007, 11:02 AM
  5. fixed-width-container
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 02-24-2007, 11:02 AM

Bookmarks

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
  •