Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Using frames within CSS
Old 06-24-2009, 05:23 PM Using frames within CSS
Junior Talker

Posts: 4
Name: phil
Trades: 0
Hi,

I have question about using frames within ccs.

If we take the following:
<html>
<frameset rows="90, *, 100">
<frame src="menu.html" name="top frame" scrolling="no" frameborder="0" nosize>
<frame src="Home.html" name="middle frame" scrolling="yes" frameborder="0" nozize>
<frame src="bottom.html" name="bottom frame" scrolling="no" frameborder="0" nosize>
</frameset>
</html>

I know the above isn't recomment but I still prefer due to followings:
- All frame including html files being load within specified frame
- Links clicked inside of menu.html, are being open inside of "middle frame" without breaking frame
- External link being clicked inside of home.html leading to pdf file also doesn't break frame example:
<a href ="http://www.somewhere.com/file.pdf" target="middle frame">Winter 2008 news</a>

Now is it possible doing the above using CSS including opening a pdf file still without breaking frame as seen above?

I am fairly new to CSS and we have to make sure coding work on all browser.

Regard
splat44 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-24-2009, 05:26 PM Re: Using frames within CSS
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
I have only one word for you: don't.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is online now
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 06-24-2009, 05:33 PM Re: Using frames within CSS
EricReese's Avatar
Super Talker

Posts: 137
Name: Eric Reese
Location: Maryland, USA
Trades: 0
I have three words for you:

Listen to wayfarer07
__________________
I am 17 years old.Looking for Web Design Job(s). If interested use my
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Funny Line- "I'll Twitter your Yahoo! until I Google all over your FaceBook :D
EricReese is offline
Reply With Quote
View Public Profile Visit EricReese's homepage!
 
Old 06-24-2009, 11:53 PM Re: Using frames within CSS
Junior Talker

Posts: 4
Name: phil
Trades: 0
Ok then I will still continue using frameset then!

Thank for your reply
splat44 is offline
Reply With Quote
View Public Profile
 
Old 06-25-2009, 09:40 AM Re: Using frames within CSS
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
- All frame including html files being load within specified frame
BUT, your load times are going to be longer because you're not loading ONE file, you're loading THREE!

Quote:
- Links clicked inside of menu.html, are being open inside of "middle frame" without breaking frame
There's no reason to use a frame for that, and it's not efficient at all. If you think you're saving bandwidth or something by doing this - you're not.

Quote:
- External link being clicked inside of home.html leading to pdf file also doesn't break frame example:
You still don't need a frame. You could open a PDF in a modal window (like Lightbox), or just let it open as it normally would.

Frames are first OLD, second, they are horrible for accessibility, and last but not least, they are NOT the way to go if you want your site indexed by search engines - the framed pages will NOT be crawled.

I would direct you to these articles:
http://godbit.com/article/why-are-frames-bad
http://www.yourhtmlsource.com/frames/goodorbad.html
http://www.mattheerema.com/web-desig...re-frames-bad/
http://www.search-marketing.info/traps/frames.htm

I think that's enough, though there are plenty more where they came from !
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-25-2009, 10:03 AM Re: Using frames within CSS
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Quote:
the framed pages will NOT be crawled.
Actually, technically the pages are crawled, but each frame becomes an "orphan", not a part of the main content. So each frame is seen as separate content, which is almost as bad as if it is not there.

Even with IFRAMES this is a problem, though there is still some main content (the frame is still an orphan), but if you use a FRAMESET, there will be no main content whatsover - which is absolutely horrible if you want your page to be public.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is online now
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 06-26-2009, 02:48 AM Re: Using frames within CSS
Junior Talker

Posts: 4
Name: phil
Trades: 0
Quote:
Originally Posted by wayfarer07 View Post
Actually, technically the pages are crawled, but each frame becomes an "orphan", not a part of the main content. So each frame is seen as separate content, which is almost as bad as if it is not there.

Even with IFRAMES this is a problem, though there is still some main content (the frame is still an orphan), but if you use a FRAMESET, there will be no main content whatsover - which is absolutely horrible if you want your page to be public.
Well, if I add the following to index file, that shouldn't be a problem!
<html>
<head>
... frameset and ect...
</head>
<body></body>
</html>

Regards
splat44 is offline
Reply With Quote
View Public Profile
 
Old 06-26-2009, 04:11 AM Re: Using frames within CSS
Novice Talker

Posts: 13
Name: Sean Lum
Location: Portland, Oregon, USA, Planet Earth
Trades: 0
frameset = ugly-old-practice.

Reasons:
Bad for SEO (ie no crawling)
complicated linking
its frowned upon in general.
__________________
I'm 17 years old and looking for work.
web/information/graphic Design/SEO/Re-design

Please login or register to view this content. Registration is FREE
Sean Lum Design is offline
Reply With Quote
View Public Profile Visit Sean Lum Design's homepage!
 
Old 06-26-2009, 09:44 AM Re: Using frames within CSS
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
<html>
<head>
... frameset and ect...
</head>
<body></body>
</html>
Horrible.. and wrong, framesets don't go in the <head> section!

In case you're not getting it from the responses here, frames are just bad for so many reasons. Step into the 21st century of web building and use modern techniques.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-26-2009, 11:51 AM Re: Using frames within CSS
angele803's Avatar
Perfectly Imperfect

Posts: 1,772
Name: Stephanie
Location: Oklahoma
Trades: 2
Even when your framed pages do get indexed, it's still bad. What if I search google for something, and one of your "frame" paged comes up. I click on it and all I see is the content of that page (what would normally show up inside a frame on your site). I don't really know what site it belongs to, I don't have any navigation, get confused, and leave. If I found this page and it was not meant to be part of a frameset, you might have gained a new user/customer.
I think everything you want to do is possible without using framesets - aside from loading the pdf. But like other's have mentioned, you can use a lightbox or even let it open normally.
__________________

Please login or register to view this content. Registration is FREE
angele803 is offline
Reply With Quote
View Public Profile
 
Old 06-26-2009, 02:07 PM Re: Using frames within CSS
Junior Talker

Posts: 4
Name: phil
Trades: 0
Quote:
Originally Posted by angele803 View Post
Even when your framed pages do get indexed, it's still bad. What if I search google for something, and one of your "frame" paged comes up. I click on it and all I see is the content of that page (what would normally show up inside a frame on your site). I don't really know what site it belongs to, I don't have any navigation, get confused, and leave. If I found this page and it was not meant to be part of a frameset, you might have gained a new user/customer.
I think everything you want to do is possible without using framesets - aside from loading the pdf. But like other's have mentioned, you can use a lightbox or even let it open normally.
Well, actually there few programs that allow choosing which pages to be spidered or not, including disable right clicking on links.

If spidered is same thing as crawling then I should be on right track.

If lightbox is same as opening link as normal when clicked on and see address bar changing accordingly, then I say forgot it.

Regard
splat44 is offline
Reply With Quote
View Public Profile
 
Old 06-26-2009, 03:19 PM Re: Using frames within CSS
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
including disable right clicking on links.
And WHY would you mess with that functionality ?? All that is is some javascript, which anyone with a brain can disable and resume right-clicking all they want !

Quote:
If lightbox is same as opening link as normal when clicked on and see address bar changing accordingly, then I say forgot it.
Not quite.. maybe you should Google "lightbox" and see for yourself.

You seem determined to ignore all the best practices that we have been pointing out.. so all I can then say to you is "forgot it!"
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-27-2009, 10:13 AM Re: Using frames within CSS
Junior Talker

Posts: 3
Trades: 0
u guys are rocking......

nice tips.....

thanks to everyone for such wonderful tips......
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
downrollings is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Using frames within CSS
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.57648 seconds with 12 queries