Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Resource Path in HTML

Reply
Thread Tools

Resource Path in HTML

 
 
Roy M
Guest
Posts: n/a
 
      05-29-2009
For example..

1.

<link rel="stylesheet" href="/style.css" type="text/css"
media="screen" />

2.

<link rel="stylesheet" href="style.css" type="text/css"
media="screen" />


Which one you perferred?



 
Reply With Quote
 
 
 
 
Lars Eighner
Guest
Posts: n/a
 
      05-29-2009
In our last episode,
<(E-Mail Removed)>, the
lovely and talented Roy M broadcast on alt.html:

> For example..


> 1.


><link rel="stylesheet" href="/style.css" type="text/css"
> media="screen" />


> 2.


><link rel="stylesheet" href="style.css" type="text/css"
> media="screen" />



> Which one you perferred?


The one that is correct.


--
Lars Eighner <http://larseighner.com/> http://www.velocityreviews.com/forums/(E-Mail Removed)
129 days since Rick Warren prayed over Bush's third term.
Obama: No hope, no change, more of the same. Yes, he can, but no, he won't.
 
Reply With Quote
 
 
 
 
dorayme
Guest
Posts: n/a
 
      05-29-2009
In article
<(E-Mail Removed)>,
Roy M <(E-Mail Removed)> wrote:

> For example..
>
> 1.
>
> <link rel="stylesheet" href="/style.css" type="text/css"
> media="screen" />
>
> 2.
>
> <link rel="stylesheet" href="style.css" type="text/css"
> media="screen" />
>
>
> Which one do you prefer?


There are no hard and fast rules for where you should put your style
sheets.

--
dorayme
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resource expression to access resource located in library Heinrich Moser ASP .Net 1 03-27-2008 04:25 PM
Very annoying error: Access to the path is denied. ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity Jay ASP .Net 2 08-20-2007 07:38 PM
Resource manager problem: naming for embedded resource. Dirc Khan-Evans ASP .Net 1 10-17-2005 12:52 PM
getting a path to a resource Lloyd Dupont ASP .Net 3 09-23-2004 11:44 AM
The system cannot locate the resource specified. Error processing resource avishosh XML 2 08-08-2004 06:28 AM



Advertisments