OutFront Forums
     Home    Register     Search      Help      Login    

Sponsors
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax
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.

Follow Us
On Facebook
On Twitter
RSS
Via Email

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

 

can't use virtual paths for stylesheet links

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

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

All Forums >> Web Development >> Cascading Style Sheets and Accessibility >> can't use virtual paths for stylesheet links
Page: [1]
 
 
lofty

 

Posts: 2
Joined: 10/19/2004
Status: offline

 
can't use virtual paths for stylesheet links - 10/19/2004 17:56:50   
Is this just another FrontPage bug?

When I use a virtual path for my stylesheet links, FrontPage 2003 can't find the stylesheet, and displays my pages unformatted in the Design and Preview windows.

For example, if I have the following directory structure:

/root
   /css

If I use the following virtual link, FrontPage doesn't use it in the design window:

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

But if I change it to a relative link, it works:

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

Is there a way to use a virtual path and have FrontPage find the css file?
jaybee

 

Posts: 14445
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: can't use virtual paths for stylesheet links - 10/22/2004 9:16:58   
quote:

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


I'm not with you here. Why do you want to use the virtual?

FP uses relative and works reasonably OK


_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to lofty)
Giomanach

 

Posts: 6191
Joined: 11/19/2003
From: England
Status: offline

 
RE: can't use virtual paths for stylesheet links - 10/27/2004 8:11:45   
Is the FP web/page in a sub directory or not?

If so...it will be looking for the CSS Stylesheet in the root of the Drive (C:\)...not the root of the web...

_____________________________




(in reply to jaybee)
reric

 

Posts: 105
Joined: 4/28/2004
Status: offline

 
RE: can't use virtual paths for stylesheet links - 10/27/2004 9:45:22   
I read somewhere that you should use the complete URL anyway.

quote:

Http://yoursite.com/css/default.css

(in reply to lofty)
d a v e

 

Posts: 4418
Joined: 7/24/2002
From: England (but live in Finland now)
Status: offline

 
RE: can't use virtual paths for stylesheet links - 10/27/2004 10:03:18   
why?

_____________________________

David Prescott
Gekko web design

(in reply to reric)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets and Accessibility >> can't use virtual paths for stylesheet links
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