PDA

View Full Version : Frameborder=0 dosenīt work at all!


brianecho
08-10-2002, 01:18 AM
Hi!

I am very confused over this:

<html>
<head><title>Frames</title></head>

<frameset cols="16%,*">
<frame frameborder=0 scrooling=no src=empty.htm name=rightframe>
<frame frameborder=0 scrooling=no src=empty.htm name=leftframe>

</frameset>
</html>

No matter what Iīm doing, the frameborder=0 and scrolling=no dosenīt doing anything at all? They are set to "null" and "no", but there is still borders and scrollers on the page???

Can anyone please tell me whatīs going on here???

I using MS Wordpad and Internet Explorer 6.0

Ok!

My computer is a very special computer and it doing some very weird things sometimes, but this...

I have studyed HTML and Java serious in one year and are feeling comfortable with it!


Best wishes to anyone who can help me or tell me something that might could help me!!!

:rolleyes:

Mhtml
08-10-2002, 02:01 AM
ok, lol well for starters I have never scrooled down a page, lol. just fix the spelling: scrolling="no" instead of scrooling="no"

and place the frameborder="0" and border="0" in the <frameset>
tag. Also if you quote " " your attributes like you are meant to that will avoid such problems in some js related matters.

brianecho
08-10-2002, 07:53 PM
I scrooled a lot this time but correct it to scrolling=0, scrolling="0" and scrolling=*0*, but nothing still works at all!

And my frameborder=0, frameborder="0" and frameborder=*0* didnīt work either!

I think I have to live with it for a while!

I stealed this directly from the net (http://www.marketingtips.com/assoc/assoc_program.html):

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
<!-- saved from url=(0053)http://www.marketingtips.com/assoc/assoc_program.html -->
<HTML><HEAD><TITLE>Internet Marketing CenterŪ's Affiliate Program</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content=TRUE name=MSSmartTagsPreventParsing>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD><FRAMESET border=0
frameSpacing=0 rows=145,* frameBorder=1><FRAME name=title marginWidth=0
marginHeight=0
src="Internet Marketing CenterŪ's Affiliate Program-filer/title.htm" noResize
scrolling=no><FRAMESET border=0 frameBorder=1 cols=190,*><FRAME name=menu
marginWidth=0 marginHeight=0
src="Internet Marketing CenterŪ's Affiliate Program-filer/menu.htm" noResize
scrolling=no><FRAME name=main marginWidth=0 marginHeight=0
src="Internet Marketing CenterŪ's Affiliate Program-filer/main.htm"
noResize></FRAMESET></FRAMESET></HTML>

-and pasted it into my MS Wordpad and ups! Borders and scrollers all over the monitor again!

So! My problem might be in my own system or is comming from a virus or something!

But anyway - thanks for your help!:confused:

boggly
08-11-2002, 03:03 PM
I'm not sure what you really want here, but like someone already suggested, you really should write all the element names in lowercase and surround the attribute values with quotes. It makes it a lot cleaner and corresponds with XHTML compliance. If you really don't want any borders though, all you have to do is change all the values of frameBorder=1 in the code above to frameborder="0" and throw in border="false" for good measure. Hope this helps.

Best,
boggly