Posts Tagged ‘Properties’
Wednesday, July 16th, 2008
The cascade lets you use multiple rules to specify the properties for an element. You can either redefine the same property or define additional properties. Let’s say you have the following markup:
1. <p class=”update”>Update: Lorem ipsum dolor set</p>
In the CSS, you can use separate rules to specify the properties that are common to all p elements and those that are specific to p elements with class=”update”:
1. p {
2. margin:1em 0;
3. font-size:1em;
4. color:#333;
5. }
6. .update {
7. font-weight:bold;
8. color:#600;
9. }
The two rules will be combined for p elements with class=”update”. Since a class selector is more specific than a type selector, the properties defined in the second rule will be used when a conflict occurs, as for color in this case.
More info on how the specificity of CSS rules is calculated can be found in Calculating a selector’s specificity in the CSS 2.1 specification.
Tags: advantage, cascade, common, Elements, margin, Properties, update, web designing
Posted in tricks, web designing | No Comments »
Wednesday, July 16th, 2008
The values of many properties are inherited by any descendants of the element that you specify the property for. color and the font related properties are the most common examples of such properties.
Be aware that some properties may be overridden by browser specific user agent style sheets, i.e. the browser’s defaults. That’s why you can’t make all headings non bold with the following rule:
1. body { font-weight:normal; }
The browser’s predefined rules are more specific because of the cascade, which is described next.
Tags: body, cascade, Color, common examples, inherited, most common, overridden, Properties, Property, related properties, specific because, Style Sheets, values, web designing
Posted in tricks, web designing | No Comments »
Wednesday, July 16th, 2008
To save space and make your CSS files easier to read I recommend using shorthand syntax to declare several properties in a single declaration. How the available shorthand properties are used is described in my article Efficient CSS with shorthand properties, so I’m referring you to that instead of going into any details here.
Tags: article, CSS, declaration, details, easier, Efficient CSS, Properties, shorthand, Syntax, Web design
Posted in tricks, web designing | No Comments »
Wednesday, June 18th, 2008
Don’t want your XP computer to show up in the network browse list (Network Neighborhood/My Network Places) to other users on your network? One way to accomplish that is to disable file sharing. To do this, click Start, right click My Network Places and select Properties. Right click your local area connection and click Properties. Uncheck the box that says File and Printer Sharing for Microsoft Networks. Click OK.
But what if you want to be able to share folders with some users; you just don’t want everyone on the network to see your computer’s shares? There’s a way:
Click Start and select Run.
In the Run box, type net config server /hidden:yes
Click OK.
Now others who know the UNC path (\\computer name\share name) can connect to your computer’s shares from the Run box, but it won’t show up in the network browse list.
Tags: (Network, browse, Click, Computer, Connection, Disable, everyone, Folders, Hide, Microsoft, Neighborhood, Properties, Run, Select, shares, Show, some users, Start, UNC, XP, your
Posted in tricks | No Comments »
Wednesday, June 18th, 2008
The steps in this tip will show you how to edit the registry for a time-saving shortcut for enabling and disabling your screensaver.
When you perform maintenance operations such as defragmenting or backing up the hard disk, you probably disable your screensaver before you begin to prevent it from interfering with the maintenance operation. However, disabling your screensaver manually is a multistep operation that involves accessing the Display Properties dialog box, navigating to the Screen Saver tab, and setting the screen saver to None. Then, you need to re-enable the screen saver after you complete the maintenance operation.
Fortunately, you can automate the disabling and enabling screen saver procedures with a couple of registry shortcuts. Note: Editing the registry is risky, so make sure you have a verified backup before making any changes.
Here’s how.
1. Launch Notepad and type the following four lines. (Note: The second line must be blank.)
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control Panel\Desktop]
“ScreenSaveActive”=”0″
2. Save the file to your desktop with the name Disable Screen Saver.reg.
3. Change the 0 to a 1 in the fourth line.
4. Save the file to your desktop with the name Enable Screen Saver.reg.
Now, when you need to disable the screen saver, just double-click the Disable Screen Saver.reg shortcut. To enable the screen saver, double-click the Enable Screen Saver.reg shortcut.
When you run either of these files, the Registry Editor will display two confirmation prompts—one before making the change and one after making the change.
Tags: Change, Defragmenting, dialog box, Disable, Disable Screen Saver, how, making, multistep, onfirmation prompts, operation, Properties, registry, Registry Editor, screensavers, Shortcuts, time, verified, Win XP
Posted in tricks | No Comments »
Tuesday, June 17th, 2008
You can set the boot time in windows XP as your wish if you are install two operating systems on same computer, for example window 2000 with windows XP or more than two. Yow can do this with editing Boot.ini file. Here you can also set the sequence for operating system which operating system boot first.
First Right Click on My Computer option and then select its Properties. In next dialog box open Advanced tab button. Under Startup and Recovery, click on the Settings button. Use the spin box “Time to display list of operating systems” to set the number of seconds you want the system to wait before automatically starting the default operating system. Here you will set time in seconds and its range start from 0 and ends with 999 seconds.
After set the time, then click OK option to close the dialog box to save your change. The next time you restart, the new time will take effect.
Tags: boot Time, My Computer, operating system, Properties, windows XP
Posted in Uncategorized | No Comments »
Tuesday, June 17th, 2008
If you want to upgrade your computer, the new monitor is the easiest way to upgrade your computer, because if you have old monitor with new PC, your monitor slow down the system to download image on the screen. The main change with new monitor is the increased screen resolution, fast refresh rates in which a monitor will refresh a image on the screen.
If you want to change the refresh rate of your monitor, Right click on Desktop > Properties > Settings then open Advanced options. Here on the Monitor tab, go to Refresh Frequency list, Here you can change your Monitor frequency with new refresh rate. The default frequency setting of old monitor is 60 Hertz, but your monitor may support more than 60 hertz. First check your monitor manufacturer documentation about your monitor supports. The higher refresh rate reduces the flicker problem on your screen.
Tags: download image, Monitors, old monitor, problem, Properties, screen resolution
Posted in Uncategorized | No Comments »