HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
CSS style codes for frames.
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame
View previous topic :: View next topic  
Author Message
Shay329



Joined: 05 Sep 2009
Posts: 3

PostPosted: Sat Sep 05, 2009 11:40 am     CSS style codes for frames. Reply with quote

I am trying to get rid of my frame borders but can't do it inside the <frameset...> code because it won't pass validation. Is there a way to have no frame borders using a CSS code?

Also, while reading through some of the posts, I see that it is best to stay away from frames. Is there another way to get the frame look without actually using them?

I want my menu on the left side (or top, under logo) but have the link target the main page.

Thanks!
Shay
PayneLess Designs



Joined: 28 Feb 2007
Posts: 3598
Location: Biloxi, MS

PostPosted: Sat Sep 05, 2009 12:31 pm     Reply with quote

Remove frame borders through CSS

CSS Frameset Borders

Frameset - Hide Borders

Might try looking at this example I made long ago. Does validate, but haven't played with it in all browsers.:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Your Page Title</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="keywords" content="Your keywords." />
<meta http-equiv="description" content="Description of page." />
<link href="Your_style_file.css" rel="stylesheet" type="text/css" />
<link rel="icon" type="image/x-icon" href="http://Domain_Name.com/imgs/favicon.ico" />
<link rel="shortcut icon" type="image/x-icon" href="http://Domain_Name.com/imgs/favicon.ico" />
</head>
<frameset cols="100%" rows="255,*">
<frame name="header" src="index2_fr1.html" scrolling="no" frameborder="0" noresize="noresize" />
<frame name="content" src="index2_fr2.html" scrolling="auto" frameborder="0" noresize="noresize" />
</frameset></html>[/url]


how to remove frame border with mozilla?

A link to page or post of total page code might help.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial