Dave Miers Forgotten response: Re: A Lookie- lu at a site, if y'all please ...
Aug 20, 2009; 10:16
Dave Miers
Forgotten response: Re: A Lookie- lu at a site, if y'all please ...
On Jun 9, 2009, at 2:22 AM, Doug Fairchild wrote:
> Well, I am impressed. I have no idea how you did it without being > able to upload the stylesheet to the cart. I have uploaded it and it > looks just fine in my browsers. > > How did you do it, or is that a sorcerer's secret? > > Thanks, Dave. > > Doug
Sorry about forgetting to answer this Doug :( It would be more fun to say sorcerer's secret and if I tell you I'd have to....... but :)
Secret Weapon - CssEdit which is how we find the right style sheet
and this tidbit of code you put in the header I discovered along the way completely by accident that you put in the head section.
<base href="http://www.yourdomain.com" />
It allows you to work on a page locally, but the previews will show it as online using all the resources it normally has available there. Where this line of code is positioned in the head is critical since it will apply to anything below it. So if I wanted to work on a stylesheet locally I would have it linked above the base href code. Or in Coda I believe I used the CSSedit override function to change to style sheet with it included in the base href still linked below it.
So it no longer becomes necessary to download an entire site to work on a single page and have to display correctly in preview. I don't know for sure how well this works in all editors, but in Coda and Textmate its pretty slick, and sneaky too :)
Dave
-- This list is a free service of LassoSoft: http://www.LassoSoft.com/ Search the list archives: http://www.ListSearch.com/GoLive/Browse/ Manage your subscription: http://www.ListSearch.com/GoLive/
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!