What Is a HTML Wrapper?

[ad_1]

I have content that needs to be embedded in a HTML wrapper. What is that? How can I possibly do this? An HTML wrapper merely refers to a very basic empty HTML page. You would typically enter your embedded content within the body of a HTML wrapper then publish your page to see the embedded content in a typical HTML format.

It’s easier to manipulate and modify an HTML page using an HTML editor such as Dreamweaver or Kompozer, but you can also create the HTML wrapper for your content using a simple text editor.

1. Open a text editor such as notepad.

2. Paste the following into the text editor minus the [ ] symbols.

[html]

[head]

What Is a HTML Wrapper?

[/title]

[/head]

[body]

[/body]

This is very basic. You’ll want to add a title between the What Is a HTML Wrapper? and [/title] tags. You most likely will want to add a metatag in between the [head] and [/head] and tags as well. (Go to http://www.w3schools.com/tags/tag_meta.asp for more information on metatags).

Your content will be pasted in between the [body] and [/body] tags. This will allow your content to be displayed on the webpage. If you want to center the embedded content add a [center] tag just before the embedded content. The centering will still work without the closing tag, but it is a good practice to include it anyway.

For example:

<center>content that is centered. </center>

Once you are through you will want to save your text editor file as a HTML file. If it is to be the main page of your site naming it index HTML is standard. This is a very basic example and there are other ways to go about this.

The basic HTML wrapper is cross platform compatible and easy for even beginning HTML scriptors to master.

[ad_2]

Source link

The 3 Most Important Web Languages to Learn

[ad_1]

I have often been asked which web languages someone with no prior experience in coding, scripting, or programming should learn, and in what order. So I’ll start by giving the three most important web languages in use today, and then go on and introduce other languages that would be helpful to know once you have the basics down.

1. (X)HTML. HTML (Hypertext Markup Language) is the primary markup language of the web, and is used to build and structure web pages. Everything you see that is not styling or animation is primarily built using HTML. I’m referring here specifically to text, tables, and forms.

There are several forms HTML can commonly take: HTML 4.01 Strict or Transitional, XHTML 1.0 Strict or Transitional, and HTML 5. XHTML (Extensible Hypertext Markup Language) is really just the union of HTML and XML, and is very similar in its markup to HTML, but is designed with XML’s extensibility (and strictness) in mind. As a small example, while an HTML 4.01 image or break tag would not need a trailing slash, an XHTML image or break tag would need a space and trailing slash before the tag is closed. This is because in XHTML, every tag that is opened must be closed, even if it is an empty tag.

The difference between using Transitional or Strict for both HTML and XHTML depends largely on how well you write your code. If it is written using strict rules (and no legacy HTML from the olden days) and validates under this configuration, then it can be Strict, and will be more compliant and standardized. Otherwise, if it’s imperfect or contains some legacy HTML, it would be Transitional, so it can still be validated and the browser can know how to handle it.

At some point in the evolution of these web markup languages, there was a question of what form the future would take: XHTML 2.0 or HTML5. HTML5 was being developed by individuals from Apple, Opera, and Mozilla, while XHTML 2.0 was being developed by the World Wide Web Consortium (W3C). Somewhere along the way, HTML5 won out on being the next standard for the web. Today, HTML5 is not yet fully compliant (not until about 2014), but it is where the web is heading.

So with all these choices for HTML, what should you choose to learn first? I would suggest learning either (or both) HTML 4.01 or XHTML 1.0 first, and then go on to HTML5 if you want all the exciting new features it has. Be warned, however, that HTML5 is not fully compliant, and older browsers, especially Internet Explorer, don’t like it.

2. CSS. CSS (cascading style sheet) is a style sheet language that gives an HTML document good looks. It defines the presentation of a web page. When we refer to CSS, we’re referring to colors, background images, text fonts and sizes, and element positioning and size. Well-written web pages use HTML for structure and content only, and CSS for presentation. It allows different stylesheets to be used on the same web page for different reasons: accessibility (screenreaders), mobile devices, print media, and many other reasons. One web page can look very different depending on which stylesheet is used. Have a look at CSS Zen Garden to see this aspect of CSS in action; the HTML remains the same but the design changes depending on the stylesheet selected.

Like HTML, there are a couple of different forms (called levels) CSS can take: CSS2 (and 2.1) and CSS3. Both are very similar at the core, but CSS3 goes hand-in-hand with HTML5. Thus, though it has some great new features (like rounded corners, gradients, and shadows), some of these features are not fully compliant. Therefore, choosing what to learn in CSS is less about choosing a level and more about choosing rules and properties that are compliant to the browsers of your target audience, and Internet Explorer or older browsers are usually a large part of that audience.

3. And now we get to #3, where I must ask you why you want to learn these web languages. The third web language to learn depends on whether you want to build dynamic web pages and web applications (and become a web developer) or whether you want to design web sites (and become a web designer). Whichever path you choose, you’ll need HTML and CSS. If you wish to be a designer, and put web development on the back burner for now, I would suggest moving on to JavaScript/jQuery. But if you wish to develop dynamic sites, I would suggest going on to PHP and catching up with JavaScript/jQuery later; just know that if you go the PHP route, you will probably want to get around to JavaScript/JQuery at some point. So on to #3.

3a. JavaScript/jQuery. JavaScript is a client-side scripting language that allows animations and user interaction with the web page. Think gallery slideshows, form validation, annoying popups, tabs, tooltips, etc. You need HTML and CSS for all this, of course, but JavaScript gives it life.

JQuery, on the other hand, is not a language, but rather a JavaScript library. It’s simply a way to simplify client-side scripting. What would take JavaScript lines and lines of code, jQuery does in a few lines of code. Their motto, “Write Less, Do More”, is very true. Depending on how much you want to do or how thoroughly you want to understand JavaScript, you could easily learn just jQuery and forget all about JavaScript. There are also many tools and plugins for jQuery that simplifies the process even more, and makes learning a whole new language a less daunting experience.

3b. PHP/MySQL. When you get into PHP (PHP: Hypertext Preprocessor, originally stood for Personal Home Page), you’re no longer writing client-side code; you are now writing server-side code. PHP is a server-side scripting language that allows a user to no longer just interact with the web page, but now allows him or her to interact with the server. Coupled with MySQL, PHP allows communication with a database, where records can be created, stored, and retrieved. PHP is embedded in documents with a.php extension, but is used within HTML. So even though a file may have a.php extension, it could still work like an HTML page without PHP, or it could be used as an HTML page with embedded PHP.

Like HTML and CSS, there are different versions of PHP. Which version you choose to use depends mostly on which version the server supports. PHP5 is currently the best version, though some code that was allowed in older versions is not allowed in PHP4 or PHP5, though it’s just as well since most of these codes were security weaknesses.

There are also a couple of different ways of programming PHP: OOP (object-oriented programming) and procedural. OOP programming (introduced in PHP3 and improved in PHP4 and further changed in PHP5) borrows object-oriented methods used by other programming languages (like Java, Perl, and C++) and uses them in PHP, and helps to cut down on the amount of code used (by making code reusable). Procedural programming is mostly old-school since it is less efficient, but it may be a little easier for beginners to understand.

And what’s next? If you took the route of JavaScript/jQuery, the next language to learn would be PHP; and if you took the route of PHP, the next language to learn would be JavaScript/jQuery. After you have all of these languages under your belt, then it would be time to fuse JavaScript/jQuery and PHP with AJAX (Asynchonous JavaScript and XML). AJAX is not a language, but rather a set of technologies or methods that use JavaScript to interact with PHP, allowing a user to interact with a web server without using page reloads. AJAX is used in searching (such as when a list of suggestions appear when you’re typing), forms (again, suggestions, or checking with the server if a username is taken, or populating a dropdown list depending on previous user choices), and many other applications. It’s simply a really cool way to bring all of these languages together to create a dynamic, user-friendly application.

So those are my suggestions as to which web languages to learn when starting out, and in which order. It may seem like a lot, and for some people it may seem like too much, but I have found that learning a web language is just like learning a foreign language. Fluency comes with practice and usage, and the more languages you know, the easier it is to learn another one.

[ad_2]

Source link

Landing Pages – How to Create a Free Landing Page

[ad_1]

Are you starting out with a string budget? Have no experience building webpages? You know you need your own landing page, squeeze page or opt-in page. But if you don’t have the money in your budget to pay for it, and need to do it yourself, where do you begin? I’ll give you simple step-by-step instructions to walk you through the process using a neat little site called BlinkWeb. You can do this with no technical experience whatsoever and best of all…it’s FREE!

Sign-Up for Your FREE Account

Simply go to BlinkWeb.com and sign up for your free account. Then there will be a button that says ‘Create a New Site.’ Click on it. BlinkWeb is a place where you can create free websites. So, they give you different options as to the type of site you want to create. In this case you’ll choose the salesletter style for your landing page.

The next step is entering a title for your landing page. Of course it should be pertinent to your offer. It’s even better if your title contained keywords relating to your site. This in essence is the domain name of your site.

Creating the Landing Page

After you name the page, you’ll be taken to the page builder. There are four boxes on the left-hand side:

Editor Tools

Widgets

Layouts

Pages

Editor Tools and Widgets are basically drag and drop menus. You can choose where to place your title, paragraphs, images and videos. You decide the order. To keep it simple you can being with a title box (which is your headline), then follow with a short paragraph. Make sure to really convey the benefits because this is going to capture your customer’s attention.

I’d also suggest you either have a quality image or video on your page. People are visual and giving them something to look at will increase your conversion rate. For image and paragraph choose image/paragraph under Text Tools. For video and paragraph choose video/paragraph under Video/Images.

Cool Tools

Here’s something really cool. Under Widgets, there’s a section called Sales Pages. It makes it really easy to incorporate bullet points–which is the check list. And there’s also a testimonial box. All the work has been done for you. Simply choose the tool and type in your text.

Under layouts you select the template you’d like for your site. Remember a plain white background is best.

Now for the most important part. The Opt-in Box. The tool you need is Custom HTML and it’s located under the Advanced section in Widgets.

Note: You will need a account with a contact management company such as Constant Contact or AWeber for this to work.

Simply create the actual opt-in box with whatever software you use. Then copy the HTML code that’s generated and paste it in the Customer HTML box on BlinkWeb. You will have an opt-in box right on your landing page and all the names and email addresses of your customers will be collected. No need to export information, it goes directly to your contact management software.

Be sure to view your page before you publish it. Check the spacing and make sure everything is “above the fold.” For more tips regarding copywriting, landing pages, opt-in pages, visit the website. Learn more secrets that top internet marketers use to set their business apart from the masses.

[ad_2]

Source link

Presentation Layer in Website Design

[ad_1]

As we are all aware, there are always two sides of every website design. The visual side that all users see with all the graphic elements, buttons, pictures and the side behind it, which is the code that is responsible for the functionality of the website. How to achieve the balance?

The enabling side does not contain only one type of code, but it encompasses different ones. First off all it is HTML code, which creates a framework in which to embed CSS (Cascading Style Sheets) or programming languages such as PHP. In other words HTML is used to structure the content on the page, while CSS allows treating your website content and its style separately and programming languages communicate instructions to the computer.

HTML itself does not power such effects as drop down menus or carousels. There is a code which is expressively dedicated to the user interface while other code is used to process data and connect to database. The ‘presentation layer’ refers to graphical interface as well as to the code that powers it, including the code that controls interactive elements such as drop down menus.

Presentation code includes:

  • HTML and HTML 5
  • CSS
  • Scripting languages such as JavaScript, jQuery and Ajax.

Usually all those languages are skilfully weaved together in order to create a visually attractive and highly functional website design.

1. Creating multimedia interface

Animated and immersive design is achieved through the use of either Adobe Flash or combination of HTML, CSS and other scripting languages mixed together.

For many years Adobe Flash was in the lead, but it started to change. Nowadays with the development of HTML 5 and CSS we are able to increasingly replicate much of the interactive and animation effects.

HTML 5, the most recent edition of HTML has made a huge step forward in terms of presentation layer design capabilities. It provides an improved toolkit of elements and properties and acknowledges the way designers work and use particular elements. For example it allows designers to define a navigation group with the new ‘nav’ instead of the previously used ‘div’ element. The animation and interaction design support features of HTML5 have also improved impressively, and the fact that HTML5 is supported on mobile browsers such as Apple’s Safari has opened up the web design possibilities.

A few words about Adobe Flash

Flash is an animation and interactive technology that enables to create highly immersive interface. As for implementation of Flash element in website design the process is quite simple. The component developed in Adobe Flash is exported as a self- contained .swf file and in exactly the same way as an image, the .swf file is embedded within a HTML page. The .swf file can either be a small portion of the page or it can literally be the entire interface. It must be noticed that users must have the Flash player installed in their browser in order to view a page featuring a .swf component.

Despite the capability of creating impressive user experience using Flash has some disadvantages. The most significant one is the fact that the Apple mobile platform simply does not support Flash files. Therefore, the website created in Flash must offer an alternative version of the site for (Apple) mobile viewers (of course only if the market is important enough to them). The invitation for the user to download the latest version of the Flash player on the iPhone is an irrelevant button, since even if they did download Flash the site would still not be accessible.

HTML5 – Flash alternative

As mentioned earlier, combination of HTML 5, CSS and jQuery code now make it possible to reproduce animated websites that were only possible in Flash. Using ‘canvas’ element it is now much easier than ever to design rich and animated user interface. Most modern desktop and mobile browsers support the HTML5 standard which makes it possible to create design that works across a multitude of platforms.

1.1 DHTML, JavaScript, jQuery, and Ajax

Bear in mind that HTML just forms a structure for a content. Scripting languages such as JavaScript, Ajax, and jQuery which control the behaviour of user interface elements and content displayed on a page are woven into that structure.

JavaScript is a dynamic scripting language that is capable of complex animation and interaction effects, such as creating a drop-down menu or an expanding window layer. It allows to interact with the user, control the browser and alter the web page content that is displayed. When JavaScript is implemented into HTML, the HTML is then referred to as ‘DHTML’. Dynamic HTML (DHTML) allows to create interesting interactive components and animations.

jQuery is a simplified form of JavaScript that focuses on the commonly-used interactions between JavaScript and HTML. It is designed to make it easier to navigate a web page. jQuery is a free, open-source software and is available online. You can copy and paste ready scripts into your web pages and customize them to serve your purposes. Using jQuery, you can create animation and interaction design effects with much less code than would be required with JavaScript.

Examples of jQuery effects:

  • Expanding and collapsing according windows
  • Carousel image rotation
  • Image zoom upon rollover etc.

Ajax (Asynchronous JavaScript and XML) allows data processing such as sending or retrieving data to occur in the background (asynchronously) without interfering with display or behaviour of the web page. Therefore reloading the page or clicking an “update” button is not required and data on the page can be refreshed/updated automatically.

1.2 Advanced CSS Graphic Effects

In the past, in order to create a graphic element, a button for example, we used to rely on bitmap graphics such as jpeg or gif. Not only do they increase the load time of the web page but also they have to be created by designers familiar with software such as Photoshop, and then they have to be hand-changed every time you wish to change the look of the site.

Nowadays CSS is offering increasing levels of stylistic control over the appearance of elements. It’s now possible to add gradations, rounded corners, reflections, and soft drop shadows to text and elements simply through code.

There are quite a few useful CSS graphical style controls that we can be implemented to avoid the use of bitmap graphics in building user interface.

The advantages of using CSS for our user interface include:

  • Faster download times – CSS code is written just once, and can be applied as a style to any graphic or text element;
  • Scalable design – CSS code allows you to apply scalable attributes to fonts and elements;
  • Easy maintenance – In order to change the size, colour, and visual effects of a button, text, or design element, we simply change values in the CSS code, and the change will be applied to all elements assigned to the particular style;
  • Accessibility – in CSS we are using actual text for our buttons and interface elements, and these are tagged and identified in a way that screen readers can digest and translate for users who rely on such devices.

1.3 Responsive design

The most recent trend in website design is ‘responsive design’. It is an approached aimed at creating websites in a way that provides an optimal viewing experience, easy to read and navigate across the wide range of devices. When the user changes the size of their browser window, the web page updates immediately in order to optimally display in the ‘view port’ size. View port is a new term designers use to refer to not only different desktop browser sizes, but also mobile devices which all have different fixed screen sizes.

Responsive design is possible thanks to the ‘media queries portion of the CSS3 specification. It recognizes the browser’s size and tells the page to load the appropriate style sheet, for example ‘widescreen.css’ or ‘mobilescreen.css’. It is possible because different style sheets contain different layout systems, font sizes, and image optimization settings.

The last but not least is getting a creative ideas for user interface. There are plenty of inspirations online. It would be advised to analyse good design practices, break them down to essentials, and see how some of them can be adapted for application in our own field.

[ad_2]

Source link

Selling Scripts That Work

[ad_1]

The right selling scripts can catapult your sales to the next level. Not using prepared scripts and relying solely on 100% improvisation will block more sales opportunities than you can imagine.

I believe it’s ironic that a majority of professional salespeople avoid using prepared scripts because they don’t want to sound “Canned.”

Instead, these same salespeople rely exclusively on intuition and instinct. Do you have any idea how many telephone sales calls begin with, “I know you’re busy, so I won’t take up much of your time.”

There’s a huge difference between “Sounding canned” and “Being prepared.”

Do you know the Pledge of Allegiance? Can you say it without any hesitation? My guess is – you can do it.

How do you feel when you’re standing up and reciting the Pledge of Allegiance? Are you filled with pride? Doesn’t it make you feel good?

Let’s examine this briefly. In grade school you were given a script – which of course had the words to the Pledge. You memorized these words. You recited the words over and over again until you know these words like the back of your hand.

This year Daniel Day-Lewis won an Oscar for his work in “There Will Be Blood.” Daniel Day-Lewis started with a script and won the coveted Oscar for Best Actor. From script to stardom!

I hope you see the connection. Using a script actually makes you sound better. When you know what the words are you can focus on breathing life into them.

Selling scripts don’t sell, salespeople do. Salespeople who use selling scripts sell more.

How important is the telephone to your selling process? Let’s start with the end in mind. Imagine you have a customer for a lifetime. How did it all begin? Probably with a telephone call.

How important then is your first telephone call to every sales prospect? On a scale of 1-10 it probably deserves a 17. In fact, you can’t think about closing the sale without thinking about opening the door to your sales prospect.

Here are six selling tips you can use when preparing your selling scripts.

1. First of all, be yourself. It’s a lot easier than trying to be someone else.

2. Turn the call into a conversation with your sales prospect. Remember – don’t read, just talk.

3. Think about saying something your sales prospect has never heard. For example, “I’m calling to see what we can do to help you consider our line of (Insert your product/service here).”

4. Have a 5″ X 7″ mirror sitting close to the phone to make sure you’re smiling throughout the entire sales call.

5. Periodically you should record your end of the phone call. Pay attention to your volume, inflection, pacing, and your tone throughout your sales call.

6. In sales, preparation and practice separate the Willy Loman’s from the Quintessential sales pros.

The kiss of death for any sales representative is to call a sales prospect and sound like every other salesperson who’s ever called your prospect. There is only one way, at least that I’m aware of, not to sound like everyone else.

It boils down to preparation and practice. The more you prepare and the more you practice the better you’ll sound to your sales prospect.

Once you prepare a selling script that works for you, you’ll never suffer any anxiety when calling sales prospects.

Using the right words is one of the best ways to warm up your sales prospects.

Why take chances when you can choose the right words.

A good script when spoken, won’t sound like a script. If you doubt me – ask Daniel Day-Lewis.

From Selling Script to selling success.

[ad_2]

Source link

Advantages and Disadvantages of JQuery

[ad_1]

Recently I experimented with a jQuery event calendar on our Booking System. Our previous version uses ASP.NET to build the booking chart as a whole on the server and then renders the lot to the browser. It was a bit slow and clunky, but worked.

I wanted to have a PHP version of the Room Booking System so did a quick port from the ASP.NET C# to PHP, and then I dropped the jQuery fullcalendar component on the page. I used a web service for the data which was still written in C# against a Microsoft SQLServer database.

On a little more tinkering and refactoring, I found I could get rid of almost all the PHP/.NET code as it was only used to initialise the page. Now I was left with a page with effectively just HTML and JavaScript using a AJAX to call a JSON data feed from a REST web service.

The effects were stunning! Besides looking nicer, the speed of update was incredible – like a Windows application. Of course, this is achieved because the page runs almost entirely in the browser and calendar navigation may request just small amount of data using AJAX against the web service.

Could I write the entire application like this?

It reminded me of programming in the 1990’s. Web pages were HTML with a bit of JavaScript; we then added a little ASP to get data from a database and stick that on the page. Getting data on a page was relatively easy even then; the problem has always been when we want the user to interact with it. Even the simple stuff, like only allowing a numeric digit into a text box, checking for valid date, data grids or even simple popups were not as easy as in a Windows app.

Why? Because pure JavaScript is slow to write, it’s easy to make mistakes, difficult to debug and you’re at the mercy of whichever browser the user has preference for.

Programmers looked for other means and found them in applets, DLLs,.NET, JSF and other technologies and server frameworks. I moved on to ASP.NET because it took the drudgery out of programming, automatically generated the JavaScript and was easy to write and debug; a much friendlier model. It still is, but jQuery and other JavaScript Frameworks are now threatening the status quo.

Microsoft has adopted jQuery in a big way and it will replace the AJAX Toolkit. Many software developers have already adopted jQuery or YUI. Combined with HTML5, these JavaScript Frameworks may pressurise Flash and Silverlight. jQuery certainly has a place in the near future of web development

Can I just use jQuery and nothing else? Maybe – but not yet, not entirely. As impressed as I am with jQuery, I feel it’s just one of the tools in the software developer’s toolbox. I’ll use jQuery more and more but I’ll be using.NET and PHP too. Here’s how I summarise it:

For and Against jQuery and JavaScript Frameworks

FOR:

  • Good User Experience, close to a Windows GUI
  • Much easier to use than plain JavaScript
  • Impressive speed
  • Coders don’t have to worry about Browser differences
  • Reduces Server Load as fewer round-trips
  • Widely used, good community support
  • Many components already developed
  • Open Source

AGAINST:

  • You probably still need a Server framework for initialisation and Session management
  • You need another app to supply your data (like a web service) written in another language (like.NET, Java or PHP)
  • In larger apps, slower to code than PHP or ASP.NET
  • You need to understand CSS
  • Can still be difficult to debug, especially if scripts interfere with each other.
  • Source code is difficult to protect
  • Can be a little cryptic to read

If you haven’t tried jQuery then you should definitely do so. It’s easy to get into and will enhance your web applications

[ad_2]

Source link

What’s New in Latest Microsoft Dot Net 4.5 Version?

[ad_1]

The newest version of Microsoft .NET framework has come out in 2011 that gives more functionality to web application development solutions. The latest version is known as version 4.5 which is an in-place update to all the previous versions.

The basic difference between this edition and previous editions is that developers could run all previous versions on their system at any time. It is because previous versions of .NET were side-by-side releases rather than in-place releases. Version 3 and 3.5 were also in-place updates to version 2 but both are compatible with recent side-by-side dot net 4 release.

There are some of the changes made in the core of the Common Language Runtime (CLR), Windows Presentation Foundation (WPF), Windows Communication Foundation (WCF) and few other components. After .NET version 4.5 is installed in the system, the developers will be able to design the applications in a much faster way. There are various features added in ASP .NET 4.5 developer version. Some of the features are:

· Developers have support for new HTML 5 form types

· Provides support for model binders in web forms that bind data controls directly to data-access methods

· Reading and writing HTTP requests and responses are possible in an unsynchronized manner.

· Support for handlers and modules is easy

· Provides support for WebSockets protocol

· In ScriptManager control, it provides support for content distribution network fallback

· Provides protection from cross-site scripting attacks by incorporating encoding routines from the AntiXSS library.

· Improved performance by properly handling client script

· Complete support for unobtrusive JavaScript in client-side validation scripts

Many reliable dot net development companies have trained their programmers to use this latest version of dot net technology. This has helped them to improve their efficiency in developing more robust applications.

If you are in need of .NET development services, you can consult Microsoft .NET developers about this latest version and understand the benefits that can boost your web applications in a bigger platform. The consultation will help you to have clear idea about the returns from your investment on .NET services. Therefore, it is important to have initial consultation before hiring web developers from a reliable .NET development company.

With latest .NET technology, you will get out-of-the-box solution to meet your customers’ requirements on time and within budget. There are also offshore dot net development companies that are competent enough to design web application development solutions at cost-effective prices. It is important that you properly plan your search to find the best company in this particular field of technology.

[ad_2]

Source link

CSS Tables – How to Create a Table Using CSS

[ad_1]

To ensure consistency across pages (and to “get with the times”, so to speak) instead of defining each element of each table separately, define the properties of the table and cells in your Cascading Style Sheet (CSS).

The “table” definition defines the outermost edge (is the container for) the array of cells.

The “td” definitions define the character of the individual cells.

A simple table definition

table.main

border: 5px solid double;

border-color: #006400;

The word “table” tells the browser that you are defining a table.

The “.main” is the name of the table style. This way you can have several different tables styles defined for different purposes.

In the example, above, the table with have a thick dark green solid double border. You could replace the “solid” with the word “dashed” or “dotted” to make a dashed or dotted border. (See the note at the bottom of this article for a notice about different browsers)

Now, to create the table with the “main” style in your HTML page:

(table class=”main”)

Notice, for display purposes for this article, I have used parentheses in place of the opening and closing brackets due to display limitations. In practice you would use “” Instead of opening and closing parentheses.

Defining the cells:

Let’s suppose you would like the cells in the first column to be shaded gray to indicate labels. The text we want a pale blue. Lets define the name of the cell style “column1” for simplicity.

Again, the “td” tells the browser we are defining a table cell, “.column1” is the name of the style so we can easily remember that this is the format for the cells in column 1

td.column1

border: 1px solid;

border-color: black;

background-color: #cccccc;

color: #0000EE;

Cell Padding:

We can also position the text inside the cell by using padding. Padding is defined from the top, going around the cell clockwise. (Top, right, bottom, left)

So we could add a line like this: padding: 24px 12px 24px 4px;

This would make the top and bottom padded by 24 pixels, and the left and right four pixels respectively.

So our cells in the left column would look like:

td.column1

border: 1px solid;

border-color: black;

background-color: #CCCCCC;

color: #0000EE;

padding: 24px 12px 24px 4px;

The cell, above, has a 1 pixel thick black border, light blue text, pale gray background, with top and bottom padded 24 pixels, 4 pixels padding left and right.

For all the other cells, we want a white background, same padding, with black text and a single black border.

td.default

border: 1px solid;

border-color: #000000;

padding: 24px 12px 24px 4px;

background-color: #FFFFFF;

color: #000000;

Let’s suppose you have a cell you wish to draw attention to. You can give it a yellow background. (We named the style “highlight” to remember easily):

td.highlight

border: 1px solid;

border-color: #000000;

padding: 24px 12px 24px 4px;

background-color: #FFFF00;

color: #000000;

A simple little 3×3 table using CSS: (Remember, use “” Instead of opening and closing parentheses.)

(table class=”main”)

(tr)

(td class=”column1″)

Title Row 1

(/td)

(td class=”default”)

data, data, data…

(/td)

(td class=”default”)

data, data, data…

(/td)

(/tr)

(tr)

(td class=”column1″)

Title Row 2

(/td)

(td class=”default”)

data, data, data…

(/td)

(td class=”highlight”)

data, data, data…

(/td)

(/tr)

(tr)

(td class=”column1″)

Title Row 3

(/td)

(td class=”default”)

data, data, data…

(/td)

(td class=”default”)

data, data, data…

(/td)

(/tr)

(/table)

Note: Be careful. CSS tables may work differently with different browsers. Be sure to see what your finished product looks like in various browsers before considering the project a wrap.

[ad_2]

Source link

How to Create a Social Networking Script Using Open-Source?

[ad_1]

Such is the power of open-source that even the White House website has acknowledged it and made a switch to Drupal, a popular open-source CMS to manage websites. Even social media scripts are being designed on the open-source platform so as to launch powerful social media campaigns through social media websites.

So what exactly is open-source? It is nothing but a simple approach towards designing, development and distribution of software along with its source code and making it open for public for further development and maintenance. One can build upon a social networking script using a free to use open-source platform such as Drupal.

Drupal has gained prominence as an ace free available technology and many tech companies are designing services such as Social Networking using the social networking scripts designed on the open-source platform.

One can easily create a social media script using Drupal, which according to my experience of using various most robust technology which is constantly re-inventing itself with every newer release. Many popular websites on the internet have deployed Drupal and are benefiting from the fantastic functionalities that their Drupal-powered websites are delivering now.

The Following modules can come in handy in implementing a social networking script:

o Activity (Tracks activities which people do on your

social networking site. Eg. Jim is Louis’ latest fan)

o Appbar (A toolbar at the bottom of the window with links and AJAX-driven notifications just like Facebook)

o Invite (helps in sending and tracking invitations which are an important element on building upon a network)

o Comment Notify (a utility to alert viewers and notify them of areas where comments were left after their interactions)

o Content Construction Kit (CCK lets you make any type of content allowing you to add custom fields to nodes using a web browser)

o Private Message (Enables messaging from user-to-user)

o FlagFriend

o NodeProfiles

o Event

o Friendlist

[ad_2]

Source link

HTML5 Development

[ad_1]

HTML5 development is an ongoing effort of a consortium of many software developers and other interested industry groups to update and revise Hypertext Markup Language (HTML), which is the core language at the heart of the World Wide Web. The Web Hypertext Application Technology Working Group (WHATWG) started work on HTML5 in 2004 which is being edited by Ian Hickson of Google, Inc and David Hyatt of Apple. The HTML5 specification standard is in various draft states at at W3C (World Wide Web Consortium) which began working with the WHATWG draft of HTML5 in 2007.

As with almost any process run by a giant committee, or group of committees, HTML5 development is running behind its originally envisioned schedule for completion. While some parts of the HTML5 specification are stable and being implemented in new products, the entire HTML5 project is not expected to be complete until as late as 2022. Having an industry standard agreed upon by all participants is the goal of this complex undertaking.

HTML5 development is intended to produce a workable open source platform that can be used in browser applications throughout the internet by multiple vendors so that anyone can contribute to the development of new applications and no single vendor will have control over specific aspects of the internet. HTML5 could potentially make plug-ins like Adobe Flash, JavaFX, and Microsoft Silverlight obsolete, as the new platform is expected to incorporate streaming video capabilities into browser applications.

Despite the long term development schedule, some aspects of HTML5 are already being implemented in new Browsers. Firefox 3.5, Google Chrome, and Microsoft Internet Explorer 8 all incorporate some features of HTML5. Canvas technology, invented by Apple, is a 2-D browser based graphics feature. Canvas has been included in Opera Software’s new browser. Opera plans to implement HTML5 video capabilities in its browser soon. Apple’s Safari browser supports Canvas and also has some HTML5 video and audio features.

As an effort to produce a uniform standard for all web browser development, HTML5 has many strengths and weaknesses. The long time required for completion of the project reflects the complexity of the effort. The fact that all of the major players in the internet technology industry are involved in the project is a big plus, but it also causes some potential problems.

For example, trying to incorporate video capabilities into browsers without the need for proprietary plug-ins such as Flash or Silverlight threatens Google’s interests in YouTube, which relies on Flash technology, and Microsoft, which has a huge investment in Silverlight. Apple is heavily involved in trying to incorporate HTML5 into many of its mobile browser applications. Its Sproutcore framework is intended to speed the development of applications based entirely upon web standards without the necessity of external plug-ins.

As HTML5 continues to evolve, it will simplify development of applications that will be compatible with all web browsers. At Optimum7, we are dedicated to performance and SEO capabilities of HTML5 as well as user-friendliness.

[ad_2]

Source link