In this blog I hope to provide information to aspiring web designers, and web developers looking for answers to technical problems. It also serves as an archive of solutions I have found, for myself.
Sunday, November 6, 2011
Editing CSV Files
"Now, You Can Start Creating Your Very Own Minisite In Just A Few
What are CSV Files?
Wednesday, October 12, 2011
CSS Gradient Backgrounds for Dividers
Until IE 9 you were not able to use gradients in IE. Only mozilla based browsers supported them.
To make gradients configure your style sheet to use these lines;
background: #999; /* for non-css3 browsers */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#000000'); /* for IE */
background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#000)); /* for webkit browsers */
background: -moz-linear-gradient(top, #ccc, #000); /* for firefox 3.6+ */
The three lines I just mentioned will gradiate your background on most browsers. Try it and see what I mean.
Sunday, October 9, 2011
Rounded Corners
IE didn't recognize rounded corners prior to version 9. In the past rounded corners were only available in mozilla based browsers, such as Firefox, or Opera.
If you wanted to make rounded corners in IE, you needed to create small images, and use a complicated set of dividers to form the area you wanted to make rounded.
Today, with IE 9.x you can create rounded corners with ease. Rounded corners syntax with CCS3 is border-radius. It is easily added, such as properties are to width or position:
.roundElement {
border-radius: 10px;
}
The following statement adds one rounded corner to each of the elements four corners. A specific border element can be added to each element individually using:
.pearElement {
border-top-left-radius: 7px;
border-top-right-radius: 5px;
border-bottom-right-radius: 6px;
border-bottom-left-radius: 8px;
}
I like to use the shorthand notation:
.oddRoundElement {
border-radius: 12px 5px 12px 5px;
/* or */
border-radius: 12px 5px;
}
Since rounded corner elements and border-radius was not standard, each browser implemented their own prefixed {prefix}-border-radius implementation. For more information see, http://davidwalsh.name/css-rounded-corners.
Friday, September 30, 2011
Note To Self About Page Layouts
When you are laying out a web page, consider what you need to do.
Design your page accordingly.
Always make sure you comment the end of your divider tags, or you may
spend hours, and hours trying to find the proverbial needle in a haystack.
One incorrectly placed tag on a page, a tag without a beginning,
or a tag with an incorrect syntax, will cause complete havoc.
Dividers will always work if placed in the right order, and done correctly.
If you are making an inside tag, do not use 100% height. For some strange reason,
the browser will ignore an inside divider with a height of 100%. If you need
to send dynamic content to an inside divider, either use paging or consider a
incorporating a scroll bar into the divider.
Laying out pages can be a chore, but if you take your time and pre-plan your layouts,
creating web pages can be a breeze.
Friday, September 23, 2011
Rules for Dividers
I've learned that there are many rules that apply to dividers. (Dividers separate area's of the screen.) Rules like those for inside and outside dividers (outside and inside dividers are used in setting rows, and columns).
When you work with dividers there will be many times that you will scratch your head, and ponder for hours. You will try one thing after another, until you get it right.
Inside dividers should be fixed widths, one column cannot be longer than the other; otherwise, you will have an overlap. When setting up rows and columns, the widths for a divider must be adjusted to account for borders.
Borders can offset the width of a divider by several pixels. Arrange your dividers carefully. A divider with a dynamic height will be handled different by the browser, than a divider with a fixed height.
There are many more rules that apply to dividers, than the ones I have mentioned in this blog entry. I will update this blog entry with new information, as I come across it.
When you work with dividers there will be many times that you will scratch your head, and ponder for hours. You will try one thing after another, until you get it right.
Inside dividers should be fixed widths, one column cannot be longer than the other; otherwise, you will have an overlap. When setting up rows and columns, the widths for a divider must be adjusted to account for borders.
Borders can offset the width of a divider by several pixels. Arrange your dividers carefully. A divider with a dynamic height will be handled different by the browser, than a divider with a fixed height.
There are many more rules that apply to dividers, than the ones I have mentioned in this blog entry. I will update this blog entry with new information, as I come across it.
Monday, September 19, 2011
Ajax Ready States
Ajax ready states tell the browser what to do depending in different scenarios. What
to do while processing, or when a connection is complete.
They are as follows;
0: not initialized.
This is the state of the connection before the open
command is called.
1: connection established.
This state occurs after you have called the open command, but
before you have called the send command.
2: request received.
This occurs when the request has been sent, and at
the headers are available.
3: answer in process.
Here the information is being processed. At this point
you can display a wait message to the user.
4: finished.
This is the state when the request has been completed. At this point
you clear the wait message, and assign some other information to the
user if you wish.
Ready states are very useful in handling information being sent, and received from the server. You can display wait messages, and perform other tasks while a request is being made.
As you develop interactive websites, and online applications, you will become familiar Ajax ready states.
to do while processing, or when a connection is complete.
They are as follows;
0: not initialized.
This is the state of the connection before the open
command is called.
1: connection established.
This state occurs after you have called the open command, but
before you have called the send command.
2: request received.
This occurs when the request has been sent, and at
the headers are available.
3: answer in process.
Here the information is being processed. At this point
you can display a wait message to the user.
4: finished.
This is the state when the request has been completed. At this point
you clear the wait message, and assign some other information to the
user if you wish.
Ready states are very useful in handling information being sent, and received from the server. You can display wait messages, and perform other tasks while a request is being made.
As you develop interactive websites, and online applications, you will become familiar Ajax ready states.
Subscribe to:
Posts (Atom)