chrometweaks.org

Is this a good way to start a iPage web hosting business?

Click Here To View All Answers...


First question I got is Is this a good way to start a iPage web hosting business? Looking forward for any answer or 2. Another quick question... Hi there, I have a site, with a title-frame, a middleframe and a lower-frame..

But the titleframe is not big enough, the logo I want to put in it is not shown completely..

Here's the code.

<html>.

<title>titleframe</title>.

<base target="onder">.

</head>.

<body bgcolor="#204658" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">.

<table width="800" border="0" cellpadding="0" cellspacing="0">.

<tr>.

<td width="516" height="80" valign="top"><img src="Grafisch/banners/gif/Metal/Left.gif" width="516" height="80"></td>.

<td width="52" valign="top"><a href="http:%5C%5Ctvdnlam75%5Cvdi2001%5Clol"><img src="Grafisch/banners/gif/Metal/middle.gif" width="52" height="80" border="0"></a></td>.

<td width="82" valign="top"><img src="Grafisch/banners/gif/Metal/right.gif" width="82" height="80"></td>.

<td width="150"></td>.

</tr>.

<tr>.

<td height="120"></td>.

<td></td>.

<td></td>.

<td></td>.

</tr>.

</table>.

What am I doing wrong?..

Comments (4)

The answer is Yes, however you might want to make sure and wait for another person here to confirm this as I am not completely sure. Better yet, why don't you ask the iPage guys because they can assist you better...

Comment #1

Hi,.

I'm not sure why you're using a table if you want to use frames?.

You WILL need to use the <frameset> tags to set up your three frames. All you need is:.

<frameset rows="25%,60%*"> <! creates 3 frames >.

<frame scr="title.html"> <! logo placeholder >.

<frame scr="middle.html"> <! main placeholder >.

<frame scr="lower.html"> <! bottom placeholder >.

</frameset>.

This sets horizontal frames (rows) for your logo of.

A) 25% of the screen size at the top of the screen,.

B) 60% of screen size for the middle page, and.

C) the asterisk tells the browser to use the remaining space (15% in this case)for the lower frame..

The browser will load the title.html, middle.html and lower.html files into the three frames. If you want to target the middle frame, then name it like this;.

<frame scr="middle.html" name="ongar"> <! main placeholder >.

And your hyperlinks in the other documents will change the content in this frame..

Also,.

A) Try to make sure that your html code is correct (e.g. you have a </head> tag, but no start <head> tag)..

B) Use comments freely to break up your code, so that you (and others) can tell what your code is trying to do. The comments are in the <! > tags..

C) I find using an ID tag to keep track of table cells helps - especially with complicated tables. For example, try.

<tr id="r1>.

<td id="r1c1"></td>.

<td id="r1c2"></td>.

</tr>.

<tr id="r2">.

<td id="r2c1"></td>.

<td id="r2c2"></td>.

I hope that helps, but if not please email and I'll try to assist..

Colin..

Comment #2

I don't think there is anything wrong with using tables inside frames if it helps you achieve the layout that you want, so long as you don't let it get too complicated. Frames are not a direct alternative to tables, in fact they are very different things. They both have their different advantages and limitations, and it is okay to use a combination of both to achieve the layout that you want...

Comment #3

Thanx, I'm beginning to understand the frame codes, but what I do not understand is the source part. e.g. I have build a menu in my middle frame, wich contains buttons, and the target of the buttons should be loaded in the lowerframe, what should I do to achieve that?.

And the other thing I want is to get rid of those borders, I see thick grey lines between them frames, how do I do that?..

Comment #4

Hi again!.

Q1 "the target of the buttons should be loaded in the lowerframe, what should I do to achieve that?".

Use the "target" attribute. For example:.

If you have set 2 horizontal frames like this.

*****************.

<frameset rows="60%,40%">.

<frame src="middleframe.html" name="main" scrolling="Auto" frameborder="0">.

<frame src="lowerframe.html" name="footer" scrolling="Auto" frameborder="0">.

</frameset>.

*****************.

Where the main content frame is called "main" and the lower frame is called "footer", you can write.

Something like.

************.

<body>.

<p>This is the content for the lower frame</p>.

<p>You can use links to <a href="newfile.html" target="footer">load new content</a> into the lower frame.</p>.

</body>.

**************.

And "newfile.html" will load into the frame called "footer". If you leave out the "target='footer'" bit, "newfile.html" will load into the same frame that the links are in..

Q2 "get rid of those borders"? Use 'frameborder="0"' as shown above..

Ok?...

Comment #5


This question was taken from a support group/message board and re-posted here so others can learn from it.