WEB DESIGN - Can CSS be used to provide frame designs?

Primary tabs

10 posts / 0 new
Last post
EC's picture
EC
Offline
Joined: 10 May 2007 - 1:19pm
WEB DESIGN - Can CSS be used to provide frame designs?
0

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

TG's picture
TG
Offline
Joined: 8 May 2003 - 2:39pm
0

Instead of of frames you can us DIVs. The content of DIVs can be scrollable, the DIV can have a fixed position and so on.

Ralf

Blank's picture
Offline
Joined: 25 Sep 2006 - 2:15pm
0

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.

Florian Hardwig's picture
Offline
Joined: 18 Feb 2007 - 6:41am
0

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.

EC's picture
EC
Offline
Joined: 10 May 2007 - 1:19pm
0

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

EC's picture
EC
Offline
Joined: 10 May 2007 - 1:19pm
0

Thanks Florian Hardwig!

TG's picture
TG
Offline
Joined: 8 May 2003 - 2:39pm
0

I need an outside site to be shown in a specific page w/o actually leaving my site.

That's not possible without frames!
You may try using an iframe or a popup window.

Ralf

EC's picture
EC
Offline
Joined: 10 May 2007 - 1:19pm
0

Thanks again Ralf!

Alaskan's picture
Alaskan (not verified)
0

Hey Ralf -

No offense, but you're not looking too butch with that heart on your head. You look like you're soliciting valentines.

Too bad the icon doesn't appear below your avatar rather than on it, huh? Just a thought.

AK

darrel's picture
Offline
Joined: 4 Feb 2003 - 6:03pm
0

"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.