For Flash, setting the "wmode" parameter to "transparent" lets dropdown lists (say, from menus) overlay the Flash, instead of getting hidden under it.
The equivalent for Silverlight is "isWindowless". (Found the answer here.)
Thursday, September 10, 2009
Wednesday, September 9, 2009
Background positioning for <a> on IE6, IE7
Suppose you have a link button graphic that has both the off and on states (e.g., the 50 x 50px "off" image is on the top half and the 50 x 50px "on" image is on the bottom half, resulting in a 100px-tall graphic). It's easy to style the link's hover effect by changing the background-position from "left top" to "left bottom" (also needs the link to be a block element, say display:block or display:inline-block). This works great on Firefox and IE8.
Normally, this works on IE6 and IE7 also, but make sure the <a> has the "href" attribute, otherwise these browsers won't change the background position.
Normally, this works on IE6 and IE7 also, but make sure the <a> has the "href" attribute, otherwise these browsers won't change the background position.
Friday, August 14, 2009
Version Control: Bazaar
Ended up needing some version control for my html models (instead of zipping the folder every now and then). Found that Bazaar works well for me. The TortoiseBZR windows shell extension integrates nicely with Windows Explorer.
Thursday, August 13, 2009
Removing surrounding <span> from a WebControl
See the comment section of this post:
Use a different constructor:
Use a different constructor:
public MyControl() : base()Can also pick a different tag instead of span:
{}
public MyControl() : base(HtmlTextwriterTag.Div)Update: Unfortunately, setting it to HtmlTextwriterTag.Div causes a table tag to be rendered for Firefox. See this post about adaptive rendering.
{}
VB.Net and C# comparison
Great reference comparing syntax differences between VB.Net and C#.
TFS Workspaces
Something to remember about TFS workspaces (from this Team System page):
"...only one local path can be mapped, per user, per team foundation server. Two users can't share the same filesystem path. And two different team foundation servers can't share the same filesystem path, either."
"...only one local path can be mapped, per user, per team foundation server. Two users can't share the same filesystem path. And two different team foundation servers can't share the same filesystem path, either."
Tuesday, August 4, 2009
SharePoint and closing tags
Sometimes SharePoint will not see a closing tag shortcut like this:
and messes up your nice div structure.
Try adding an explicit closing tag:
<div id="blahblah" />
and messes up your nice div structure.
Try adding an explicit closing tag:
<div id="blahblah"></div>
Subscribe to:
Posts (Atom)