Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help me with my frames page please. 1

Status
Not open for further replies.

TheHobbit

Technical User
Jan 13, 2002
6
US
<!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Frameset//EN&quot;
&quot;<html>
<head>
<title>Brians Webpage</title>
</head>
<frameset rows=&quot;50,*&quot; border=&quot;0&quot;>
<frame src=&quot;top.htm&quot; name=&quot;top&quot; scrolling=&quot;no&quot; noresize>

<frameset cols=&quot;100,*&quot;>
<frame src=&quot;sidebar.htm&quot; name=&quot;side&quot; scrolling=&quot;no&quot; noresize>
<frame src=&quot;main.htm&quot; name=&quot;main&quot; noresize>
</frameset>
</frameset>
</html>

In the following document for my webpage all of it validates except for one line.
<frameset rows=&quot;50,*&quot; border=&quot;0&quot;>
The WW3.org validator says
Error: there is no attribute &quot;BORDER&quot; for this element (in this HTML version)
How would I keep the same effect of there being no border and still have it be valid HTML 4.01 frameset?

Thanks for taking the time to read my problem, answers would be appreciated greatly!
 
Instead of <frameset rows=&quot;50,*&quot; border=&quot;0&quot;>
Try <frameset rows=&quot;50,*&quot; border=0>

Bob
 
Thanks for trying, the only thing the &quot;'s do is to clarify to the browser what the variable is. I tried it anyways because I was desperate and nope, no validation yet. I have no idea why it is illegal in the first place, it might even be something somewhere else in the document...I'll keep looking until someone or myself finds an answer.
 
hi TheHobbit,

What you are lookign for is:

<frameset blablabla frameborder=false>

BobbaFet Everyone has a right to my opinion.
E-mail me at caswegkamp@hotmail.com
 
None of it works the way I need it to though. My web page needs to be totally seemless. The frameborder=&quot;false&quot; leaves white spaces about a pixel or 2 wide between the frames.


I wan't it to look like that but be valid. I'm beginning to think I might have to just forget making it all totally legal HTML 4.01 because there doesn't seem to be any other way to make it totally seamless than BORDER=&quot;0&quot;
 
ok how about this
<frameset frameborder=false framespacing=&quot;0&quot; blablabla>

this should work!

BobbaFet Everyone has a right to my opinion.
E-mail me at caswegkamp@hotmail.com
 
Thanks for trying to help Bobbafett. It worked!!! But it didn't validate!?!?!?! I give up, it's hopeless validating anything at all. It's probably a flaw in the thing itself. I know they are legal tags.

Thanks again everyone.
 
try using quotes for the frameborder=&quot;false&quot; part,
or try frameborder=&quot;0&quot;. play a bit with the code
try using other words for stuff! That usually helps
when I cant get something to validate. (validators
are by the way often more particular about those sort
of things then browsers (yes even netscape ones!))

BobbaFet Everyone has a right to my opinion.
E-mail me at caswegkamp@hotmail.com
 
Hi TheHobbit,

For the frameborder, NN lists values for this attribute as Yes [DEFAULT] and No and IE lists values of 1 [default] and 0 [display no border.]

So maybe that's the reason of the validate problems.

If you want to play more whit the space in your frames you can set the marginwidth and marginheight in your <frame> tag:

<frame src=&quot;......&quot; name=&quot;main&quot; scrolling=&quot;auto&quot; marginwidth=&quot;1&quot; marginheight=&quot;1&quot; noresize>

marginwidth and marginheight can't have a value of 0 and less, so 1 is the minimum.

Erik <!-- My sport: Boomerang throwing !!
This year I will participate at the World Championships in Germany. (!! Many Happy Returns !! -->
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top