CSS Fundamentals (Part 1)
November 23, 2008
There are three fundamental building blocks in any CSS files:
1. Element.
2. Class.
3. ID.
Element
An Element is a reference to all of a particular HTML element in the website.
For example:
p
{
text-align: justify;
}
When this applied to website, the CSS formatting will apply to a justified alignment to all <p> tags in the HTML code.
If some paragraphs (<p>) should be center alligned, then we should use classes.
Class
with classes, one can set a class of an element to have different formatting than other classes of the same element.
p.centerAlign
{
text-align: center;
}
this will apply to paragraphs that use class centerAlign.
ID
ID is similar to classes in CSS in that it references a special case of an element. The main difference is that an ID can only be used ince at your HTML document code. For example, they can be used for headers or footers where there should be only one ID per page.
#centerAlign
{
text-align: center
}
DIV doesn’t contain all content in ASP.NET
November 21, 2008
I faced this problem when I created a DIV and contents inside such DIV increase. I found contents goes outside the DIV in the output. To solve this problem, simply apply this option to DIV:
overflow: auto
Done !!
MyPhoneExplorer – Simply explore your Sony Ericsson phone !
November 15, 2008



Connect your phone via cable, bluetooth or infrared
and you’ll be surprised how easy and efficient you can manage your
phone with this compact software. Since it’s first appearance
MyPhoneExplorer evolved into the most popular freeware tool for
SE-phones and is constantly extended by new features.
Features:
- Adressbook – with direct sync to Outlook, Outlook Express, Lotus Notes and Thunderbird
- Organizer
with calendarview and direct sync to Outlook, Sunbird, Thunderbird,
Rainlendar, Lotus Notes, Google and net shared calendars (WebDAV, FTP,
local) - SMS – archive, export, import, excessive messages,…
- Filebrowser with cachesystem to minimize datatransfer…
- Set phoneclock based on atomtime
- and much more. f.e.: calllists, edit profiles, phonemonitor,…
MyPhoneExplorer
is basicly compatible with all Phones from SonyEricsson except P800i,
P900i and P910i. Besides this there exists a few Low-Cost-Phones (f.e.
T200i) which does not have a PC-Interface. If you are using a
Symbian-Phone from SE please note: Its needed to install the PC-Suite
first and the connection with MyPhoneExplorer is only possible throught
USB-Cable.
Vista and USB Bluetooth Adapter
November 15, 2008
Today, I purchased a new iNex USB Bluetooth Adapter instead of my lost one. I plugged it into my Windows Vista based laptop, and tried to install the software bundled with the adapter. As I expected, installation failed since the driver doesn’t support Vista OS.
I tried to use Windows Vista driver search feature to look for a driver online. For the first time, Windows succeeded to find generic driver for USB Bluetooth, WOW. A good point score for Vista.
At first, I’d like to say it was my fault. It was a normal update for Vista that required reboot. after reboot, a service tried to update some registry keys and Mcafee poped-up a message to ask permission. It was supposed to choose ALLOW. but the fault is that I selected BLOCK, and the disaster happened.
After few minutes, I restarted the system, and I noticed that the startup is very slow, and no activity is happening. After the long login, a message appeared saying Windows Cannot Connect with Windows Service, with some long text containing System Event Notification Service.
Windows Update not working, Event Log not Working, System Restore not Working, and even Boot from Last Working Configuration Startup option is also not working. Creating new account (Administrator) is also not working. nothing is almost working !!!
Oh, Internet connection is also not working, Network connection is disabled !!!
After some long search on internet, here is the solution:
Start-> SEARCH for cmd -> press CTRL+SHIFT+ENTER (to run as admin) and type netsh winsock reset
Simply, the problem was solved !!!
Installing Vista Business with SP1
November 11, 2008
Although I stayed last week in installing and running Windows Vista, and I was very angry from it due to the very slow response I found, and The long update process that occur after installing the operating system. I decided yesterday to install Windows Vista with integrated SP1.
Windows Vista SP1 is completely different from the normal Vista, it comes with service pack updates integrated inside the operating system, and such updates are installed automatically with the installation of the operating system. SP1 makes Vista acceptable with huge difference in the performance, and this is the main issue. Vista Performance is the most important issue.
The installation I performed was an upgrade to my Windows XP, so files and settings are not touched. One of the great notes I noticed is that I was putting My Documents folder on driver D, and after the upgrade, it still on D, and the operating system recognized that and kept it on D, which I’m normally accessing it from Computer.
After installation, I stopped some services like Windows Search, which I don’t need. I tried to install Mcafee 2004, but compatbility issue appeared which prevented me from completing the installation. Then, I installed Mcafee Antivirus and Firewall, which stopped the Windows Defender service without any notification from the operating system.