> I then created a CSS file and linked it to my master page by just dragging
> across into the code window.
Yeah, quit doing that. Write your code by hand and you won't have to
rely on anything being automagically hooked up. You'll also never have
to panic when the magic stops working.
- View source.
- Copy out the full url for the .css include.
- Paste it into a browser window.
- Note that it comes back 404.
- Figure out where the file actually lives on your server
- Hook it back up by hand.
- Never "Drag" anything onto a page again.
Jason Kester
Expat Software Consulting Services
http://www.expatsoftware.com/
---
Get your own Travel Blog, with itinerary maps and photos!
http://www.blogabond.com/
dhnriverside - 30 Oct 2005 09:20 GMT
heh, switched on this morning and everything works fine :)
thanks though. tell u what ill b major peeved if vs2k5 starts doing the
random delete of code and odd stuff. i complained like hell to ms and they
just said "yeah, it'll be fixed in 2k5, stop using the designer." - not what
u want when youve just spent 400quid....!
> > I then created a CSS file and linked it to my master page by just dragging
> > across into the code window.
[quoted text clipped - 18 lines]
> Get your own Travel Blog, with itinerary maps and photos!
> http://www.blogabond.com/
Danny Tuppeny - 30 Oct 2005 10:08 GMT
>> I then created a CSS file and linked it to my master page by just
>> dragging
[quoted text clipped - 3 lines]
> rely on anything being automagically hooked up. You'll also never have
> to panic when the magic stops working.
LOL!!
Should we quit dragging buttons from the toolbox and double-clicking them to
add even handlers too? ;o)
The magic is there - use it! :-)
> - Figure out where the file actually lives on your server
> - Hook it back up by hand.
> - Never "Drag" anything onto a page again.
You can also put CSS files in an App_Themes/[ThemeName] folder, and they're
automagically added to the headers of all pages. You can set which theme is
used in web.config, and even let the user change it on the fly :)
dhnriverside - 30 Oct 2005 16:20 GMT
interesting... can i do that just by putting css in the appthemes directory?
or is there something else you have to do?
> >> I then created a CSS file and linked it to my master page by just
> >> dragging
[quoted text clipped - 18 lines]
> automagically added to the headers of all pages. You can set which theme is
> used in web.config, and even let the user change it on the fly :)