PDA

View Full Version : Need help with a frameset



drakwen
14 Oct 2008, 08:00 AM
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?

Wickham
14 Oct 2008, 08:06 AM
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/tutorial/framesets.html