Viewing by month: March 2004

Gadget Heaven

I have found the portal to Nirvana... and it's Engadget. A gadget lover's dream :)

0 comments | Posted by Daniel Short on Mar 22, 2004 at 12:00 AM | Categories: Rambling -

Embedded ColdFusion?

I'm trying to find out if it's possible to run a ColdFusion app from a CD-ROM. I can't seem to find anything about embedding a web server onto a CD though. I'm about 99% sure you can't do this with ColdFusion MX, but from a few snippets about New Atlanta's Blue Dragon I think it might just be possible. I just don't have the knowledge to make it happen.

If anyone has been able to run a CF server off of a CD, I'd love to hear about it...

6 comments | Posted by Daniel Short on Mar 18, 2004 at 12:00 AM | Categories: ColdFusion -

Odd List issues with IE and display: block

While building a tree based menu with a soon-to-be-released DWfaq extension, I started running into some very odd issues. The navigation is your typical +/- tree based menu. In order to get the + and - icons to be clickable, I set them as a background image on my <a> tags, and added some left padding to them. This worked well in Mozilla and IE on the PC and Safari on the Mac. However, IE on the mac would display the hand cursor over the + and - buttons, but they weren't clickable, you had to actually click the text to make it work. In order to fix the clickable issue on IE5 Mac, I set the anchor tags to display: block. Perfect in IE Mac, but this caused another problem....

In IE 6 on the PC I started getting some weird padding issues. I have this code:

<ul id="ulNav">
  <li><a href="item2.htm" class="hasSub" 
    onclick="...">Item 2</a>
    <ul class="subMenu" id="sub2">
      <li><a href="asdf">Sub Item</a></li>
      <li><a href="asdf">Sub</a></li>
  <li><a href="item3.htm" class="hasSub" 
    onclick="...">Item 3</a>
    <ul class="subMenu" id="sub3">
      <li><a href="stuff.htm">Sub it</a></li>
  <li><a href="stuff.htm">Item 4</a></li>

Now in IE on the PC I was getting this, notice the extra space between collapsed lists:

Figure 1: List in IE with spacing

Well no amount of fiddling with margins and padding on <li>s or <ul>s was doing the trick, so I figured hey, I'll add some borders to the <li> to see where my margins are falling... well this was the result, without any code changes besides adding a border to the <li>s (li {border: 1px solid black;}):

Figure 2: Added borders to the &amp;amp;amp;lt;li&amp;amp;amp;gt;s

<head scratch="vigorously" /> Okay, now I'm confused. Placing a border on the <li>s caused the reserved space between elements to collapse. I tried a border: 0px and a border: none with no luck as well. So I eventually settled on li {border: 1px solid #fff;} (transparent inherited the font color, black):

Figure 3: 1px white borders...

Once the borders were added the menu was good to go. Anyone have the slightest clue why this might be happening, and what IE6/PC is thinking? Every other browser got it right...

0 comments | Posted by Daniel Short on Mar 17, 2004 at 12:00 AM | Categories: (X)HTML - CSS - Dreamweaver -