Work log for employer projects.
April 20, 2004
Root-relative includes
- Got a coupla responses about moving pages up to the root. The P7 guys seem to be telling me it should work. I guess I just needed to have used root-relative paths to the images when creating the menu. That makes sense. I can make that change pretty quickly.
- Another guy uses template variables to dynamically build the document-relative urls. I've asked him what he has against root-relative. I'm guessing he feels it locks down his hierarchy.
- Later: They don't work in his testing environment. Turns out, I ran into the same sort of thing
- Dad wants me to try white for the customer pages. That feels like it's going to be a lot of work. But it's really not. It's just duplicating about 10 css styles. And, they really don't have to follow any changes on the public pages. So it shouldn't be a maintenance problem
- Grr. NS4 is such a pain. Only the header paragraphs are using the correct background color.
- I just noticed that I've lost the border on *one* of the buttons in the footer in Mozilla. Upon checking the others, I also lost the border of two of the top buttons in IE. Bizarre.
- Upon further testing it's even more bizarre. The buttons missing the border are random from one render to the next. Judging by the misalignment of the text and the behavior of the hover, it appears to be losing the dimensions of the div
- The obvious related change is that I moved the div dimensions from the page into the css file. But the behavior just started tonight
- Unrelated changes are updating the template to use an InstanceParm to choose class of the content div. And, adding the .customercontent class to the css file. That's about when the behavior showed up
- Posting question about all this
- While I'm waiting for that, I'll change all the customer pages to use .customercontent. I'll do some more experiments if I don't get any responses by then
- I spotted the document-relative vs site-relative url choice in MM2. I'm going to go through and change those, now
- Okay, can't do that just yet. Because my test area isn't coming right off the root. So all root-relative links are bogus. It only took a few mins to change everything, so I can wait until the real server is up.
- Typed up site map by hand
Posted by Mighty at April 20, 2004 10:05 PM