Is it possibe to refer to a folder in the web root in a 'standard'
way?
What I mean is, I know that "../" means look at the directory/folder
one up from where you are.
What I am trying to do is create web pages that refer to an image in a
directory. Since the pages from which the reference come from may be
more than one or two directories deep, using "../" or others may not
work. I am also trying to have only one "img" folder that I can refer
to in my html.
Thanks!!! 4 5102
In article <8f************ *************@p osting.google.c om>, zs****@bpthosp. org says... Is it possibe to refer to a folder in the web root in a 'standard' way?
.... I am also trying to have only one "img" folder that I can refer to in my html.
....
/img/my.jpg
The first '/' refers to the 'web root'.
On Wed, Jul 30, SBurrs inscribed on the eternal scroll: Is it possibe to refer to a folder in the web root in a 'standard' way?
The web root is "/" in a URL hierarchy.
What I mean is, I know that "../" means look at the directory/folder one up from where you are.
No, in general it doesn't: it means one up in the _URL hierarchy_,
which might or might not be one up in the server's file hierarchy.
Consider for example the traditional /~luser/ URL, which corresponds
to the file hierarchy ~luser/public_html/ , and then go one up from
there. See the point?
But this isn't specifically an HTML authoring issue: it applies to all
URL references.
In article <8f************ *************@p osting.google.c om>, zs****@bpthosp. org (SBurrs) wrote: Is it possibe to refer to a folder in the web root in a 'standard' way? What I mean is, I know that "../" means look at the directory/folder one up from where you are. What I am trying to do is create web pages that refer to an image in a directory. Since the pages from which the reference come from may be more than one or two directories deep, using "../" or others may not work. I am also trying to have only one "img" folder that I can refer to in my html.
i.e.:
<img src="/images/my_sister_at_5a m.gif" ....>
--
Kris kr*******@xs4al l.netherlands (nl)
"We called him Tortoise because he taught us" said the Mock Turtle.
Firstly, pardon my lack of/inccorect jargon, I am relatively new to
HTML
Second, thanks to Alan and "Jacqui or (maybe) Pete" for their
information.
So, if I understand Alan and "Jacqui or (maybe) Pete", in order to
refer to a 'common folder', in my case it is something I call 'wp'
that contains the jpg's for my wallpaper- no matter on what page, no
matter what HTML, etc if I had:
/wp/general_wp.jpg as <BODY BACKGROUND="/wp/general_wp.jpg" I would
accomplish what I set out to do? meaning, to keep only one 'copy' of
the jpg's no matter how 'deep' the html page refers to that jpg is on
the web site??? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Vinny |
last post by:
I don't know if this is a PHP config problem, or an Apache 1.3/PHP 4
problem, or what. When I include a script, say 2 folders up in the
structure, I'm having to move up to it instead of skipping to root and
moving down to it. Allow me to clarify, let's say my tree structure looks
like so :
-----
---------- script.php
----------
|
by: John H. |
last post by:
In effort to understand (Outlook) MAPI folder tree
structure wrote simple linear code below to navigate
tree.
Successive "...Folders.GetNext()"'s return same folder at
all levels of tree. What am I doing wrong or not
understanding?
Thanks.
|
by: Anushya |
last post by:
Hi
when i try to browse thru all the folders in outlook recursively
starting from the root folder, i couldnot explore the USER FOLDERS
which comes straight under root folder.
Wot is the problem,
1)i am using folders(1) as the root folder??
2)Or the user folders created under root folder will not come under
root folder while exploring???
|
by: Dave |
last post by:
Greetings,
I have a web application that has a folder with a section of my web
application. How can I reference a user control that is one level up in the
directory structure?
<%@ Register TagPrefix="PHM" Tagname="HeaderMenu" src="HeaderMenu.ascx" %>
but, "HeaderMenu.ascx" is in the parent folder of the folder this aspx
document is in.
|
by: vinesh |
last post by:
I have sample Asp.Net Web Application project.
Let me know how to keep the files related to this project (like the
webform.aspx, WebForm1.aspx.vb, WebForm1.aspx.resx) in a separate folder
within a project and what all setting will I be required to do So that my
original project works.
Can I keep WebForm1.aspx in root and code behind file in a folder within the
project folder?
Thanks in advance.
| |
by: pradeep_TP |
last post by:
Hello everybody,
I have created a web site which has a simple user control
(LogoDisplay.ascx). This is part of a separate project called CommonControls.
I have a main Project "MainProj" from which I am referring to
"CommonControls". I have a web page Default.aspx page in MainProj that has a
UserControl "Header.ascx"
Files for "MainProj" Project file are under folder
|
by: Carl Gilbert |
last post by:
Hi
I am trying to get a simple ASP.NET web application to work on my 1&1
(1and1) web space. I managed to get something working a while ago, with
thanks to Karl Seguin, but for some unknown reason it stopped working.
I have two domains:
www.airbrushesonline.com which is directed at a folder on my web space
called 'tm'
www.airbrushesonline.co.uk which is directed at a folder on my web space
|
by: Rick |
last post by:
Hi,
Our website used to have all pages in the root folder, and the entry
page is "Login.aspx".
I was asked to move all pages inside a folder named "Aspx"
Is it possible to move also the default page "Login.aspx" into this
folder, or should it be left in the root folder?
|
by: IUnknown |
last post by:
Ok, we are all aware of the situation where modifying the folder
structure (adding files, folders, deleting files, etc) will result in
ASP.NET triggering a recompilation/restart of the application.
In a nutshell, I understand how this can be considered desireable by
some, but I am not one of those people.
My situation is that we have a root site (hosted @ http://www.mydomain.com)
in the root application folder '/'.
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |