PDA

View Full Version : dreamweaver and frames...help ????



kamello
May 20th, 2002, 08:46 AM
Please someone help me, I'm running out of time.
I have 5 horizontal frames, the top and bottom are empty they are there just as buffer frames to center and keep together the 3 middle frames on every resolution. The 3 middle frames stay together just fine but not centered, either on the top os the screen or at the bottom when I change resolutions. 800 by 600 is centered and at 1024 it moves up to the top screen.

top and bottom frames are on % the 3 center ones are pixels.

HELP please

www.thestudentcompany.net

Phil Jayhan
May 20th, 2002, 09:51 AM
When your in dreamweaver, the tables give the biggest difficulty. It sounds as though you are speaking of tables and NOT frames, ( I just tried to layer 5 frames in one box and Dreamweaver wouldn't allow it) is that correct? Try this, they seem to have a mind of their own, take your cursor and move it to the very edge of the left of the tables giving problems. Clicking anywhere but than to the left will not bring up the boxes you need. Click until the properties box shows the horizotal and vertical boxes. Change the respective box to center, middle or whatever. Be careful as using this function for text or anything will affect other stuff too, just be aware it is a little quirky in my opinion. Did that help?

pj
:)

Ooops-I just tried that frame stack thing again and could do it. I am sorry I cannot help you. I tried.

fonky monkey
May 20th, 2002, 12:57 PM
view this (http://users.telenet.be/sven.boets/kirupa/thestudentcompany2.html)
it works

this the html code

<frameset cols="*" frameborder="0" border="0">
_ _ _ _ _ _ _ _ <frameset rows="*,165,165,165,*">
<frame src="5.asp" scrolling="NO" name="topFrame">
<frame src="4.asp" scrolling="NO" name="mainFrame">
<frame src="3.asp" scrolling="NO" name="topFrame1">
<frame src="2.asp" scrolling="NO" name="bottomFrame">
<frame src="1.asp" scrolling="NO" name="bottomFrame1">
_ _ _ _ _ _ _ _ </frameset>
</frameset>

you just have 2 change the hight of the frame rows and done

Greetzzz

kamello
May 20th, 2002, 03:14 PM
do I still leave top and bottmo frames with porcentage heights ?

Phil Jayhan
May 21st, 2002, 02:34 AM
Kamello-
I was thinking about this today and was wondering what was preventing you from doing this, check out the template I made; This is a single table that should be able to serve all your needs and it is ultra simple, takes the hassle out-

user.mc.net/~dschultz/Kamello.cfm (http://user.mc.net/~dschultz/Kamello.cfm)

I hope this is helpful-
pj
:D

fonky monkey
May 21st, 2002, 03:43 PM
HTML Comments are not allowed
gdmn

if you use the frameset thing like i display it here
i'll leave the <> for mr forum

frameset cols="*" frameborder="0" border="0"
frameset rows="*,164,165,165,*"
frame src="5.asp" scrolling="NO" name="topFrame"
frame src="4.asp" scrolling="NO" name="mainFrame"
frame src="3.asp" scrolling="NO" name="topFrame1"
frame src="2.asp" scrolling="NO" name="bottomFrame"
frame src="1.asp" scrolling="NO" name="bottomFrame1"
/frameset
/frameset

you just change the "164,165,165" in the heights you need for the frames
leave the 2 "*" at the front & end
this way your browser will split the remaining space in 2 and place it in the upper and in the lower frame so that the 3 middle frames are centered
e.g. browser-height (800)-frame-heights(164)-(165)-(165)=306 -- 306/2=153
frame1 height=153
frame2 height=164
frame3 height=165
frame4 height=165
frame5 height=153
et voila