Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - Borderless frames

 
Thread Tools Search this Thread
Old 02-24-2004, 02:15 PM   #1
Default Borderless frames


Don't hit me, don't kill me.

But how do I create frames that don't have (vissible) borders, and is also
good HTML?




John Smith
  Reply With Quote
Old 02-24-2004, 02:23 PM   #2
Steve R.
 
Posts: n/a
Default Re: Borderless frames

John Smith wrote in message ...
> But how do I create frames that don't have (visible) borders,
> and is also good HTML?


Do you *really* mean frames as in ...
http://www.myby.myby.co.uk/temp/

or are you referring to tables as in ...
http://www.myby.myby.co.uk/test.htm


  Reply With Quote
Old 02-24-2004, 02:58 PM   #3
John Smith
 
Posts: n/a
Default Re: Borderless frames

I really mean frames as in <frameset><frame> etc.
so I meant: http://www.myby.myby.co.uk/temp/
but without the white line.


"Steve R." <stevie_ritchie(NOSPAM)@hotmail.com> schreef in bericht
> John Smith wrote in message ...
> > But how do I create frames that don't have (visible) borders,
> > and is also good HTML?

>
> Do you *really* mean frames as in ...
> http://www.myby.myby.co.uk/temp/
>
> or are you referring to tables as in ...
> http://www.myby.myby.co.uk/test.htm
>
>



  Reply With Quote
Old 02-24-2004, 03:16 PM   #4
Steve R.
 
Posts: n/a
Default Re: Borderless frames

John Smith wrote in message ...
> I really mean frames as in <frameset><frame>
> so I meant: http://www.myby.myby.co.uk/temp/
> but without the white line.


Never figured out a way to get rid of that white line, so I normally use a
very pale background to the lower frame, so it's barely noticeable, or
create a more obvious border with something like this ...

<HTML><HEAD>
<TITLE></TITLE>
</HEAD>
<FRAMESET frameborder=10 FRAMEMARGIN="0" rows="78,98%">
<FRAME name=HEADER noResize src="header.htm" scrolling="no" target="_self"
marginwidth="12" marginheight="10">
<FRAME name=MAIN src="home.htm" scrolling="auto" target="_self"
marginwidth="12" marginheight="0" target="_MAIN">
</frameset>
</HTML>


  Reply With Quote
Old 02-24-2004, 03:22 PM   #5
Els
 
Posts: n/a
Default Re: Borderless frames



Steve R. wrote:

> John Smith wrote in message ...
>
>>I really mean frames as in <frameset><frame>
>>so I meant: http://www.myby.myby.co.uk/temp/
>>but without the white line.

>
> Never figured out a way to get rid of that white line, so I normally use a
> very pale background to the lower frame, so it's barely noticeable, or
> create a more obvious border with something like this ...
>
> <HTML><HEAD>
> <TITLE></TITLE>
> </HEAD>
> <FRAMESET frameborder=10 FRAMEMARGIN="0" rows="78,98%">
> <FRAME name=HEADER noResize src="header.htm" scrolling="no" target="_self"
> marginwidth="12" marginheight="10">
> <FRAME name=MAIN src="home.htm" scrolling="auto" target="_self"
> marginwidth="12" marginheight="0" target="_MAIN">
> </frameset>
> </HTML>


To get rid of the white lines, either use border="0" or
framespacing="0" on the framesets. Not valid though, but
works. Obviously in combination with frameborder="0" and
marginwidth and marginheight set to "0" on each frame as well.


--
Els

Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -

  Reply With Quote
Old 02-24-2004, 04:20 PM   #6
John Smith
 
Posts: n/a
Default Re: Borderless frames

"Els" <> schreef in bericht
news:403b6b9b$0$41750$ i.nl...
>
>
> Steve R. wrote:
>
> > John Smith wrote in message ...
> >
> >>I really mean frames as in <frameset><frame>
> >>so I meant: http://www.myby.myby.co.uk/temp/
> >>but without the white line.

> >
> > Never figured out a way to get rid of that white line, so I normally use

a
> > very pale background to the lower frame, so it's barely noticeable, or
> > create a more obvious border with something like this ...
> >
> > <HTML><HEAD>
> > <TITLE></TITLE>
> > </HEAD>
> > <FRAMESET frameborder=10 FRAMEMARGIN="0" rows="78,98%">
> > <FRAME name=HEADER noResize src="header.htm" scrolling="no"

target="_self"
> > marginwidth="12" marginheight="10">
> > <FRAME name=MAIN src="home.htm" scrolling="auto" target="_self"
> > marginwidth="12" marginheight="0" target="_MAIN">
> > </frameset>
> > </HTML>

>
> To get rid of the white lines, either use border="0" or
> framespacing="0" on the framesets. Not valid though, but
> works. Obviously in combination with frameborder="0" and
> marginwidth and marginheight set to "0" on each frame as well.
>
>
> --
> Els
>
> Sonhos vem. Sonhos vão. O resto é imperfeito.
> - Renato Russo -
>

This is the solution I currently use, but as you said it's not valid HTML.


  Reply With Quote
Old 02-24-2004, 06:27 PM   #7
David Dorward
 
Posts: n/a
Default Re: Borderless frames

John Smith wrote:

> Don't hit me, don't kill me.
>
> But how do I create frames that don't have (vissible) borders, and is also
> good HTML?


IIRC, there is no way, with valid HTML, to remove the visible borders
between frames in most[1] browsers.

I'd suggest seeking an alternative to the frames.

[1] Perhaps all.


--
David Dorward <http://dorward.me.uk/>
  Reply With Quote
Old 02-25-2004, 04:13 AM   #8
Mark Parnell
 
Posts: n/a
Default Re: Borderless frames

On Tue, 24 Feb 2004 15:15:07 +0100, "John Smith" <>
declared in alt.html:

> Don't hit me, don't kill me.


Only because you asked.

> But how do I create frames that don't have (vissible) borders, and is also
> good HTML?


But frames _aren't_ good HTML.

http://html-faq.com/htmlframes/?framesareevil
http://homepage.ntlworld.com/l_vajzo...eb/frames.html
http://dorward.me.uk/www/frames/
http://www.google.com/webmasters/2.html (see under "Your page uses
frames")

--
Mark Parnell
http://www.clarkecomputers.com.au
  Reply With Quote
Old 02-26-2004, 12:14 AM   #9
Whitecrest
 
Posts: n/a
Default Re: Borderless frames

In article <urflevghbucp.f3t0jcm66b1d$.>,
says...
> > But how do I create frames that don't have (vissible) borders, and is also
> > good HTML?

> But frames _aren't_ good HTML.


They are completely valid GOOD html

--
Whitecrest Entertainment
www.whitecrestent.com
  Reply With Quote
Old 02-26-2004, 12:28 AM   #10
Mark Parnell
 
Posts: n/a
Default Re: Borderless frames

On Wed, 25 Feb 2004 19:14:48 -0500, Whitecrest <>
declared in alt.html:
> In article <urflevghbucp.f3t0jcm66b1d$.>,
> says...
>> But frames _aren't_ good HTML.

>
> They are completely valid GOOD html


Valid, yes (assuming you are using a frameset doctype), but good, no.
Big difference.

--
Mark Parnell
http://www.clarkecomputers.com.au
  Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump