Not all browsers apply base to linked CSS files so it's best to just not bother 
using it.
 
Alex Cole



> Date: Mon, 27 Oct 2008 11:31:29 -0400> From: [EMAIL PROTECTED]> To: 
> css-d@lists.css-discuss.org> Subject: [css-d] base href and CSS> > I am 
> having trouble with using the tag < base href="" /> in my html> and it not 
> being translated into my CSS document. I have declared -> > < base 
> href="http://www.foo.com/bar/"; />> > in my html head (and above the CSS 
> declaration). The physical> location of the CSS file is 
> /assets/css/styles.css> > In my CSS file, I have element styles like this--> 
> > background: url(/images/foo.gif); /* this doesn't work */> background: 
> url(images/foo.gif); /* nor does this */> > If I manually change the above 
> path to ../../images/foo.gif then it> works fine, but shouldn't the CSS file 
> be using the base href I> declared?> > Thanks,> > Marty Martin> 
> ______________________________________________________________________> 
> 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/
_________________________________________________________________
Discover Bird's Eye View now with Multimap from Live Search
http://clk.atdmt.com/UKM/go/111354026/direct/01/
______________________________________________________________________
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