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 5 of 5
  1. #1
    Junior Member
    Join Date
    Mar 2003
    Posts
    18
    Member #
    940
    ok, Im using a photoshop image as my bg, and Im using image mapping over certain parts of the background to link to my content frame. But I dont know how to have a frame in a certain absolute position on the page, and be a certain size restriction or whatever. I was wondering if someone could please help me with the code for putting frames, such as a main content frame where all content will load, overtop of background images, and putting them in an absolute position on the page with a certain size restriction to the actual frame itself. Thanks, I would really really really appreciate the help. Thanks

  2.  

  3. #2
    Senior Member splufdaddy's Avatar
    Join Date
    Feb 2003
    Location
    Boston, MA
    Posts
    4,488
    Member #
    735
    Without seeing the page, I would reccommend trying tables to achieve what you're trying to do. Drop us a link and we'll see what we've got to work with.

  4. #3
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    I would have to agree with splufdaddy. Using tables with fixed widths (the image itself will take care of the height portion) and CSS absolute positioning properties would likely provide you with the best solution, as well as being infinitely more search engine-friendly.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  5. #4
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Try the following:

    Code:
    <html>
    	<head>
    		<title>Frame Fun</title>
    	</head>
    	<body background="bgImage.gif">
    		<table width="100%" height="100%" border="0">
    			<tr>
    				<td align="center" valign="middle">
    					<iframe
    						width="600"
    						height="400"
    						src="main.htm"
    						scrolling="yes"
    						frameborder="0">
    					</iframe>
    				</td>
    			</tr>
    		</table>
    	</body>
    </html>
    If that doesn't work, come back and I'll try something else for ya.

  6. #5
    Junior Member
    Join Date
    Mar 2003
    Posts
    18
    Member #
    940
    hey man, thanx a lot, that last code you gave me worked like a charm, it was exactly what I needed. Thanks a lot man. I'll be back to ask more on other things soon enough, but first I am gonna finish coding this site. I will see everyone later. Thanks a lot transio for the help.


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 05:01 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com