Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
Password Reminder
Register
| FAQ | Members List | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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
Reply With Quote
  #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.
Reply With Quote
  #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?
Reply With Quote
  #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<
//\ =^..^=
Reply With Quote
  #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?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 10:15 PM.


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