Type of Style Sheets
December 29, 2006 at 6:50 am | In CSS, Tech | 3 CommentsStyle sheet can be included in HTML document in 3 ways,namely
1.External Style Sheets.
2.Internal Style Sheets.
3.Inline Styles.
External Style sheets
In External Style Sheets , the styles are stored in a separate file and then that file is included in the HTML Page. You might be wondering what are styles(will be seen later), but for now just assume that each tag comes with styles. The external file(in which styles are stored) should be saved with the extension .css. Then that CSS file should be included in the HTML page using the <LINK> tag.
Example :
<head>
<link rel=”stylesheet” type=”text/css”
href=”mystyle.css” />
</head>
Explanation for the example :
rel = “stylesheet” tells that the relation of the link is stylesheet.rel can also be assigned to copyright,content,chapters etc.
type tells the type of link . text/css says stylesheet. type can also be assigned to text/javascript,text/vbscript etc.
href tells the path of the css file.If its in the same folder as that of HTML page then it is enough t0 give the name of the CSS file along
with the extension.If its in different folder other than the folder in which the HTML page is , then the relative path should be given . For example href =”../[stylesheet folder name]/[filename].css”
Note :
1.The LINK tag should be used in the <HEAD> tag.
Internal Style Sheets
In Internal Stylesheets , the styles for the tags are specified in the head section itself using the style tag. styles are not stored in a separate file.
Example :
<head>
<style type=”text/css”>
hr {color: sienna}
p {margin-left: 20px}
body {background-image: url(“images/back40.gif”)}
</style>
</head>
Explanation for the example :
type tells the type of link . text/css says stylesheet. type can also be assigned to text/javascript,text/vbscript etc.
hr {color: sienna} tells that any hr tag used should have the color sienna. Similarly we can set the syles for the other tags.
Note :
1.The STYLE tag should be used in the <HEAD> tag.
Inline Styles
In case of Inline Style Sheets the styles for the specific tags are given in the tag itself using the style attribute.
Example :
<p style=”color: sienna; margin-left: 20px”>
This is a paragraph
</p>
Explanation for the example :
style=”color: sienna; margin-left: 20px” specifies that this <p> tag should use color as sienna and left margin should be 20 px.
Priority of the Styles :
1.Inline styles.
2.Internal Style Sheets.
3.External Style Sheets.
4.Browser Default Styles.
In order to avoid conflict of styles used the above priority is followed.
Note:
1. We see that the fourth priority if for the Browser defaults. Thats why we see that different browsers render differently(Each Browser uses its own default style)
Standards :
Its better to use External Style Sheets that Internal and Inline because to use common styles across multiple pages the same Style Sheet can be used . But thats not always the case . When you want to apply a particular style specific for a portion of the page Inline or Internal will be preferred.
How to Use On-Screen KeyBoard
December 29, 2006 at 6:01 am | In Education, Tech, Tips and Tricks in XP | 4 CommentsWant to use an on screen keyboard? Well it is this simple – Click on the start button and select run. Then type in osk in the box and click OK.A KeyBoard appears which you can use with mouse.
How to turn CD Autorun off
December 29, 2006 at 5:19 am | In Tips and Tricks in XP | Leave a Comment1) Click Start, Run and enter GPEDIT.MSC
2) Go to Computer Configuration, Administrative Templates, System.
3) Locate the entry for Turn autoplay off and modify it as you desire.
How to make folder private
December 29, 2006 at 4:58 am | In Education, Tech | 1 Comment•Open My Computer
•Double-click the drive where Windows is installed (usually drive (C:), unless you have more than one drive on your computer).
•If the contents of the drive are hidden, under System Tasks, click Show the contents of this drive.
•Double-click the Documents and Settings folder.
•Double-click your user folder.
•Right-click any folder in your user profile, and then click Properties.
•On the Sharing tab, select the Make this folder private so that only I have access to it check box.
Note:
•To open My Computer, click Start, and then click My Computer.
•This option is only available for folders included in your user profile. Folders in your user profile include My Documents and its subfolders, Desktop, Start Menu, Cookies, and Favorites. If you do not make these folders private, they are available to everyone who uses your computer.
•When you make a folder private, all of its subfolders are private as well. For example, when you make My Documents private, you also make My Music and My Pictures private. When you share a folder, you also share all of its subfolders unless you make them private.
*You cannot make your folders private if your drive is not formatted as NTFS.
Evolution of Cascading Style Sheets(CSS)
December 28, 2006 at 10:54 am | In CSS, Education, Tech | 1 CommentThe Web has come a long way from the all-Text beginning.In the beginning stage, Web used Images and wrapped the text around them and then,as the importance for the presentation increased new HTML tags and attributes were introduced for the presentation purpose.Also the popular browsers of that time namely Internet Explorer and Netscape Navigator(due to mere competition) provided various ways to support the new tags.
Although all this were appreciated it did came with a problem. HTML was basically invented to display the content to the user but now it was used for presentation purpose. And also it became difficult to maintain larger Websites. So World Wide Web Consortium(W3C) came with Cascading Style Sheets(CSS) as a solution.
CSS separated the content from the presentation and it simplified the way of developing websites. W3C released its first specification of CSS in 1996. The version 4 browsers of Navigator and Internet Explorer started supporting CSS. And at present it is widely adopted for the presentation.
Tips & Tricks : Windows XP run commands
December 27, 2006 at 10:06 am | In Education, Tech | 21 CommentsRun command is very useful, but sometimes it is forgotten. Use it sometimes and you will find how powerful is run command.Here’s the list of 117 run commands
- Accessibility Controls – access.cpl
- Accessibility Wizard – accwiz
- Add Hardware Wizard – hdwwiz.cpl
- Add/Remove Programs - appwiz.cpl
- Administrative Tools – control admintools
- Automatic Updates – wuaucpl.cpl
- Bluetooth Transfer Wizard – fsquirt
- Calculator – calc
- Certificate Manager – certmgr.msc
- Character Map – charmap
- Check Disk Utility – chkdsk
- Clipboard Viewer – clipbrd
- Command Prompt – cmd
- Component Services – dcomcnfg
- Computer Management – compmgmt.msc
- Control Panel – control
- Date and Time Properties – timedate.cpl
- DDE Shares – ddeshare
- Device Manager – devmgmt.msc
- Direct X Troubleshooter – dxdiag
- Disk Cleanup Utility – cleanmgr
- Disk Defragment – dfrg.msc
- Disk Management – diskmgmt.msc
- Disk Partition Manager – diskpart
- Display Properties – control desktop
- Display Properties – desk.cpl
- Dr. Watson System Troubleshooting Utility – drwtsn32
- Driver Verifier Utility – verifier
- Event Viewer – eventvwr.msc
- Files and Settings Transfer Tool – migwiz
- File Signature Verification Tool – sigverif
- Findfast – findfast.cpl
- Firefox – firefox
- Folders Properties – control folders
- Fonts – control fonts
- Fonts Folder – fonts
- Free Cell Card Game – freecell
- Game Controllers – joy.cpl
- Group Policy Editor (for xp professional) – gpedit.msc
- Hearts Card Game – mshearts
- Help and Support – helpctr
- HyperTerminal – hypertrm
- Iexpress Wizard – iexpress
- Indexing Service – ciadv.msc
- Internet Connection Wizard – icwconn1
- Internet Explorer – iexplore
- Internet Properties – inetcpl.cpl
- Keyboard Properties – control keyboard
- Local Security Settings – secpol.msc
- Local Users and Groups – lusrmgr.msc
- Logs You Out Of Windows – logoff
- Malicious Software Removal Tool – mrt
- Microsoft Chat – winchat
- Microsoft Movie Maker – moviemk
- Microsoft Paint – mspaint
- Microsoft Syncronization Tool – mobsync
- Minesweeper Game – winmine
- Mouse Properties – control mouse
- Mouse Properties – main.cpl
- Netmeeting – conf
- Network Connections – control netconnections
- Network Connections – ncpa.cpl
- Network Setup Wizard – netsetup.cpl
- Notepad notepad
- Object Packager – packager
- ODBC Data Source Administrator – odbccp32.cpl
- On Screen Keyboard – osk
- Outlook Express – msimn
- Paint – pbrush
- Password Properties – password.cpl
- Performance Monitor – perfmon.msc
- Performance Monitor – perfmon
- Phone and Modem Options – telephon.cpl
- Phone Dialer – dialer
- Pinball Game – pinball
- Power Configuration – powercfg.cpl
- Printers and Faxes – control printers
- Printers Folder – printers
- Regional Settings - intl.cpl
- Registry Editor – regedit
- Registry Editor – regedit32
- Remote Access Phonebook – rasphone
- Remote Desktop – mstsc
- Removable Storage – ntmsmgr.msc
- Removable Storage Operator Requests – ntmsoprq.msc
- Resultant Set of Policy (for xp professional) – rsop.msc
- Scanners and Cameras – sticpl.cpl
- Scheduled Tasks – control schedtasks
- Security Center – wscui.cpl
- Services – services.msc
- Shared Folders – fsmgmt.msc
- Shuts Down Windows – shutdown
- Sounds and Audio – mmsys.cpl
- Spider Solitare Card Game – spider
- SQL Client Configuration – cliconfg
- System Configuration Editor – sysedit
- System Configuration Utility – msconfig
- System Information – msinfo32
- System Properties – sysdm.cpl
- Task Manager – taskmgr
- TCP Tester – tcptest
- Telnet Client – telnet
- User Account Management – nusrmgr.cpl
- Utility Manager – utilman
- Windows Address Book – wab
- Windows Address Book Import Utility – wabmig
- Windows Explorer – explorer
- Windows Firewall – firewall.cpl
- Windows Magnifier – magnify
- Windows Management Infrastructure – wmimgmt.msc
- Windows Media Player – wmplayer
- Windows Messenger – msmsgs
- Windows System Security Tool – syskey
- Windows Update Launches – wupdmgr
- Windows Version – winver
- Windows XP Tour Wizard – tourstart
- Wordpad – write
Corporate Lesson
December 27, 2006 at 5:58 am | In Joke | Leave a CommentA crow was sitting on a tree, doing nothing all day. A small rabbit saw the crow, and asked him, “Can I also sit like you and do nothing all day long?” The crow answered: “Sure, why not.” So, the rabbit sat on the ground below the crow, and rested. All of a sudden, a fox appeared, jumped on the rabbit and ate it.
Moral of the story is:
To be sitting and doing nothing, you must be sitting very, very high up.
Jesus and Devil
December 27, 2006 at 5:55 am | In Joke | Leave a CommentOne day, Jesus and the Devil were both working on their computers. Jesus was typing away. The Devil was typing away.
Suddenly a huge blackout filled heaven and hell. When the lights came back on, Jesus picked up right where he left off, but the Devil’s screen was black. Satan says, “How could this happen? I did everything Jesus did!”
Then one person in Hell says, “No, Jesus Saves.”
Soaring salaries for IIM graduates
December 27, 2006 at 5:19 am | In Education, News, Placements | Leave a CommentThe placement season at the IIMs is still two months away but the Pre-Placement offers are already creating a buzz. This year IIM graduates have bagged work profiles that were until recently reserved for only the top international B-schools.
Meet 23-year-old Vineeta, she could not get luckier than this – not only will she be earning more than Rs 1 crore per year from next year, she will also be headed to London as an associate in Deutsche Bank, a profile that till recently went only to graduates with work experience and to the top international business schools.
Vineeta says, “I am very happy, it is the first time freshers are being offered this profile.”
Not only are the companies offering associate position to freshers for the first time, the number of these offers have also gone up this year.
Last year only Barclays Capital offered associate position to IIM graduates but this year Deutsche Bank and Lehman Brothers are also offering this profile.
The Deutsche Bank has so far offered associate positions to 10 students across IIM Ahmedabad, Bangalore and Calcutta. The salaries being offered for the post is in the range of Rs 8 lakh to Rs 1 crore.
A number of investment banks recruit from IIMS every year. Colleges say that by offering higher positions and salaries these companies are trying to do better than their competitors.
So where hiring IIM graduates is concerned, companies seem to be ready to give whatever it takes.
RamGopal Varma Ke Sholay Story preview
December 27, 2006 at 5:14 am | In BollyWood, Preview, movies | 3 CommentsThis is the movie i waited for RamGopal varma ke Sholay which is going to hit Cinema by next year. Seeing the success of 1970’s ramesh Sippys sholay,Which was played in cinemas for 5 consecutive years (Parents said) I hope that this too will be a great success.Here’s the preview of the movie.
A train pulls into C.S.T. station and two young men step off. It’s their very first visit to Mumbai city. Only they are not here to visit. They have arrived with dreams of buying Mumbai out.
Poor deluded fools, you might think… but that’s only till the first time you run into them. After that, it’ll be clear enough who’s deluded and who has just been made the fool.
For this is a pair of street toughs par excellence… Jai, the younger of the two looks up to Veeru for guidance. Veeru in turn looks out for him. The pair’s loyalty to one another is absolute.
Virendra Chavan (Ajay Devgan) and Jai Ranade (Prashant Raj) grew up in Latur together, where they came to be known to their town folk as Veeru and Jai. From their early days, the young men admired success and strength and sought in every which way to emulate it.
Veeru went to work as a bodyguard for Sharad Patil, the local political heavyweight. But, when Patil went to jail in a scam, he lost his job. It was then that idea of coming to Mumbai took his fancy. As expected, his prodigy Jai tagged along.
So Mumbai it was…
Within a week of their arrival on the recommendation of an old acquaintance of theirs called Soorma (Rajpal Yadav) who runs a dance bar, they found work with Shambhul Seth, a criminal with heavy underworld connections and also high on the police scanner.
In his pursuit of Shambhul, the Inspector Ranveer (Mohanlal) came into contact with Veeru and Jai. On meeting them, he realized that these were no hardened criminals. Small time hoodlums, perhaps, but deep inside their values were still intact. He chose to appeal to the honesty in them.
He exposed them to Shambhul’s criminal past. Veeru and Jai were surprised by this. They agreed to help in whatever way they could. The inspector in the process of trying to get Shambhul got into a deadly trap and both Veeru and Jai in a show of extraordinary courage and strength managed to rescue him and managed to finish off Shambhul seth. But in the bargain, Veeru and Jai had to be arrested as well for associating with a criminal and for a while went to jail.
Much later, when the inspector needed help in his hunt for Gabbar Singh (Amitabh Bachchan), his brief impression of these two young men returned to him. Since he could not expect the police to help in a quest for personal revenge, and his principles would not allow him to turn to the underworld for help, he decided to enlist the help of Veeru and Jai.
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.