Tweet
Ever needed to create buttons in pure CSS?
The following is a list of the best on-line CSS code generators available.
This time is an easy post, but, as you may understand, I do need a break sometimes.
Enter and enjoy the list!
Tuesday, 30 October 2012
Thursday, 25 October 2012
HTML5: video on a web page
Tweet
Using HTML5 in order to display a video on a web page is easy and complex at the same time.
You might wonder why I'm saying so and that's why I wrote the following short guide. We will see the syntax, advantages and disadvantages of using just HTML5 to display videos.
The syntax
Let's start from the HTML syntax:
Using HTML5 in order to display a video on a web page is easy and complex at the same time.
You might wonder why I'm saying so and that's why I wrote the following short guide. We will see the syntax, advantages and disadvantages of using just HTML5 to display videos.
The syntax
Let's start from the HTML syntax:
<video width="800px" height="600px" controls="controls">
<source src="test1.mp4" type="video/mp4">
<source src="test2.ogg" type="video/ogg">
Your browser does not support the HTML5 video tag.
</video>
Fairly easy, isn't it? Well, maybe not...Tuesday, 23 October 2012
ASP: CursorType and LockType
Tweet
With ASP we usually connect and retrieve data from a database. We do it almost every day and we use the relative code without really thinking about it. Things are working and we get what we need, however... do we really know what we are doing?
I’m talking about two particular properties: CursorType and LockType.
In my experience, when I first used ASP to open a recordset, I used the two properties without really understanding their significance. But, because I am basically a curious guy, I wanted to understand what those numbers are, why I needed to use them and why I got different results, when changing them.
Let’s see together what are those two properties.
With ASP we usually connect and retrieve data from a database. We do it almost every day and we use the relative code without really thinking about it. Things are working and we get what we need, however... do we really know what we are doing?
I’m talking about two particular properties: CursorType and LockType.
In my experience, when I first used ASP to open a recordset, I used the two properties without really understanding their significance. But, because I am basically a curious guy, I wanted to understand what those numbers are, why I needed to use them and why I got different results, when changing them.
Let’s see together what are those two properties.
Thursday, 18 October 2012
jQuery: hide and show DOM elements
Tweet
I've recently talked with a friend of mine about jQuery. I soon realised that some common methods are not so easy to understand, especially for beginners.
That's why I decided to write this short post. We are going to see how to hide and show a DOM element. Not very complicated, but that's what beginners usually start to do the first time they use jQuery. Understanding the following tricks, will simplify the whole understanding of jQuery.
Follow me...
I've recently talked with a friend of mine about jQuery. I soon realised that some common methods are not so easy to understand, especially for beginners.
That's why I decided to write this short post. We are going to see how to hide and show a DOM element. Not very complicated, but that's what beginners usually start to do the first time they use jQuery. Understanding the following tricks, will simplify the whole understanding of jQuery.
Follow me...
Tuesday, 16 October 2012
Web Development: Firefox 16 and the developer toolbar
Tweet
A few days ago Mozilla has released the new Firefox 16.
There are a few interesting things we should consider in this new release:
1) the incremental garbage collection which improves the browser overall performance;
2) web app support;
3) better CSS3 animations;
4) reader mode for Android devices improves the reading experience;
5) VoiceOver, a text reader for OSX systems;
6) the new developer toolbar.
The last is what we are talking about here: the developer toolbar. Let's see what it can do.
A few days ago Mozilla has released the new Firefox 16.
There are a few interesting things we should consider in this new release:
1) the incremental garbage collection which improves the browser overall performance;
2) web app support;
3) better CSS3 animations;
4) reader mode for Android devices improves the reading experience;
5) VoiceOver, a text reader for OSX systems;
6) the new developer toolbar.
The last is what we are talking about here: the developer toolbar. Let's see what it can do.
Thursday, 11 October 2012
CSS3: can we use it or not?
Tweet
Do you like CSS3? Do you think it gives you a big help in doing things you've never dreamed of?
Are you aware of what browser is supporting your wonderful new CSS?
Let's see those obscure CSS3 properties and whether we can use them freely or not...
Do you like CSS3? Do you think it gives you a big help in doing things you've never dreamed of?
Are you aware of what browser is supporting your wonderful new CSS?
Let's see those obscure CSS3 properties and whether we can use them freely or not...
Tuesday, 9 October 2012
CSS: colours!
Tweet
What would the world be without colours?
We work with colours every day, especially with CSS. But, do we really know what are all the available colours values types?
Well... following the previous post about measurements values - drums roll - here we go with colours...
What would the world be without colours?
We work with colours every day, especially with CSS. But, do we really know what are all the available colours values types?
Well... following the previous post about measurements values - drums roll - here we go with colours...
Thursday, 4 October 2012
CSS: measurement values
Tweet
Have you ever wondered what pc stands for in a CSS file?
Measurment values in CSS can be different and they usually have different use.
It is quite normal to use pixels or percentage and I believe we all consider them the most important. However, when for example we are working on a fluid or responsive layout, we might even need other kind of measurment values.
Let's see them!
Have you ever wondered what pc stands for in a CSS file?
Measurment values in CSS can be different and they usually have different use.
It is quite normal to use pixels or percentage and I believe we all consider them the most important. However, when for example we are working on a fluid or responsive layout, we might even need other kind of measurment values.
Let's see them!
Labels:
%,
centimeters,
cm,
css,
em,
ex,
IN,
inches,
measurement values,
millimeters,
mm,
pc,
percentage,
picas,
pixels,
points,
pt,
px,
value
Tuesday, 2 October 2012
ASP: the InStr function
Tweet
One of the most used functions in ASP is InStr.
In this short article we are going to see how to use it.
startOfStr is optional and it specifies where the search will begin. By default is set to1 (first character of the string). It is required when compare is used.
One of the most used functions in ASP is InStr.
In this short article we are going to see how to use it.
The Syntax
The InStr function has the following syntax:
InStr([startOfStr,]stringSearched,search[,compare])
where:startOfStr is optional and it specifies where the search will begin. By default is set to1 (first character of the string). It is required when compare is used.
Subscribe to:
Posts (Atom)