Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
| Search | Today's Posts | Mark Forums Read
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 19th, 2003, 02:58 PM
Authorized User
 
Join Date: Jun 2003
Location: Guildford, Surrey, United Kingdom.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Alexpizzoferro
Default XHTML Strict Frame Borders

Using XHTML Strict, i cant seem to be able to get rid of frame borders.
I am using the attribute frameborder="0" of the <frame> tag. This seems to be halfing the frame but not removing it
When i put the border="0" attribute into the <frameborder> tag, the borders disappear. This is what i want although, this attribute is deprecated and not valid in XHTML Strict.

I am also using css to try and handle the problem. This seems to be totally ignored.
I am using the following code in an external css file:

frame{
border:none #3098ff none;
outline-style:none;
}

This sets the three border settings and the outline setting.

Does anyone know where i am goign wrong?
__________________
http://www.loghopper.com
  #2 (permalink)  
Old September 18th, 2003, 02:25 PM
Authorized User
 
Join Date: Jun 2003
Location: , , .
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is it possible that the browser is doing it wrong? Looking quickly at the XHTML Strict spec, <Frame frameborder="0"> should work.
  #3 (permalink)  
Old September 21st, 2003, 11:23 AM
Authorized User
 
Join Date: Jun 2003
Location: Guildford, Surrey, United Kingdom.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Alexpizzoferro
Default

Yeah that is the code that i am using although it does not want to work for some reason.

Any other suggestions?
  #4 (permalink)  
Old September 21st, 2003, 11:40 AM
Friend of Wrox
Points: 1,315, Level: 14
Points: 1,315, Level: 14 Points: 1,315, Level: 14 Points: 1,315, Level: 14
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , .
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Not that it will solve your problem but you are using the wrong doctype. You should use (X)HTML Frameset for your framset documents, not Strict. ;)

(o<
//\ =^..^=
  #5 (permalink)  
Old September 21st, 2003, 11:54 AM
Authorized User
 
Join Date: Jun 2003
Location: Guildford, Surrey, United Kingdom.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Alexpizzoferro
Default

Thanks for the advice althought i am using the frameset doctype already:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

My document is valid xhtml frameset.
Just dont know what is going on with frames not disappearing.

Any other suggestions?


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to: Have no borders and stuff! Apocolypse2005 Beginning VB 6 7 May 8th, 2007 11:56 AM
parsing form data from frame to other frame audio-catalyst Classic ASP Basics 5 January 3rd, 2006 02:57 PM
accesing a form with Strict XHTML 1.0 furia_cross Javascript How-To 2 August 27th, 2005 09:48 AM
Call right frame Page_Load event from left frame. ochanarachel Classic ASP Basics 0 January 28th, 2005 05:13 AM
no target attribute in XHTML strict Alexpizzoferro HTML Code Clinic 3 June 22nd, 2003 04:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.