Results 1 to 2 of 2

Thread: Need help with a frameset

  1. #1
    Join Date
    Oct 2008
    Posts
    2

    Need help with a frameset

    So, ive made a frameset with 1 upper row and 2 cols below it, but it is described as a percentage of the web browser in html, i was wondering is there a way to designate the frames by the pixels of the image i want to display rather than a percentage, because with the percentage it looks great on 1 computer and looks like hell on the next one because half the top image is cut off. i am actually looking to make a frameset now that looks like this

    --------------------------------------------------------------------------
    |Top Frame Image Goes HereTop Frame Image Goes HereTop Frame Image G|
    |Top Frame Image Goes HereTop Frame Image Goes HereTop Frame Image G|
    |Top Frame Image Goes HereTop Frame Image Goes HereTop Frame Image G|
    --------------------------------------------------------------------------
    |NavBarNavBarNavBarNavBarNavBarNavBarNavBarNavBarN avBarNavBarNavBar|
    |NavBarNavBarNavBarNavBarNavBarNavBarNavBarNavBarN avBarNavBarNavBar|
    --------------------------------------------------------------------------
    |MainContentMainContentMainContentMainContentMainC ontentMainContent |
    |MainContentMainContentMainContentMainContentMainC ontentMainContent |
    |MainContentMainContentMainContentMainContentMainC ontentMainContent |
    |MainContentMainContentMainContentMainContentMainC ontentMainContent |
    |MainContentMainContentMainContentMainContentMainC ontentMainContent |
    |MainContentMainContentMainContentMainContentMainC ontentMainContent |
    |MainContentMainContentMainContentMainContentMainC ontentMainContent |
    |MainContentMainContentMainContentMainContentMainC ontentMainContent |
    |MainContentMainContentMainContentMainContentMainC ontentMainContent |
    |MainContentMainContentMainContentMainContentMainC ontentMainContent |
    |MainContentMainContentMainContentMainContentMainC ontentMainContent |
    |MainContentMainContentMainContentMainContentMainC ontentMainContent |
    |MainContentMainContentMainContentMainContentMainC ontentMainContent |
    --------------------------------------------------------------------------
    and i want the frames designated space to be defined by pixels, is there some way to do this?

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    Yes; it's quite common to use px for frame sizes in a frameset file.

    <frameset cols="100%" rows="195px, 100px, *" border="0"> means three frames all 100% wide, being 195px, 100px and the remainder of the height.

    See http://www.wickham43.supanet.com/tut...framesets.html
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •