Can CSS be used to provide frame designs? I was using frame set but my IT guy told me to use CSS instead. How do I do that? Thanks
It sounds like your IT guy was just parroting something he heard elsewhere, or he would have given you more useful advice. Frames, and their replacements, are a feature of HTML and XHTML, and are used to layout pages. CSS is a system used to create a visual style for a web page, and may or may not affect layout, depending on how the HTML/XHTML is set up. It sounds like you should probably take a few web design classes to get a handle on this stuff—these are circa 1999 web standards, at this point there’s no reason to be designing a web site without a firm handle on XHTML and CSS.
Hi EC,
read this article by Roger Johansson, why frames shouldn’t be used anymore: Who framed the web: Frames and usability.
And dig right into CSS Frames by the same guy.
Ralfs, Thanks for your feedback!
I need a “frame” or something because I need an outside site to be shown in a specific page w/o actually leaving my site. (Not really about the scrolling part of CSS)
I need users to be linked there (booking engineer) without leaving the site and I’m being honest...I don’t know how to do that. :(
Thanks
“Frames, and their replacements, are a feature of HTML and XHTML, and are used to layout pages.”
Eh...sort of. Frames are used to group multiple pages into one browser view. For the most part, they are bad, and antiquated. (see florian’s post).
As for showing another site within yours, well, that is actually the one main reason to use a frame, so yea, go for it. You might want to use an iFrame for that.
That said, are you SURE you need to trap the other site in a frameset? It’s fine to just link off to that site. And often much preferred by site visitors. Also, external sites can block your ability to load their site in a frameset if they so desire.
Captured from web.archive.org on 27 Jan 2008. view this capture