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
How to make frame site with CSS code
Old 04-26-2010, 08:01 PM How to make frame site with CSS code
Skilled Talker

Posts: 67
Trades: 0
Could anyone show how to make frame side with css code?
Thanks in advance
mikibaga is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-27-2010, 01:26 AM Re: How to make frame site with CSS code
Marik's Avatar
Skilled Talker

Posts: 99
Trades: 0
Using frames to make sites is a practice remnant of the early days of html and is typically discouraged. The only time using frames is a good idea (that I can think of at the moment) is when you want to load another website and have your own banner appear at the top, like what google images does for example:

http://www.google.com/imgres?imgurl=...26tbs%3Disch:1

When you are trying to achive something like this, the following code can be used:

HTML Code:
<frameset rows="60,*" border="0">
    <frame src="topFrame.html" frameborder="0" name="sdnav" noresize="noresize" marginwidth="0" marginheight="0" scrolling="no" />
    <frame src="http://www.yahoo.com" frameborder="0" name="sdmain" noresize="noresize" marginwidth="0" marginheight="0" scrolling="auto" />
    
    <noframes>
            <p>Sorry, your browser doesn't seem to support frames</p>
    </noframes>

</frameset>
In this example, you will have to create a file called topFrame.html and in it you will create your banner code. The frame at the bottom will load the example site yahoo.com.

Now as for CSS, that can be used to style your frame but as a language it can't do much else.
Marik is offline
Reply With Quote
View Public Profile
 
Old 04-27-2010, 10:02 PM Re: How to make frame site with CSS code
Skilled Talker

Posts: 67
Trades: 0
I want totally all css codes, does anyone know it?
mikibaga is offline
Reply With Quote
View Public Profile
 
Old 04-28-2010, 02:32 PM Re: How to make frame site with CSS code
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
If you want to do a site with css, go for it, but doing it with frames and css is not going to work very well. Forget the frames, they are not a good solution.

Why do you want moldy old frames in the first place?
__________________
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 04-28-2010, 04:38 PM Re: How to make frame site with CSS code
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,376
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by mikibaga View Post
Could anyone show how to make frame side with css code?
Thanks in advance
You can't!

Frames are HTML document layout elements and CSS is used to style HTML elements.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to How to make frame site with CSS code
 

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.24810 seconds with 12 queries