-
Hi
I'm more of a flash person than an HTML person, so i need your help..
Simple really.. I m using dreamweaver right? Well, about the frames thing, i cant seem to figure out how to centralize my 'body' frame? You know like a lot of website nowadays, they have a 'body' frame (in the middle, main content area) w/c is absolutely in the center.. and the scroll bars too.. I tried to mimic that, but somhow, the SCROLLBARS for the body frame are on the right-most area of the screen...
Also, since the frames adjusts automatically depending on the resolution and 'window' size, the head frame kinda dis aligns itself from the body frame..
The point in all this is that, I need to use a separate frame for the main content area (middle) from the head and side navigation.. and I NEED TO KEEP EVERYTHING ABSOLUTELY CENTERED.....
HOW??????
Thanks
-
This might be an iframe, you can learn about these at webmonkey http://hotwired.lycos.com/webmonkey/...l?tw=authoring
-
here is a code that I created myself...I was going for the same effect once...just to let you know it took me a while to get it just right...hopefully you can put it to good use.
I'm not sure if this is what you mean, but this html code should work. "middle.html" would be the very center of the page. You can customzie it in Dreamweaver. If you need more help, just ask. :)
Code:
<html>
<head>
<title>Frames!</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="*,325,*" cols="*,425,*" frameborder="NO" border="0" framespacing="0">
<frame name="topleft" scrolling="NO" noresize src="blank.html" >
<frame name="topleft" src="blank.html" scrolling="NO" noresize>
<frame name="topleft" src="blank.html" scrolling="NO" noresize>
<frame name="topright" src="blank.html" noresize scrolling="NO">
<frame src="middle.html" name="midleft" scrolling="NO" noresize>
<frame src="blank.html" frameborder="NO" name="centerright" scrolling="AUTO" noresize>
<frame src="blank.html" name="midright" noresize scrolling="NO">
<frame src="blank.html" name="bottomleft" scrolling="NO" noresize>
<frame src="blank.html" name="bottomleft" scrolling="NO" noresize>
<frame src="blank.html" name="bottomright" scrolling="NO" noresize>
<frame src="blank.html" scrolling="NO" name="bottomright" noresize>
</frameset>
<noframes><body bgcolor="#FFFFFF">
</body></noframes>
</html>
-
Sup rafiki55
Your code was nice.. it was close to what I wanted...
However, I CANT TAME THE TOP FRAMES!!! topleft right and middle.. My header flash goes out of range or disaligned fromthe middle..
YOu see, the design im trying to achieve is like 2advances'
realty bid:
http://www.realtybid.com/flash_index.cfm
(needs flash)
it is sooo neat!
any leads???
-
I'm not quite sure what you mean... I see 2advances site..what they do is have the right frames resize and all the other frames always stay the same size.
(so everything is aligned left witht the right frames "*" and all the other frames set to a certain # of pixels. Is this what you want?
If you had a sample site, that would really help.
-Robert
-
HI
I kinda got it already.. it's a bit different from your script.. the problem is, THE FRAMES WONT STAY PUT!
Check it:
http://teaconcepts.net/tests/frames/index.htm
I had everything set to NO RESIZE, but the middle part still moves/resizes.. could ya give it a check?? I cant make the middle part stay FIXED.. (I think the batch i uploaded had some html's set to resize.. I've been experimenting..)
TNx