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
Need help from sb who knows about frames
Old 05-29-2007, 04:04 PM Need help from sb who knows about frames
jason_bristol's Avatar
Ultra Talker

Latest Blog Post:
New site - ConnectFrench.com
Posts: 312
Name: Jason Eyermann
Location: england bristol
Trades: 0
At work i'm finishing off a site someone else did. It uses frames and I don't know much about frames.
All I what to do is center the contained elements. As the moment they have just been given a left margin which looks rubbish on either v.small or v.large monitor.
Can anybody help me.
And what does the cols="15%,80%" mean?

The code is below

HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>LGV</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
	background-color: #0E2B8D;
}
-->
</style></head>

<frameset cols="15%,80%" framespacing="0" frameborder="no" border="0">
  <frame src="blank.htm" name="blank" scrolling="no" id="blank">
  <frameset cols="800,*" framespacing="0" frameborder="no" border="0">
    <frameset rows="140,*" framespacing="0" frameborder="no" border="0">
      <frame src="menu.htm" name="menu" scrolling="no" id="menu">
      <frame src="lgv.htm" name="info" id="info">
    </frameset>
    <frame src="blank.htm" name="blank" scrolling="no" id="blank">
  </frameset>
</frameset>
<noframes><body>
</body></noframes>
</html>
Thanks jason
__________________

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


Please login or register to view this content. Registration is FREE
jason_bristol is offline
Reply With Quote
View Public Profile Visit jason_bristol's homepage!
 
 
Register now for full access!
Old 05-29-2007, 04:16 PM Re: Need help from sb who knows about frames
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
what does the cols="15%,80%" mean?
It means the 2 columns take up 15% and 80% of the available screen space respectively - or 95% of the total. In that code, blank.htm is being loaded twice, the first would be 15% wide, the 2nd 80%, with the 1st holding a split frameset inside it.
http://www.w3schools.com/html/html_frames.asp

That is one ugly mess of nested frames ! Does it have to stay that way ??
Is that all the code, css and html ?
__________________
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 05-29-2007, 05:26 PM Re: Need help from sb who knows about frames
jason_bristol's Avatar
Ultra Talker

Latest Blog Post:
New site - ConnectFrench.com
Posts: 312
Name: Jason Eyermann
Location: england bristol
Trades: 0
Thanks for that link. I quickly went through the tutorial. Now I understand it. But I still can't think of how to center the middle section.

here's an image of what it looks like

I can't make changes to the frames now because i've only got an hour or two with this site tomorrow morning.
__________________

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


Please login or register to view this content. Registration is FREE
jason_bristol is offline
Reply With Quote
View Public Profile Visit jason_bristol's homepage!
 
Old 05-29-2007, 05:53 PM Re: Need help from sb who knows about frames
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Have you tried doing this in your stylesheet ?

body{
text-align: center; }

Dunno if it'll work.. never tried doing that with frames. Is the site live ?
__________________
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 05-29-2007, 06:28 PM Re: Need help from sb who knows about frames
jason_bristol's Avatar
Ultra Talker

Latest Blog Post:
New site - ConnectFrench.com
Posts: 312
Name: Jason Eyermann
Location: england bristol
Trades: 0
No, that doesn't work. I'll just say it can't be done. The site is live but for various reasons I don't want to put either a reference or link to the site here.
Thanks anyway.
__________________

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


Please login or register to view this content. Registration is FREE
jason_bristol is offline
Reply With Quote
View Public Profile Visit jason_bristol's homepage!
 
Reply     « Reply to Need help from sb who knows about frames
 

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