Fork me on GitHub

Theme Width Question  Bottom

  • From what I have read I did what the forums here has mentoned to do so people using any screen resolution can view my site at that.

    function OpenTable() {
    global $bgcolor1, $bgcolor2;
    echo "
    \n";
    echo "
    \n";
    }

    function CloseTable() {
    echo "
    \n";
    }


    When I hit refresh, my site still shows 3/4 across my screen. 1024 x 768 is my screen resolution for now. I recieved an email about this. I usually use 800 x 600 and thought it was ok for everyone. But I was wrong.

    http://www.nexusn2v.com/nexus/726/index.php - @ 1024 x 768
  • You need to look at the first table most likely in the themeheader() function. themeheader is what is responsible for the main layout of your site.

    -Shawn

    --
    Get the Revolutionary AutoTheme HTML Theme System! Currently for Zikula, PHP-Nuke, CRE Loaded, osCommerce and Wordpress!
  • Thanks for the responce. I will have a look and see what I can change in the header. Its weird because a few people are able to view it at full screen and some are not able to.

    Shaun aka virile
  • Did you ever figure this out? I would like to have one set of CSS's for 1024x768 (bigger text) and another set for smaller resolution. This way any user will have a good look at the site and not either tiny text or giant letters.

    Joe
  • No actually I did not. My site looks fine as 800x600. But when someone changes their screen resolution it stays as 800x600 with the difference on the right not showing. Like a gap.
  • I would like any help on this.

    I have a large screen but not everyone does and we want everyone to view it without the scroll bar!

    Any clues

    Moon
  • Check out the above post by Abra - the answer is there...

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • Here is how I changed the width of my theme. The file is located in whatever theme you are using. My file name was theme.html. Here is the code....

    Code

    <HEAD></HEAD>

    <body background="<!-- [image-path] -->back.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <TABLE WIDTH=800 BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center">
      <TR>
            <TD>
                <IMG SRC="<!-- [image-path] -->alienbonetheme_01.gif" WIDTH=340 HEIGHT=160 ALT=""></TD>
            <TD>
                <IMG SRC="<!-- [image-path] -->alienbonetheme_02.gif" WIDTH=110 HEIGHT=160 ALT=""></TD>
            <TD>
                <IMG SRC="<!-- [image-path] -->alienbonetheme_03.gif" WIDTH=350 HEIGHT=160 ALT=""></TD>
        </TR>
    </table>
       
    <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="100%">
      <tr>
        <td align="left" valign="top" width="200">
          <!-- [left-blocks] -->
        </td>
        <td align="center" valign="top">
          <!-- [center-blocks] -->
          <BR />
          <!-- [modules] --></td>
        <td valign="top" align="center" width="200">
          <!-- [right-blocks] -->
        </td>
      </tr>
      <tr align="center" valign="bottom">
        <td colspan=3><a href="http://www.predatorial-tendencies.com" target="_blank"><img src="<!-- [image-path] -->alienbonetheme_42.gif" border="0"></a></td>
      </tr>
    </table>


    The width of the first table is 800 while the width of the second table is 100% which will give you the full width of the screen. The first table is 800 becuase that is the size of the header I am using. It should display properly on all screen sizes and then I have the second table at 100 so the content will always take up the entire screen.

    I hope this helps you out!
    James
    www.e-bassangler.com

This list is based on users active over the last 60 minutes.