I'm feeling excited knowing that we can have different css styles for normal web-view and for printing. Say, in your website there is an image which you don't want to be available for printing. You can do so simply adding some css style (display:none) for printing (media="print"). Here is the example
<html>
<head>
<style type="text/css" media="print">
.noPrint{
display: none;
}
</style>
</head>
<body>
Here is the image: <img class="noPrint" src="myPicture.jpg" />
</body>
</html>
Inline css is like below
@media print {
.noPrint{
display:none;
}
}
26 May 2010
CSS for printing
Posted by আলোর ছটা at 3:59 PM 0 comments
Labels: CSS
02 May 2010
How to integrate SVN with Visual Studio using AnkhSVN
Download
- Download and install TortoiseSVN (http://tortoisesvn.tigris.org/). It is free. (I'm not quite sure if it is a must, but I installed it.)
- Download and install AnkhSVN (http://ankhsvn.open.collab.net/). It is free.
Enable AnkhSVN for source control
- In Visual Studio, select Tools > Options.
- In the Options window, select "Plug-in Selection" under "Source Control".
- Select "AnkhSVN - Subversion Support for Visual Studio" for "Current source control plug-in".
Connect a project to AnkhSVN
- Open the project in Solution Explorer.
- From the File menu in Visual Studio, select Subversion > Change Source Control .
- In the Change Source Control window, select the row containing your project or solution, and click Connect.
- Click Ok
Add a solution to a repository
- Open your solution in the Solution Explorer
- Right-click your solution and select "Add Solution to Subversion". To add specific projects rather than the containing solution, you can select "Add Selected Projects to Subversion" instead. The "Add to Subversion" dialog appears.
- Specify the URL to your Subversion repository.
- To add the solution to a new subdirectory, select the "Create Folder" option, and enter a directory name and log message.
- Select File > Subversion > Pending Changes. select the files you want to commit, write log message and click on Commit.
For more info: http://help.collab.net/index.jsp?topic=/com.collabnet.doc.anksvn_001/action/ankh_getting_started.html
Posted by আলোর ছটা at 11:07 PM 0 comments
Labels: SVN
15 March 2010
Google Groups Bug: Set a banned member to manager
I have found a critical bug in Google Groups!
In google groups, if you set a banned member's membership to manager, then it seems that that user becomes a non-member manager. Then it becomes impossible to change his/her membership type. You cannot even delete / invite that person again. It's a bug and it's from Google!!
There is a remedy though. You have to use firebug.
- In management task, select 'manage members'. Navigate to the user. You'll find that the checkbox beside that user is disabled.
- Using firebug, find the html of that checkbox and remove the disabled attribute [disabled=""]
- Then check the checkbox.
- Set membership to "regular member" and click corresponding ok.
Posted by আলোর ছটা at 1:00 AM 0 comments
Labels: Google Bug
06 March 2010
How to extract rar file in ubuntu?
sudo apt-get install unrar
Posted by আলোর ছটা at 7:53 AM 0 comments
Labels: ubuntu
Subscribe to:
Posts (Atom)