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.

HTML Forum


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



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 12-13-2005, 08:42 PM From frames to......
lizard dude's Avatar
Super Talker

Posts: 119
Location: France
Trades: 0
Hey on my website, I want to change the way I did it.....I used frames for different parts of my website....and i want to take off the scroll bars but leave only one for the whole website. I've been looking at website's source and found out that of the webmaster used tables (<td>). I've never learned how to do it so can anyone help me change my index?

http://www.benjidela.com


Thanks in advance
__________________
forum------->
Please login or register to view this content. Registration is FREE
, for people who wants to have a good time ;)
website------>
Please login or register to view this content. Registration is FREE
(might be in construction :D)
Hope you have a great time and that my post is helpfull ;)
lizard dude is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-14-2005, 10:00 AM
Ultra Talker

Posts: 251
Location: Belgium, Antwerp, Zoersel
Trades: 0
Quote:
i want to take off the scroll bars but leave only one for the whole website
Now that's something I don't understand. What do you mean, you want to take off the scrollbars but keep only one for the whole site? Only one what? Scrollbar? But then you don't want to take them away.
__________________

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
Orodreth is offline
Reply With Quote
View Public Profile Visit Orodreth's homepage!
 
Old 12-14-2005, 10:19 AM
Extreme Talker

Posts: 170
Location: Canada
Trades: 0
Could you be more clear? I don't understand quite what you mean...
__________________

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



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

Last edited by collyer_1; 12-14-2005 at 10:23 AM..
collyer_1 is offline
Reply With Quote
View Public Profile Visit collyer_1's homepage!
 
Old 12-14-2005, 11:03 AM
lizard dude's Avatar
Super Talker

Posts: 119
Location: France
Trades: 0
Well I have two scrollbars cuz of the frames......I only want one next to my website and none onthe website like on my links except for the lil news box.....
I hope this is more clear...

http://www.benjidela.com
__________________
forum------->
Please login or register to view this content. Registration is FREE
, for people who wants to have a good time ;)
website------>
Please login or register to view this content. Registration is FREE
(might be in construction :D)
Hope you have a great time and that my post is helpfull ;)
lizard dude is offline
Reply With Quote
View Public Profile
 
Old 12-14-2005, 01:21 PM
Extreme Talker

Posts: 170
Location: Canada
Trades: 0
You need to remove the percentages and clean up your code a little bit. If you want to remove the scroll bars from your frames have a look at this bit of code here:

HTML Code:
<html>
	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">">
<head>
</head>
<title>Index</title>

<frameset rows="175px,*" FRAMEBORDER=NO FRAMESPACING=0 BORDER=0>
	<frame src="logo.htm" name="logo" scrolling="no" >
	<FRAMESET COLS="170px,*" FRAMEBORDER=NO FRAMESPACING=0 BORDER=0>
	<FRAME SRC="links.htm" NAME="menu" scrolling="no" noresize>
	<FRAME SRC="content.htm" NAME="mainframe" scrolling=auto >
</framset>

<body>
	<noframes>
	<h1>Please use a browser that reads frames...</h1>
	</noframes>
</body>
</html>
Though your code pretty much works, you need to modify the locations of your tags a little bit. You'll notice that I changed the width of your frames to better fit the content as opposed to being sized according to the monitor resolution. Just make sure that your content files are skinnier than 830px. This way you will avoid having a horizontal scroll bar.

I hope this is what you were looking for. If not please PM me.
__________________

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



Please login or register to view this content. Registration is FREE
collyer_1 is offline
Reply With Quote
View Public Profile Visit collyer_1's homepage!
 
Old 12-14-2005, 10:24 PM
lizard dude's Avatar
Super Talker

Posts: 119
Location: France
Trades: 0
Ok thanks
__________________
forum------->
Please login or register to view this content. Registration is FREE
, for people who wants to have a good time ;)
website------>
Please login or register to view this content. Registration is FREE
(might be in construction :D)
Hope you have a great time and that my post is helpfull ;)
lizard dude is offline
Reply With Quote
View Public Profile
 
Old 12-16-2005, 02:36 AM
lizard dude's Avatar
Super Talker

Posts: 119
Location: France
Trades: 0
Is there anyways we can do the same with CSS or Tbles?(<td> codes etc)????)
__________________
forum------->
Please login or register to view this content. Registration is FREE
, for people who wants to have a good time ;)
website------>
Please login or register to view this content. Registration is FREE
(might be in construction :D)
Hope you have a great time and that my post is helpfull ;)
lizard dude is offline
Reply With Quote
View Public Profile
 
Old 12-20-2005, 10:35 PM
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
You can accomplish the same effect as the frames using either tables or css.

To use a table based layout you would want to create one table that matches the layout for your frames.

HTML Code:
<table>
 <tr>
  <td colspan="2">Place your logo.htm html code here</td>
 </tr>
 <tr>
  <td width="25%">html for links.htm here</td>
  <td>html for content.htm here</td>
 </tr>
<table>
You'll also need to move all your scripts and css into the new file. You'll no longer need separate files for logo.htm, links.htm, and content.htm.

Some of your body attributes like bgcolor and color can easily be added to your css:

body {background-color:#000000; color:#c0c0c0}

You can also use css though it can be a little bit more complicated if you're not familiar with css positioning. The easiest way I think would be to wrap the code for each of the three frame pages (logo.htm, links.htm, content.htm) and then position each of the three divs. Your html would look something like:

HTML Code:
<div id="logo">
 html for logo.htm
</div>
<div id="links">
 html for links.htm
</div>
<div id="content">
 html for content.htm
</div>
and your css might be:

div#logo {position:absolute; top:0; left:0}
div#links {position:absolute; top:200px; left:0}
div#content {position:absolute; top:200px; left:300px}

I'm guessing at the values for the top and left positions. You'll also naturally want to add your scripts and any other css to style the background color and the color of the text above.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 12-22-2005, 01:30 AM
Novice Talker

Posts: 14
Trades: 0
table are really simple if you know how to use them. Go to my site and look at the code and you'll see how easy it is. Especially if you have a program like Dreamweaver by Macromedia.
Daygon is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to From frames to......
 

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