Wednesday, July 17, 2013

Working with Html textarea

Working with Html textarea

skill level Beginer

To create a default textarea in your webpage use the following code:


<textarea></textarea>

The text area will look like this:
example 1


To make your textarea a particular size use this code:

<textarea rows="5" cols="40"></textarea>

example 2

To center a text area use this code:

<div align="center">
<textarea></textarea>
</div>

As you can see above, we have made a <div></div> tag, meaning that everything between those two tags will be centered when we add align="center" to the opening tag. Here is another code example that explains what i mean.

<div align="center">
<textarea></textarea>
<p>I am centered as well</p>
</div>
example 3

I am in centered as well

Setting the background color for your textarea

As you can see, the textareas examples all have light gray background colors so they show up better on the page. By default, the textareas will be white. However, to set the background color of your text areas you will use the sytle property. Here's how to do it.

<textarea style=background-color:lightgray></textarea>

The resulting textbox using the above html code will look exactly like example 1.

Putting a border around your texarea

<textarea style="background-color:lightgray;border:5px solid green;"></textarea>



Changing the text color

Changing the text, or font color, is similar to changing the background color but easier. To change the text color, simply use this code: color:blue; 






Monday, July 1, 2013

How to speed up your computer


Easy and Fast

These suggestions are things you can do without installing anything on your computer. These tips involve the following:
  1. Clearing out everything you don’t need. This will take you through some of the things that often get overlooked. Over time, your computer gets bogged down more and more when you visit websites.
  2. Getting rid of software you don’t need and will never use. If it’s taking up space and you can honestly say you will never use it, it should probably go.
  3. Defragmenting your hard drive.


1. Delete temp files
To clean old files follow these steps:
  • Click on the start menu and type the word “CLEAN” in the search box. Select Disc cleanup from the results it give you.
  • Select the drive you wish to clean up. The default is typically the C drive. Press “Ok” and wait for it to scan for things it can safely clean.
  • Hit “ok” and then select “Delete Files”
  •   as you can see from picture bellow, I was able to trim almost 4 gigs of space
    from my hard drive.
clean
2. Remove Unused Programs
To remove unused programs do the following:
Warning: Do not remove a program unless you are sure about what it does. sometimes, certain drivers are installed here. Deleting those may prevent some of your hardware from working correctly.
  • Click the start menu. In the search box type “Uninstall A Program”. Chose the option with the same name from your results.
  • This will take you directly to the add/remove programs. Select what you would like to uninstall and keep going down the list of unused programs until you are done.

3. Defrag

To get to the defragmenter in Windows 7 take these steps:
      • click on the start menu and type the word defrag in the search box.
      • When the results pop up, select Disc Defragmenter. You will get a window like the picture shown bellow.
      • Select Analyze disk to determine if your hard drive needs to be defragmented in the first place. when it’s finished look to see what percentage your hard disc is fragmented. If it’s 15% or more then go ahead and click on Defragment disk.
Defrag
There you have it. Keep an eye out here as I will be posting some intermediate and advanced tips in the coming days and weeks.
Enhanced by Zemanta