navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Free FrontPage Templates

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

style sheets & includes

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Microsoft FrontPage Help >> style sheets & includes
Page: [1]
 
_gail

 

Posts: 2876
From: So FL
Status: offline

 
style sheets & includes - 6/27/2002 19:11:02   
First time I' m using a style sheet. I have it working in the index.htm page but can' t get it to work with include pages.

<link rel=stylesheet type=text/css href=name.css.>

The above was placed before the closing " head" tag in both the index and include pages. Why isn' t the style sheet working for the include?

Thanks, gail
EWD

 

Posts: 1052
From: BeauFlow, NY
Status: offline

 
RE: style sheets & includes - 6/27/2002 21:15:47   
The style of the included section will be governed by the page it' s included into. When you look at the include page itself you may not see anything but should see it on the main page.

(in reply to _gail)
Reflect

 

Posts: 4769
From: USA
Status: offline

 
RE: RE: style sheets & includes - 6/28/2002 7:33:32   
Hi,

If useing sub directories then you would need to use an absolute call instaed of relative.

Http://www.whatever.come/main.css

Brian

_____________________________


(in reply to EWD)
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: style sheets & includes - 6/28/2002 10:01:16   
Are you using quotes in the proper place like:

<link rel=" stylesheet" type=" text/css" href=" name.css" >

Just asking because they aren' t on the example you posted, but that could be an oversight...

As long as that is in the <head> of your document, it will apply to all the includes as well. The includes get dropped into the page before anything else is applied.

You do need to make sure that you have the proper tags on the include page... <p> or <h1> and what not.

Or like this:

<p>
<!--#include file=" xyz.shtml" -->
</p>

The style sheet won' t know to apply anything unless you use the tags that you' re defining...

I hope I don' t sound condescending, just taking some shots in the dark!

Aren' t style sheets the coolest?


_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to _gail)
abbeyvet

 

Posts: 5095
From: Kilkenny Ireland
Status: offline

 
RE: style sheets & includes - 6/28/2002 10:09:11   
I don' t think the presence or absense of quotes will make any differnece.

The call mst be to the correct location of name.css

As mentioned above, once the include is in its final page the styles will be applied. However it can be handy to see the styles as they will apply in the final page when you are working on the include page itself.

In general includes are in an include folder, a folder off the root.

So, if this called the style sheet sucessfully to a page in the root directory:

<link rel=stylesheet type=text/css href=name.css>

(Note: I removed period after css, which I assume was an error)

Then calling the css to a file in the includes folder (or any other folder off the root) would require

<link rel=stylesheet type=text/css href=../name.css>


Try that.


< Message edited by abbeyvet -- 6/27/2002 10:11:05 AM >


_____________________________

Katherine

:: InKK Design :: InKK Domains

(in reply to _gail)
MCD

 

Posts: 673
Joined: 3/19/2002
From: Al USA
Status: offline

 
RE: style sheets & includes - 6/28/2002 13:32:49   
Reflect has hit your problem squarely on the head. Use an absolute URL and your problem will be solved.

< Message edited by MCD -- 6/27/2002 1:36:28 PM >

(in reply to _gail)
Page:   [1]

All Forums >> Web Development >> Microsoft FrontPage Help >> style sheets & includes
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts