Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Web Design and Hosting
Re: Displaying graphics
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="muso" data-source="post: 5925" data-attributes="member: 40"><p>While it is supported to add a '/' in front of any path, it is not general practice.</p><p></p><p>What you should do marlonolram (if this isn't your setup at the moment), is have all your html/php/xhtml files in one folder (normally your root directory) and inside the root directory have one folder named images. I find this is the easiest way to manage links. That way, any internal file links can just be linked to with their file name, and all images just have a "images/" before them.</p><p></p><p>Always use foward slashes, and remember to define a <a href="https://www.w3.org/TR/1999/REC-html401-19991224/struct/links.html#edef-BASE" target="_blank">base uri</a> if you're using relative links.</p></blockquote><p></p>
[QUOTE="muso, post: 5925, member: 40"] While it is supported to add a '/' in front of any path, it is not general practice. What you should do marlonolram (if this isn't your setup at the moment), is have all your html/php/xhtml files in one folder (normally your root directory) and inside the root directory have one folder named images. I find this is the easiest way to manage links. That way, any internal file links can just be linked to with their file name, and all images just have a "images/" before them. Always use foward slashes, and remember to define a [URL='https://www.w3.org/TR/1999/REC-html401-19991224/struct/links.html#edef-BASE']base uri[/URL] if you're using relative links. [/QUOTE]
Verification
What is Apple's smallest desktop computer called?
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
Re: Displaying graphics
Top