CSS Discussers:

I am building my first website and struggling with a very spotty and 
uneven knowledge of servers, HTML, and CSS.  I do have some computer and 
internet knowledge but with big gaps where I most need expertise.

Aptana is currently my development environment which lets you preview a 
file in either Firefox or IE.  It supposedly  launches its own preview 
server but, from the behaviour of Firefox described below, it rather 
looks as though Firefox is using file:///path-to-site-folder/index.html.

Firefox won't load a CSS file referenced by a <link ... /> if it 
contains a path from site root, e.g. href="/css_stuff/my_neat.css" (note 
leading root slash / ) but IE will.  Firefox is only happy with 
href="css_stuff/my_neat.css" (not the missing root / slash).  I hope not 
to be lost in relative file referencing hell, i.e. 
href="../../../../css_stuff/my_neat.css", but need to check this in a 
tame local server environment.

Can anybody recommend a suitable lightweight HTTP server that even a 
complete newbie from Mars could set up with the local site root 
specified, etc.?  Then I can get Firefox to look at 
http://localhost/index.html, which latter contains <link 
href="/css_stuff/my_neat.css"> (note root slash / restored again).  I 
have Googled for a server but frankly as soon as I try to read the bumf 
I am lost ...  Along with your many recommendations, I wonder if I can 
impose on you to ask how to install and configure site root?

Regards,
Hedley

--

Hedley Finger

28 Regent Street   Camberwell VIC 3124   Australia
Tel. +61 3 9809 1229   Fax. (call phone first)
Mob. (cell) +61 412 461 558
Email. "Hedley Finger" <[EMAIL PROTECTED]>


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to