Background image in CSS - How to use base_url() in a CSS file |
[eluser]Juan Velandia[/eluser]
Hello, again a newbie question. I'd like to know how can I use the base_url() whitin a CSS file? is this possible? or if I want to use a CSS style with a background I should do something like this?: body{ padding:0px; margin:0 auto; background: url(http://example.com/system/application/vi...ground.jpg) 0 0 repeat-x; } Thanks a lot Juan |
Messages In This Thread |
Background image in CSS - How to use base_url() in a CSS file - by El Forum - 03-05-2010, 04:19 PM
Background image in CSS - How to use base_url() in a CSS file - by El Forum - 03-05-2010, 04:21 PM
Background image in CSS - How to use base_url() in a CSS file - by El Forum - 03-05-2010, 04:27 PM
Background image in CSS - How to use base_url() in a CSS file - by El Forum - 03-05-2010, 06:26 PM
Background image in CSS - How to use base_url() in a CSS file - by El Forum - 03-05-2010, 07:07 PM
Background image in CSS - How to use base_url() in a CSS file - by El Forum - 03-05-2010, 08:30 PM
|