Tag | Css Posts

We can add into references to JS or CSS files from HTML: <SCRIPT TYPE="text/JavaScript " SRC="FileName.js?v=<%=As... The attribute does nothing other than trick the browser into thinking that the .js file must be retrieved from server for new version instead of cached . You can write your own AssemblyVersionNumber() function or use my function from My SystemHelper class. like the following: SystemHelper.GetAssemblyVer... Idea from ...
*Moved to: Branding and Customizing SharePoint 2007I have been delving into the black art of SharePoint Branding, and I have been finding it a grueling process. Don't get me wrong it is a vast improvement over SharePoint 2003 and I have already built 2 Features (but not for public consumption yet). SharePoint 2007 uses a combination of CSS and master pages to allow the developer to make most of the changes that are required for branding, but it is still just so hard... I am no CSS or html expert ...
Doesn't seem to be super well documented, so I figured I'd regurgitate it here. In Firefox, apparently whitespace in a table is treated as "important" by default, and prevents wrapping. To turn this off add this little CSS nugget <style type="text/css">
{
white-space:normal !important;
}
</style>
Source: http://www.telerik.com/community/forums/thread/b311D-ehhed.aspx
The following blog gives a set of steps to allow the smooth migration or upgrade of a SharePoint 2003 portal site to MOSS 2007. (Note only portal aspects covered) 1. Analysis and Identification Carryout a full assessment of existing portal to include: Sites Usage Standard Web Part usage Custom Site Definitions & Templates Screen layouts and UI customisation Databases Infrastructure Evaluate New requirements Out of the box Web Parts provided by MOSS 2007 Extension of existing web parts UI requirements ...
Koen of FirstFloor Software has updated Silverlight Spy to add UI Element Highlighting and Andrew Duthie provides a CSS solution to remove a white border around the Silverlight 1.1 root canvas From SilverlightCream.com: UI Element Highlighting in Silverlight Spy Koen has updated Silverlight Spy again, this time adding UI Element Highlighting ... very cool! White Space around the Silverlight 1.1 Root Canvas Andrew Duthie explains how he used CSS to get rid of a white border around his root canvas ...
In this post, I will show you how to compress the Asp.net Ajax Web Service response, To understand the benefits of compression let us start with a simple example, Consider you have an web service which returns a large data like the following:[WebMethod()] public string GetLargeData() { using (StreamReader sr = File.OpenText(Server.MapPat... { return sr.ReadToEnd(); } } The web method reads an large text file (around 100KB) and returns it contents. Once we call this method from a ...
MIX is over and this is the first of two posts covering the final day. I am currently on the train home with my lappy in power saving mode, minimum CPU etc etc. 1.5 hours left so I should get enough time to say what needs to be said! Today I decided instead of going the main stream route all the way I would slip off to a smaller session. After a chat with Scott Guthrie (!) I decided to miss the first of his two part session on VS 2008 and asp.net 3.5, I read most of the content on his blog and have ...
In my previous post, I have presented few cool css examples of the new Asp.net ListView control. In this post, I will show how you can setup the data binding of the ListView control with the new LinqDataSource control as well as through code, which outputs the previous post examples. Like its ancestor, the ListView comes up with few templates and some of them are really new. In order to bind data we first have to define the LayoutTemplate. The LayoutTemplate is a new template that acts as a container ...
Late Cream today also -- folks have been busy -- and this one is all Shawn Wildermuth: Scrolling Regions, installing 1.0 templates in VS2008, and Scrollable CSS regions with Silverlight. From SilverlightCream.com: Silverlight Scrolling Region Example In response to a request to explain how the scrolling region works that Shawn uses on his Silverlight page, he created a really simple example. Installing Silverlight 1.0 Templates on Visual Studio 2008 Beta 2 (Orcas) Shawn walks through the steps to ...
The challenge I was facing was being able to accomplish the following within a single ASP.NET application: Use an NT authenticated connection to my SQL Server database; this would assume the identity set for the IIS application pool Disable anonymous access to my web site; only allow Windows Authentication Force all use of the TFS API to happen within the context of the Windows authenticated user First, in ASP.NET, in order to force the execution context to use the identity of the person browsing ...
I realize the following won't have many working examples. If someone would like a working example of what the heck I'm talking about. Feel free to ask, and I'll create a few. In the application I'm working on, I had a situation where I wanted to show/hide a div tag to conserve screen real estate. Pretty simple to do. However, using CSS with relative positioning I quickly ran into problems with the section being shown overlapping frames and objects beneath it. I needed to increase the size of the ...
Currently I'm doing some mobile development. I've noticed lately when trying to format pages with textboxes that the textbox was ignoring the width property. The Treo 650P and Treo 650W were both exhibiting this behavior. Then I realized that firefox also had this happening, I just hadn't really cared that much until I started needing to manage my screen real estate on mobile devices. I did find a few solutions. Setting the width with CSS or setting the columns property. eg. <asp:TextBox ID="PlayerHandicapValue" ...
I have recently gotten involved with SQL Server Reporting Services. I have been shocked at how many features and functions seem to be missing. The biggest of these is the lack of support for css stylesheets. If you notice I said stylesheets, not stylesheet. There needs to be support for both a html viewer stylesheet and a printer stylesheet. The first RDL I created looked great on screen. It wasn't until I printed it that I realized it was spread across 14 pages. Luckily I just had a lot of whitespace ...
I have got quite a bit of comments and feedbacks on my previous post where I shown how to combine multiple JS and CSS Files into one. So I decided to enhance it a bit more. Now it Supports: GZip or Deflate Compression based upon the browser header. Can be turned on/off from web.config Minifier for both JS and CSS files. Although it is recommended to keep separate version of these files for both development and production instead of minifying it runtime. There are plenty of online and offline tool ...
When developing a large web application especially if it is Ajax enabled, we often ended up with a larger number of JavaScript and Cascading Stylesheet files and it is quite common that more than one JavaScript file is involved for a single functionality. For example, if you are using DataTable widget of Yahoo User Interface you have to add yahoo-dom-event.js, connection-min.js, dragdrop-min.js, json.js, datasource-beta-min.js, datatable-beta-min.js (as per the example). When a browser encounters ...
Silverlight video on my PhotoAlbum website You can now watch videos on my PhotoAlbum using Silverlight!! Currently, two pages have video: Pune, India and Calcutta Rescue's projects in Kolkata. To start the video, locate the thumbnails marked with a "movie" label, and click them. Modified player.xaml I spent a few hours this week tweaking and learning to know the Silverlight video player created when you encode a video using the Expression Media Encoder application. I modified the player.xaml and ...
When a free download of Refactor!™ for ASP.NET 2.2 was announced in May by Developer Express, I bookmarked it for future reference because I wasn't working on an ASP project at the time. When I took another look, I realized that the download includes 19 C#/VB code refactorings that work in any project, ASP.NET or not. They work in Visual Studio 2003, VS2005, and "Orcas". Included are Refactor! versions (with much nicer user interfaces) of four of the seven built-in VS2005 C# refactorings: Rename ...
Sometimes it is necessary that we do some special tactics to make a particular CSS work in diiferent browser . For example , the following css. .logo { background-image:none; filter: progid:DXImageTransform.Mic... (src="##BASE_PATH##images/l... sizingMethod="crop"); } This is needed only for IE6 to make alpha blending work.Now, if the logo is used as a background image, then we will see no logo in Firefox unless we do some css hacks. Ironic ! Rather, using the hacks stuff ...
As text-align doesn't work I use a simple work around: .mydiv{ width: 100%; left: 50%; } It's not perfect - but very simple and easy to understand - and you can modify it to suit. Seems to work ok in IE 6 & FF 2.0. Here's another method (http://www.andybudd.com/ar... - but I found it not obvious/simple enough (expecially for others who may have to maintain the css down the track - KISS) HTH Tim ...
Subtext 1.9.5 has been released to the public. This is primarily a bug-fix release but does include some new features. Oddly enough, this is the first release to go out the door without a codename. Installing on a clean machine or upgrading an earlier 1.9 release are both relatively easy. If there are any ideas to make upgrading easier, we'd love to hear them. This is scheduled to be the last release in the 1.9 branch, unless there are high priority bugs found that need to be fixed. What this means ...
Few days back , i was having a strange problem. i have a table inside a div and i want the items in table to be centered aligned. Now generally i have declared a class like this. table.thumb{ margin-bottom : 1px; } table.thumb td{ text-align:center; vertical-align :top; } In general sense , this css will have the table leave 1px from bottom and colums will have items center align. Now, this wont work. because , the table is nested inside a div , with float set to "left", in that case even i set the ...
At my Calgary Code Camp presentation on ASP.NET, the subject of compression came up. We were talking about the benefits of using CSS adapters to reduce the amount of markup that gets sent over the pipe and someone in the audience commented that IIS compression was also something that had worked well for them. I found this excellent post on Scott Forsyth's blog talking about how to enable it in IIS 6, and its not as trivial as simply clicking a checkbox. There's edits to the Metabase that need to ...
Just another heads up on another of the sessions I'll be presenting at DevTeach 2007 in Montreal next month (May 14-18) is Working With Master Pages and Themes in ASP.NET 2.0. In this session you will learn how to take advantage of the new Master Pages and Themes/Skins features found in ASP.NET 2.0. Combined with CSS style sheets they allow you to richly customize the user interface of your next ASP.NET 2.0 application. While themes provide a way to define reusable styles, or skins, for an ASP.NET ...
A challenge has been made. It started off with someone named Justice, whom I do not know; the challenge was then extended to me by D'Arcy, who has described his own personal goals. I do accept the challenge, with some caveats. First off... what is it? The challenge, in summary, is how to become a better developer in 6 months. I have certain obstacles with this right now prevent me from going full-blown into it as D'Arcy and Justice: I am currently a software manager, not a developer My time is spent ...
Just about to start into JP Boodhoo's presentation on Monorail, which I'm actually very intrigued ot hear about. My session went really well, I'm pretty happy about it. I messed up on having too many folders with trial projects around...stalld the presentation for a bit...but I was able to get past it and we had some great discussion. Thanks to everyone that came out to my session! I brought up the use of CSS generated controls, and someone in the audience brought up how IIS 6 has an option (apparantly ...
The problem When GWB moved to SubText, I wanted to feel the move by changing my blog theme . ANOTHEREON001 seemed the only one that has listing of categories under each post and still looks fine . I wanted this badly as alternative to tags So, I went to use it. Very soon, I found that on IE6, some posts (those with BLOCKQUOTE tags) were looking very bad in IE6. The post text looks like it's shifted to the left that some parts cannot be seen, especially when you resize the browser to less width/height. ...
The Kid (Vincent Rothwell) has a post on how to create floating toolpanes in SharePoint. Link: http://blog.thekid.me.uk/ar... Lot of good content on his blog. Another SharePoint blog worthy of aggregating. Technorati tags: Sharepoint, Moss, wss, Toolpane, Themes, Templates, Css Cross-posted from tariqayad.com ...
Tonight I had to do a few fixes to the performance of SubText and Geekswithblogs.net. The big fix is an addition of 6 skins and David Douglass can have his blog back (issue with .NetOnMyMind name) Thanks to SubtextSkins.com for keeping a list of the SubText skins and location to download. Here is a list of them. Back in Black Day Dreaming Dirtylicious Informatif Minty Terrafirma Some of them still need tweaking, but they have promise for the custom CSS guys out there. Technorati tags: Geekswithblogs.net, ...
After the update to subtext yesterday I decided I would have a look for a new Skin, I am not much of a designer so quite easily pleased (!) but surprisingly I didn't really see any there that jumped out at me so seeing I didn't have anything to do this afternoon and I rarely play around with design'y type things I would have a go at my own...I didn't really plan on creating a "skin" it just kinda went that way as I was changing this then that etc in the custom CSS part of the options tab in the subtext ...
I found this cool Mozilla CSS modifier that allows you to change the style of textselection in a page ( hard to explain in English for a swede…but ya know when you left-click and select text :P…is there a real verb for it? :P). *::-moz-selection { background-color:#FF3C00; color:white; } Don't know if there is an equivalent for Internet Explorer, but if you do…please give me a shout =) ...
Over the last few years web-developers have written many articles about CSS and developed many useful techniques, which can save you a lot of time - of course, if you are able to find them in time. Below you’ll find a list of techniques we , as web-architects, really couldn’t live without. They are essential and they indeed make our life easier. Let’s take a look at 53 CSS-based techniques you should always have ready to hand if you develop web-sites. Read 53 CSS-Techniques You Couldn't Live Without ...
While the TFS team didn't put everything into the 1st real release of TFS, they certaintly are getting tools/powertoys/helpers/gui... out there to the community in real time. Driven by the initial need to ship, the TFS team clearly had to make some feature choices in order to meet the late 2005 schedule on the 1st release. That's just the dynamics of shipping product. However, what they've done is put out, on a psuedo supported mode (non PSS or is it CSS now?), tools that make the TFS experience ...
This week marked the release of my latest book - Professional XML. I wrote this with friend Kent Sharkey and some other authors including Michael Kay (editor of the XSLT specification and other things). This book came out really nice and after quickly covering XML - goes straight into covering all the major technologies that are based upon XML. The Amazon site doesn't seem to provide the table of contents at the moment, so here it is: 1. XML Syntax 2. XML Editors 3. XHTML and CSS 4. XFL-FO 5. Document ...
End of January, I made an update to my PositionedNode DHTML effect, but too busy with WPF activities, I never managed to publish it. Having just sat 14 hours in a plane, I finally took the time to do it. There are 4 major changes: With V1.2, it's now possible to use any CSS unit to position the HTML element, for example em, points (pt), pixels (px). This functionality uses the JavaScript class gslb.CssLength. It's now possible to specify all the style attributes in external CSS files, using either ...
This DHTML fading effect, where a given node's opacity changes smoothly from one minimum value to a maximum value and back, has been updated. The update is very minor: Now it's not necessary anymore to define an opacity in the node's "style" attribute. The opacity can be defined in external CSS files, or even not be defined at all (in which case the opacity is equal to 100%). Also, I archived my old "JavaScript consulting" pages. Most of the advices given on these pages are still valid, but the pages ...
As a web marketing firm, my company manages to generate quite a bit of e-mail for our clients (all opt-in, of course), and one of the ways that we do that is by templating out the entire HTML e-mail into a user control. The nice advantage to this is, of course, that we're able to pull in whatever kind of data we need and basically treat the e-mail like a page. Our production team can generate some really great artwork and layout, and up until this point it's worked great. They've been doing extensive ...
Well, you heard it right! Visual Studio "Orcas" the next version of Visual Studio is getting ready and stated for release later this year. Visual Studio "Orcas" presents unlimited capabilities and compelling features which can make a developer's life, more productive. Lets have a peek into the list of features .NET Framework 3.5 (includes support for 3.0, 2.0 versions) - You can write applications which target any of these versions and Visual Studio would automatically filter intellisense, toolbox ...
I recently had the pleasure of attending Web Directions North, a conference focused on Web Standards and accessibility, in addition to more streamlined development processes. This 4 day event was packed with interesting discussions revolving around making sites better for the end user. As someone who has been preaching the virtues of standards based development for a few years now, it was nice to be surrounded with like-minded individuals. It's ever more clear to me the direction the web is headed ...
This seems like one of those questions like: Is my girlfriend too hot? or Do I have too much money? Those are problems we love to live with. Mads Kristensen has a blog post where he discusses how easy it is to build a website with Visual Studio and questions if that is a good thing. He discussed the designer and drag-and-drop methods of development where, in the end, you don't learn anything and that can be bad. I agree the designer hides a lot. But I also heard these same arguments way back between ...
Finally, a way to generate CSS friendly output when using the ASP.NET controls. I'd mandate the use of these adapters on any public facing website. If you're not using them, you must just like causing trouble. ASP.NET is a great technology for building web sites but it would be even better if it provided more flexibility for customizing the rendered HTML. For example, the Menu control makes it simple to add a menu to a web site, but it would be better if it didn't create <table> tags and was ...
This post was significantly written targeted for developers with passionate curiosity. I love passion. That makes what I am. I've read Scott Guthrie's blog last night and I found that it was really interesting post on Orcas. Orcas is the code name for the next release of Visual Studio. I think they will probably release it this year, since as far as I know, most of Microsoft product iteration release in 2 years. Visual Studio 2005 shipped in November 2005. Perhaps you can guess when is the shipping ...

Easy to customize speech bubbles coded in CSS and valid XHTML 1.0 strict.

Download CSS Speech Bubbles

Recently one of the team members on our Sharepoint implemention what running in to issues trying to get MOSS 2007 area to change to the brand colors for the company. She asked for my assistance because she was in the process of moving to another state and would be out of touch for a week during the transition and the brand colors needed to be done so that she wouldn't have to worry about it when she was done with the move. Anyhow, I am not much of a Style Sheet guy. I never have been, but I didn't ...
Great, I just set up this blog. Hopefully over the next few months I can blog about my Microsoft .Net development experience. Topics may include: Microsoft best (and worst) practices (i.e. evaluating the latest version of the Microsoft Data Access Block), ASP.Net (i.e. how I implemented the ObjectDataSource/Gridview/F... VB/C# comparisons, CSS Formatting, MS AJAX/ATLAS, ADO.Net, and anything else I find interesting related to the latest technology. Glad to see this forum is powered by Asp.net.' ...
CssLength class: In the course of improving my DHTML PositionedNode, one thing I really wanted is to be able to handle other units than just pixels. In order to do that, some conversions are needed. To make this easier, I developed a helper class named CssLength. Converting from one unit to the other can be tricky. The conversion depends on quite a few things (mostly the way font size is set in the node's hierarchy in the DOM), and there is not a simple arithmetic way to convert ems to pixels for ...
Yes, yes, I know pro-ASP.NET Theme people will say "you can use CSS with themes, it's not an either-or!" but my thoughts on this matter are the interaction between Themes and CSS is weak and not well integrated. In a large sense Themes and CSS are attempting to accomplish the same thing: abstract the presentation, and assign uniformity throughout a web site. The problem I have with Themes is they don't really seem to offer many advantages over CSS, they introduce problems when using CSS, and CSS ...
So I haven't written in a while.... I've been pretty busy with the holidays, but also with some serious upheaval in my latest project.... just as we were about to get into serious construction in our large thick .NET 2.0, C# desktop application we've changed gears and we're now developing a thin ASP.NET with Ajax web application that will have a small desktop component for a subset of users to support a couple of thick use cases. There were a variety of reasons for the change, and while I was skeptical ...
Between beta 2 and beta 2 TR/RTM - a number of things changed in the MOSS master pages/CSS - and the odds are that if you have custom master pages in B2, and especially if you customized the TopNavFlyouts or LeftNavFlyouts master pages - after applying TR or RTM - you'll find that your master page is broke - and the site will not come up. Do not despair - help is close at hand!!! A number of things changed in B2TR and followed into RTM. We can make some minor customizations to your current master ...

What a novell idea... CSS Advisor--a one-stop shop for all CSS browser hacks, workarounds, fixes or whatever you want to call them.

http://www.adobe.com/cfusion/communityengine/index.cfm?event=homepage&productId=1

So the other day I was adding a “news page” to one of my projects and thought it was a great chance to play with consuming some other RSS feeds that had related information to what I was working on. So I started looking round and found the RSS Toolkit that had an RSS Data Source control that is perfect for consuming RSS feeds – the toolkit actually does much more, you should have a read on Dmitry’s blog (he wrote the toolkit and in on the ASP.net team) download the toolkit here. I have also used ...