Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Oct 2005
    Location
    O'Fallon IL
    Posts
    1
    Member #
    11599
    Hello,

    I use FrontPage to design..I am having trouble determining how to size my tables so they will fix in a 1280x1024 browser. Currently my settings are on 100% of window, and everything fits nice in an 800x600 or 1024x768, but naturally 100% of window doesn't look so good in the higher resolution.

    Very advanced websites have mastered having their table absolute and aligned to the left or centered, does anyone know how to do this in FrontPage, or if there is some html I can insert somewhere to accomplish this??

    Thank You--

  2.  

  3. #2
    Senior Member MoRpHeUs's Avatar
    Join Date
    Apr 2005
    Location
    UHS-VILLE
    Posts
    139
    Member #
    9568
    well personaly i wouldnt use front page to start with but i will suggest asking pyrodragon about it because he has a script that he could give you to help with your little problem...

    I'm not here for you, I'm here to raise your discomfort

  4. #3
    Senior Member
    Join Date
    Feb 2005
    Location
    Canada
    Posts
    435
    Member #
    8983
    thanks for the refrence morpheus sorry it took me so long i am assumeing you mean the one that hold content in the centre of the page here it is:
    HTML Code:
    <html>
    <HEAD>
    <script type="text/javascript">
    <!--
    function resize()
    {
      var wide = window.screen.availWidth
      var high = window.screen.availHeight
      var maxh = 600 // your max height here; enter 0 if not used
      var maxw = 600 // your max width here; enter 0 if not used
      var content = document.getElementById('content')
      content.style.position = 'absolute'
      if(maxh > 0 && high <= maxh)
      {
      content.style.height = high
      }
      if(maxw > 0 && wide <= maxw)
      {
      content.style.height = high
      }
      if(maxh > 0 && high > maxh)
      {
      content.style.height = maxh
      high = (high - maxh) / 2
      content.style.top = high
      }
      if(maxw > 0 && wide > maxw)
      {
      content.style.width = maxw
      wide = (wide - maxw) / 2
      content.style.left = wide
      }
      // Do not remove line below
      content.innerHTML = content.innerHTML + "<p style='position:absolute;top:95%;width:40%;left:30  %;'>provided by: <a href='http://ls-design.forthelads.net'>liveing_sacrifice</a></p>"
    }
    //-->
    </script>
    </HEAD>
    <BODY onLoad="resize()">
    <div id="content">
    <p>
    All your content would go here.</p>
    </div>
    </body>
    </html>
    lol posted this eariler
    Thee Pyro Wolf

  5. #4
    Senior Member MoRpHeUs's Avatar
    Join Date
    Apr 2005
    Location
    UHS-VILLE
    Posts
    139
    Member #
    9568
    no problem pyrodragon

    I'm not here for you, I'm here to raise your discomfort


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:37 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com