We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
html frames on a website?

ipodchick2144
Posts: 42 Forumite
in Techie Stuff
i am at the moment creating a website for my cousins business and i want it to look as professional as possible, i'm thinking frames are a really easy way of doing this, although can anyone tell me where in the html coding do you put the frame codes is it between the body tags or between the head tags?
Thanks:rolleyes:
Thanks:rolleyes:
0
Comments
-
between body tags and some of the frame tags can be before the body tag depending upon what you expect to do - helpful init
frames not a good idea for web development!0 -
Frames are not a way to make a website look professional. That would be CSS.Ubuntu is an ancient African word, meaning: 'I can't configure Debian'.0
-
i find parts of that a little too hard to understand sometimes. Its been years since ive developed a website using html and flash etc0
-
Frames are an old hang up from early web days, and shouldn't be used today, although some people do use them for hidden headers, it's not ideal.0
-
Using frames can be a simple way to produce non public pages for the purposes of admin etc. but they really shouldn't be used for public pages.
There are at least two main problems...
poor search engine ranking
orphan frames (where one of the pages that should be framed gets indexed in place of the frameset. That probably means you've lost the navigation as a typical use would be to have a menu as one of the pages in the frameset.
Both can be overcome but it really isn't the way to go anyway.
If you still want to use frames here is a template...<html> <head> <title>Stats</title> <meta name="ROBOTS" content="NOINDEX,NOFOLLOW"> </head> <frameset cols="120,*" framespacing="0" border="0" frameborder="no"> <frame name="Menu" src="menu.htm" scrolling="no" marginwidth="0" marginheight="0" noresize frameborder="no"> <frameset rows="*"> <frame name="Content" src="report.php" marginwidth="0" marginheight="0" frameborder="no"> </frameset> <noframes> <body bgcolor="WHITE"> Sorry - your browser does not support frames </body> </noframes> </frameset> </html>
===
Forgot to mention - that is a page I don't want indexed (in fact I also use robots.txt to exclude the entire directory it's in) For a public page you'd need search engine friendly stuff in the header and some content in the noframes section.0 -
I agree that frames are old hat now and you'd be better off investing time to use CSS. Once you get the hang of it, you'll never use frames again!!0
-
As has been said, frames have their drawbacks, but for any area of web page writing google can be your friend. It doesn't take long to build up a collection of free tutorial websites which often have working examples.
So if you're stuck on a particular instruction or need the way I use google is to search on things like the following...
HTML div tutorial
or
css div tutorial
or
javascript div tutorial
Then work my way through the results until I find a good site which I then bookmark.
Here's a google search for frames...
google HTML frames tutorialHi, I'm a Board Guide on the Old Style and the Consumer Rights boards which means I'm a volunteer to help the boards run smoothly and can move and merge posts there. Board guides are not moderators and don't read every post. If you spot an inappropriate or illegal post then please report it to forumteam@moneysavingexpert.com. It is not part of my role to deal with reportable posts. Any views are mine and are not the official line of MoneySavingExpert.Never ascribe to malice that which is adequately explained by incompetence.DTFAC: Y.T.D = £5.20 Apr £0.50
0 -
As has been said, frames have their drawbacks, but for any area of web page writing google can be your friend. It doesn't take long to build up a collection of free tutorial websites which often have working examples.
So if you're stuck on a particular instruction or need the way I use google is to search on things like the following...
HTML div tutorial
or
css div tutorial
or
javascript div tutorial
Then work my way through the results until I find a good site which I then bookmark.
Here's a google search for frames...
google HTML frames tutorial
Thank you,i know they can have their drawbacks but i like the idea of them somehow i always have, i like it how the link opens in the frame instead of a new window or refreshing the full window that you are on. My only problem is that ive already sorta made up what i want the homepage to look like now im going to have to change it all about to fit in with frames
gutted! wish i had thought of it before lol. I suppose its easier than having to make a html drop-down menu.
0 -
and in what part of your html code into ur website do you add this code? between the body or head tags?0
-
> now im going to have to change it all about to fit in with frames
Do your cousin a real big favour by not doing that. Believe what everyone here has told you - DON'T USE FRAMES.0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 352.1K Banking & Borrowing
- 253.5K Reduce Debt & Boost Income
- 454.2K Spending & Discounts
- 245.1K Work, Benefits & Business
- 600.7K Mortgages, Homes & Bills
- 177.4K Life & Family
- 258.9K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.2K Discuss & Feedback
- 37.6K Read-Only Boards