HTML - Center Frames
I am trying to center a frame set (I know we should not use them) I have read so much on this and it appears I should use a dummy page to center the frames but I cannot get this to work, particulary the top frame will not move.
This is the existing code but the pages appear top left instead of in the center: <FRAMESET ROWS="78,*"> <FRAME NAME="top" SRC="parent/top.htm" ID="top" SCROLLING="NO" NORESIZE MARGINWIDTH="2" MARGINHEIGHT="2" FRAMEBORDER="0" NORESIZE> <FRAMESET COLS="172,*"> <FRAME NAME="menu" SRC="parent/menu.htm" ID="menu" SCROLLING="AUTO" NORESIZE MARGINWIDTH="10" MARGINHEIGHT="10" FRAMEBORDER="0" NORESIZE> <FRAME NAME="main" SRC="recruit/recruit.htm" ID="main" SCROLLING="AUTO" NORESIZE MARGINWIDTH="5" MARGINHEIGHT="10" FRAMEBORDER="0" NORESIZE> </FRAMESET> </FRAMESET> If anybody can help it would be appreciated Paul Similar TutorialsOk, I searched the forum and cannot find a solution for my problem. If you could please help my by suggesting what to do or pointing me to a similar topic. I HAVE to use frames: helping dad with his website - he wants to keep his frames, he likes them. I have two of them - top and bottom one. The top one holds a banner and a short, horizontal menu (no scroll), the length of the bottom one wary depending on the content, so it's "scrollable". I do not know how to deal with FireFox pushing the bottom frame left after adding the scroll bar: At the same time IE keeps it nice and centered. The code for the index file is as follows: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <html> <head> </head> <frameset rows="203,*" frameborder="no" border="0" framespacing="0" > <frame src="home1.htm" name="top" scrolling="No" noresize="noresize" title="top" target="middle" > <frame src="index2.htm" name="middle" title="middle" target="middle"> </frameset> <noframes> <body> Info on using frames </body> </noframes></html> To center the table I use for the bottom (called "middle") frame I use a <center> tag: Code: <body> <center> <table> <tr><td>Long long text...</td></tr> </table> </center> </body> I was reading somewhere that this is an outdated solution, but that's how I was able to deal with that. Any suggestions on how to center the bottom frame in FF? Hi.. is there any possibility to do something like on that screen pictu http://www.speedyshare.com/387574283.html i mean a page layout with two frames, both aligned to the center of the page ? plz help :/ thx in advance I've heard many times "don't use frames, there is better ways to accomplish it", and I was wondering, is this just referring to "invisible" frames, or any frames? For example, look at Kingdom of Loathing. They use frames (or what appears to be frames) and I can't see how they could successfully make that site without. If I had to have all the screens scroll as one rather than separate, and couldn't resize when I needed to, it would be extremely annoying. So, frames are bad, or just the invisible ones? hi i was wondering with my site using frames if one of the pages is loaded in to a internet exploer is there any way i can make it redirect to the index page so it is back in the frame and the user has navagtion thanks so I am making a new webpage at http://www.geocities.com/manic.panicd I am wondering what the link code is for frames. When i click on "you" or "site", etc...I want it to open up in the main frame part of my layout. For an example of how im running into trouble. Check my webbie and click on the mini piece of lined paper in the "The Girl" section. How do i link properly? hey last time i made a website was a few years ago, now a days, do people use frames? how is a website like hostmonster.com (my host) made? does that website have a frame? or did they something like css(which i have no clue what it is) Thanks guys, so far this forums has been helpful. Alright here is my problem. I have a website that is runned using frames and I have another site that wants to link to a specific page on my site. Is there a way an outside website can link to the frame on my site I was wondering how to do frames to set up well anyways if you can help me that would be great Alright so I am using macromedia dreamweaver building a website and I have set up my page so that there is a menu on the left side using a frame. Now when I make links using the text in the frame, it opens the new page in that frame which is not what I want. Ideally I would like it to open in another frame and keep the menu bar frame on the left side. So i guess that makes my question two part. How do I link a page from a frame into either a whole new page or in another frame keeping the original menu frame there? if this doesnt make sense i can try to re-word it or try and show you my problem. thanks Hi guys, I have a couple of sites done over the last while and, whilst they work well enough, I want something like frames. I have resisted using them because everything on the net about it seems to be bad. The problem is that I have a 'template' which is the same for almost every page on the site (logo, search bar, top navigation bar, side navigation & footer). If I want to change anything in this 'template', I have to go and change it on every single page. This is OK on a couple of pages but I have nearly 20 now and it seems ridiculous! So how should I be doing it? What I really want is to have the 'template' in just one place so that I change the one file and it then applies to all my pages. I am self taught and really only know html/css with a very limited knowledge of javascript. Thank you I have a page that has a few images with links to differnet sites and I want them to link to another page with a frame at the top that shows the same inages that are smaller and the page of the website below it. I know how to do frames but I dont want to create a different page per link. (In short I want to have a link to a website open in another page with frames) Here is a basic idea for the front page http://www.techmatefl.com/pcp/ Here is the second page with the icons and the blank area is where I want the different sites that you choose to show http://www.techmatefl.com/pcp/site.html So it will be like a google image search in a way. Let me know if there is a way to do this with HTML, JS, or anything else. Hey, http://www.artistrichardcook.co.uk/src/ - here is the start to a website I am making for my art college which exists of two frames. A left (with the links) and the main frame (with the content). Simple. However, due to it being a frame and the obviously long list of links, when my browser is smaller than usual you can't see the bottom of the links. I know I could add a scrollbar to the frame but it looks pretty awful. My screen is a 17" laptop and the number of people at college viewing this will have smaller laptop screens and this is my problem. Basically, was there anyway to make both the left frame scroll as you scrolled the main frame as in linked? So the scrollbar would exist for both the frames rather than just one or the other? Sorry if this doesn't make sense but I'm not sure how else to put it. I would appreciate any help Thanks, Rich I have three frames: -Header -Menu -Content On -Menu, I'm using drop down menu. This is were my problem occurs. All the options don't show up. So I was just wondering it is possible to overlay the -Menu frame over the -Content frame? Any other method to try and get around this problem? Thanks. Hey, so forgive me for being a bit of a newbie. Anyway, I started writing this website using frames without realizing they were deprecated. On the left side of my page I have a frame which has a menu of buttons where I've got javascript/jquery allowing the buttons to be hidden and shown in a collapse/expand sort of way. Clicking on the buttons also enables the page on the right frame to change. I like that this allows me to load a new page on the right but not reload the page on the left. Is there a way for me to not use frames but keep this left/right independence? Hey can someone help me do something like a frame but where you could add backrounds something like this ___________________________________________________ | Insert | | Text | | and | | back | | round | | here | | | | | Hi, First time posting... I have a site that contains frames and I am applying IDs to the tables and providing links above to move further down the page but it also moves the outer frame but I would like the outer frame to remain still and for the link to scroll to the right place in the page in the inner frame. Is this possible? Thanks. Hey everybody! I have a website on a three row frameset (top,body,bottom). I've created a separate frameset for each page on my site. But is becoming a bit annoying. I want to know if it's possible to click on a link, from my main page and have that open one frameset with the same Top and Bottom but, depending on the button I click, is the page that appears as the body. I hope that's clear, I'm a newbie. I'll really appreciate if there are any ideas on the matter. Thanks!!! Cheers! Hello, I have nearly finished my website now and feel I just have one thing left to complete it and be satisfied. I'd like to change my FAQ page and I think maybe using frames is the answer. Instead of the whole page scrolling down I'd like the page to be static with just the info scrollable. See my page here ozlotteriesonline.net/faq.html You will notice the rest of my site is fine because I have managed to put the information within the limits of the container but the FAQ doesnt fit. Just a couple of questions, How do I do it? Are there any negative side effects of having frames? Thanks in advance. Hi I need a page that has six eqaually sized frames displaying different sites with a scroll bar on each and no border. How would i do this Thanks |