Subdirectories

  • Thread starter Luigi Donatello Asero
  • Start date
R

Roy Schestowitz

Toby said:
It is amazing the number of people that don't seem to "get" URLs --
especially relative URLs with lots of back references.

"http://example.org/a/b/c/d/foo.html" references "../e/f/../g/bar.html"
which results in "http://example.org/a/b/c/e/g/bar.html".

This seems so obvious to me, but to some people (who often seem quite
knowledgable from their posts on other topics) it seems to be a real
problem.

Perhaps this is because I grew up around the command line?

It would be good if there were a really comprehensive tutorial on URLs
to which we could refer people. Anyone know of any? Or am I going to have
to write one?

It doesn't have high potential for readership. Web designer prefer to extend
knowledge on CSS and the visuals.

You must be thinking about a guide for Perl programmers, but that group
already has suitable background. It is 600 page books like *this*
(http://www.tldp.org/LDP/abs/html/) that discourages people from ever
beginning to learn and practice.

Roy
 
R

Roy Schestowitz

Toby said:
Why must I?


Who said a tutorial would be 600 pages long? 1 page, with plenty of
examples, ought to do it.

It needs practice though, or else it won't be internalised. I came from DOS
where I worked from a command-line (or NC) so some things I no longer need
to memorise.

While you say "1 page, with plenty of example", earlier you said
"comprehensive tutorial on URLs".

But, anyway, I agree with you. A page of this kind would be very useful.
Just give it a good title and PR. Your pages make quite a good reference.

Roy
 
L

Luigi Donatello Asero

"Roy Schestowitz" <[email protected]> skrev i meddelandet

But, anyway, I agree with you. A page of this kind would be very useful.
Just give it a good title and PR. Your pages make quite a good reference.

Roy


So, there are already two people (Roy and I)
who think that such a tutorial would be very useful.
When are you going to publish it online?
 
R

Roy Schestowitz

Luigi said:
"Roy Schestowitz" <[email protected]> skrev i meddelandet




So, there are already two people (Roy and I)
who think that such a tutorial would be very useful.
When are you going to publish it online?

Are you putting pressure on him? *smirk*
 
D

dorayme

I am used to setting width and height of images in the html mark up, many
pics are unique, is it not right to do this and somehow set it in the css
sheet? latter sounds awkward?

dorayme

God it's awful being ignorant and dependant... it's like torture. You know,
it is possible I am The Christ come to do it all again, suffer that is, but
with one variation: on my own behalf this time, bugger the rest of
humanity...
 
D

dorayme

From: "Beauregard T. Shagnasty said:
Assume you mean for an <img src="" alt="" height="" width=""> ?

You can't set that in CSS. Use the exact dimensions of the image in
the height and width, digits only.


thank you, and digits only as usual (was wondering about latter the other
day: I never put px or anything, but always mean px, it seems never to
matter to lose the quotes though I never have deliberately left them out. I
see others doing this and GETTING AWAY WITH IT and it pisses me off a bit...

:)

dorayme
 
B

Beauregard T. Shagnasty

dorayme said:
I am used to setting width and height of images in the html mark
up, many pics are unique, is it not right to do this and somehow
set it in the css sheet? latter sounds awkward?

Assume you mean for an <img src="" alt="" height="" width=""> ?

You can't set that in CSS. Use the exact dimensions of the image in
the height and width, digits only.
God it's awful being ignorant and dependant... it's like torture.

Soon it will all fall into place. said:
You know, it is possible I am The Christ come to do it all again,
suffer that is, but with one variation: on my own behalf this time,
bugger the rest of humanity...

<g>
 
T

Toby Inkster

dorayme said:
it seems never to matter to lose the quotes though I never have
deliberately left them out.

Quotes can be left out if:

* you are not using XHTML; *and*
* the attribute value only contains:
- alphanumeric characters,
- hyphens,
- full stops,
- underscores, and
- colons.

So, for example, the following is valid HTML:

<p style=color:green>
Blah
</p>

The following is not:

<p style=color:green;backround:red>
Blah
</p>

Of course, what is valid and what works are not always the same thing!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,281
Latest member
Pedroaciny

Latest Threads

Top