-
Cascading Style Sheet Basics
CSS (Cascading Style Sheets) have been around for a while now, and act as a complement to plain old HTML files.
Style sheets allow a developer to separate HTML code from formatting rules and styles. It seems like many HTML beginners’ under-estimate the power and flexibility of the style sheet. In this article, I’m going to describe what cascading style sheets are, their benefits, and two ways to implement them.
Cascading What’s?
They’re what chalk is to cheese, what ice-cream is to Jell-O they complement HTML and allow us to define the style (look and feel) for our entire site in just one file!They get their name from the fact that each different style declaration can be “cascaded” under the one above it, forming a parent-child relationship between the styles.
They were quickly standardized, and both Internet Explorer and Netscape built their latest browser releases to match the CSS standard (or, to match it as closely as they could).
So, you’re still wondering what a style sheet is? A style sheet is a free-flowing document that can either be referenced by, or included into a HTML document (Kind of like using SSI to call a file but not, if that makes sense). Style sheets use blocks of formatted code to define styles for existing HTML elements, or new styles, called ‘classes’.
Style sheets can be used to change the height of some text, to change the background color of a page, to set the default border color of a table the list goes on and on. Put simply though, style sheets are used to set the formatting, color scheme and style of an HTML page.
Style sheets should really be used instead of the standard , < b >, < i > and < u > tags because:
One style sheet can be referenced from many pages, meaning that each file is kept to a minimum size and only requires only extra line to load the external style sheet file
If you ever need to change any part of your sites look/feel, it can be done quickly and only needs to be done in one place: the style sheet and furthermore, it is done globally.
With cascading style sheets, there are many page attributes that simply cannot be set without them: individual tags can have different background colors, borders, indents, shadows, etc.
Style sheets can either be inline (included as part of a HTML document), or, referenced externally (Contained in a separate file and referenced from the HTML document). Inline style sheets are contained wholly within a HTML document and will only change the look and layout of that HTML file.
Open your favorite text editor and enter the following code. Save the file as styles.html and open it in your browser:
Cascading Style Sheet Example.
h1
{
color: #636594;
font-family: Verdana;
size: 18pt;
}This is one big H1 tag!
When you fire up your browser, you should see the text “This is one big H1 tag!” in a large, blue Verdana font face.
Let’s step through the style code step by step. Firstly, we have a pretty standard HTML header. The page starts with the tag followed by the tag. Next, we use a standard tag to set the title of the page we are working with.
Notice, though, that before the tag is closed, we have our tag, its contents, and then the closing tag.
h1
{
color: #636594;
font-family: Verdana;
size: 18pt;
}When you add the style sheet code inline (as part of the HTML document), it must be bound by and tags respectively. Our example is working with the tag. We are changing three attributes of the ’s style: the text color (color), the font that any tags on the page will be displayed in (font-family), and lastly, the size of the font (size).
The code between the { and } are known as the attributes. Our sample code has three. Try changing the hexadecimal value of the color attribute to #A00808 and then save and refresh the page. You should see the same text, just colored red instead of blue.
An Example Of An External Style Sheet.
External style sheets are similar to internal style sheets, however, they are stripped of the and tags, and need to be referenced from another HTML file to be used.Create a new file called “whatever.css” and enter the following code into it:
h1
{
color: #a00808;
font-family: Verdana;
size: 18pt
}Next, create a HTML file and name it test.html. Enter the following code into test.html:
External Style Sheet Reference Example.
This is one big H1 tag!As mentioned above, you can see that the actual code in whatever.css is exactly the same as it was in the inline example. In our HTML file, we simply place a tag in the section of our page. The rel=”stylesheet” attribute tells the browser that the link to the external file is a style sheet. The type=”text/css” attribute tells the browser that whatever.css is a text file containing CSS (cascading style sheet) declarations. Lastly, the href=”whatever.css” attribute tells the browser that the actual file we want to load is whatever.css.
Conclusion.
Well, there you have it, a quick look at style sheets and how to implement both an inline and external version. Checkout the links below if you’ve never worked with cascading style sheets before. You will be surprised at some of the things you can do with them!Article written by Lee.
-
Formatting HTML Text Using Tags
Formatting HTML Text Using Tags.
As we know there are many elements to a website from graphics to text. In this article we are going to have a closer look at text and, more importantly how we format the text to look like we want it to.The text of the HTML pages we create, as you already know goes inside the <body> tag of our HTML pages but, unless you are using a WYSIWYG editor you can not just click a button and make it appear bold or italic therefore we need to get to know some of the text property tags that can be used to enhance our HTML text. Lets take a look at some of these now.
<b> Any text inside these two tags will appear bold on our page</b>
<i> Any text inside these two tags will appear in italic on our page</i>
<u> Any text inside these two tags will appear to be underlined on our page</u>
<big> Any text inside these two tags will appear BIG on our page</big>
<small> Any text inside these two tags will appear small on our page</small>
<sub> Any text inside these two tags will appear subscript on our page</sub>
<sup> Any text inside these two tags will appear as superscript on our page</sup>There are also things called ‘heading tags’ these will work the same as the formatting tags mentioned above however there are only six of them and they look like this <hx> with the x being replaced by a number from 1-6 the lower this number is in the tag the LARGER our text will become so for example:
<h1> Will be the largest heading text</h1>
<h2> Will be the next smallest heading tag</h2>
<h3> Will be smaller again </h3>
<h4> Will be one size smaller again</h4>
<h5> Will be the second to smallest heading size</h5>
<h6> Is the smallest of the heading tags</h6>Also, you should remember that it *IS* possible to use more than one of the text tags in any single line of portion of text on our web page so for example, if i wanted to have bold underlined italic text my tags for the text would look like this:
<b><i><u>This text is bold, in italics, and underlined</u></i></b>
You will notice from the above example that the tags were opened and closed in the same order they were created this doesn’t have to be done like this but, in the long run, it is easier for you as a webmaster to code your pages this way.
Hopefully this article has given you a further understanding on how we can format out text and you will be bale to put this into practice on the next site you build.
Article written by Lee
-
SMS Marketing To MMS Marketing – WAP Billing Solutions
MMS Billing (Multimedia Message Billing) is going to be one of the next huge leaps forward for the online industry’s, with more and more surfers firing up their cell phones to visit our sites and properties we need to start looking at the ways in which we can ultimately bill these types of customer and this is where MMS Billing comes into play.
MMS Billing – What Is It?
MMS Billing is a method of charging surfers using cell phones for access to your sites and services. Much like how the SMS Billing model works however, rather than solely billing for text or images, you can utilize MMS Billing on a wide range of rich media applications including movies, sound and, flash applications.MMS Billing – What Are The Costs?
The costs for MMS Billing can vary greatly depending on your MMS Billing provider however, as a rough guideline, you can expect to pay anywhere between $0.10 and $0.50 per purchase through the MMS Billing method.MMS Billing – An Overview.
MMS Billing is still in its infancy across the internet however, with more and more sites becoming WAP enabled and, more and more surfers turning their cell phones on to browse our websites this billing model will soon grow to what the current SMS Billing model is today.Article written by Lee
-
Source Code – Eliminating HTML Margins
Since the inception of the very first HTML document, margins existed that surrounded the document, like in the case with this document.
The margins are there to act as a cushion between the edges of the browser and the contents of the page, so it’s easier to read the content.
As good as margins are, wouldn’t it be nice to be able to eliminate them in some cases, where the design of the page calls for their termination? While most webmasters think it is not possible to “flush out” the default margins of a HTML document, it actually is, although only possible in IE 3+, and NS 4+. In this tutorial, I’ll show you how.
Eliminating The Document Margin In IE 3+
To get rid of the document margin in IE 3 and above, so content presses right against the edges of the browser, use the IE exclusive “leftmargin” and “topmargin” attributes:<body leftmargin=”0″ topmargin=”0″>
It’s as simple as that!
Eliminating The Document Margin In NS 4+
To get rid of the document margin in NS 4 and above, use the NS 4 exclusive “marginwidth” and “marginheight” attributes instead:<body marginwidth=”0″ marginheight=”0″>
Putting It All Together.
By putting the two techniques together, we can create a document that flushes out its’ margins in both IE 3+ and NS 4+:<body leftmargin=”0″ topmargin=”0″ marginwidth=”0″ marginheight=”0″>
Try out the above coding on your page, and you’ll see what I mean.
Article written by Lee
-
Moving To A New Hosting Company
Moving to a new hosting provider does not have to be a frustrating task if done properly.
Adult webmasters usually have to upgrade their hosting services once their respective Web sites become popular, usually because their current host cannot provide an effective level of scalability or technical support or, perhaps even the cost of bandwidth becomes to high.
In order to transfer service efficiently, in the event that it becomes necessary, webmasters should ensure that all their content, including Web pages, databases and scripts, are properly archived.
You should always back up your data at regular intervals in case of unexpected data loss or hardware failure. Ensure that all data is archived recursively. This will ensure that all your data is archived and compressed in its original directories, which is very important if you want to retain the full working integrity of your Web sites.
You may also find that your new hosting company may be able to transfer the files directly from your old server to the new one you are getting with them, ask before hand if this is something that they can do for you as it is generally a lot quicker for them to do it than for you to upload the files yourself for instance, Web Air will do this work for you.Once you have recursively archived your site, make arrangements to purchase your new hosting services. Make sure that any new solution you select includes basic services that approximate and excel the service that you where obtaining with your previous hosting provider. It makes no sense to replace your present hosting service with another Web hosting solution that equally cannot fulfill your technical or financial requirements.
The best resource to use to find a better hosting firm specific to the adult hosting industry is Adult Hosting Companies, the largest adult Web hosting resource directory with currently over 250 hosts listed.
Once your new solution is activated, upload your archived Web pages, database and scripts to the new host. You will be allocated an IP number from the new hosting company. Take time to debug and test the new site from the individual IP number, not forgetting things like your cgi scripts may need altering.
Once your site is entirely debugged and you verify that all site functionality is operative, then transfer your domain name service (DNS) servers over from your old server to your new server.
During this DNS transition period, which is referred to as the “propagation period,” your Web site will be resolved by both your new and old host, as the new DNS information about your Web site filters through the Internet globally. It typically takes about 10 days for the transfer to fully propagate around the Internet; so keep your old site running in case you get visitors whose ISP’s have cached your site on the old server.
It is important however that you retain both your old and new hosting services during your propagation period of 10 days. You will need to check your e-mail from both hosting providers since different regions of the Internet will remit e-mail to your original host while other regions will remit mail to the new server during this time.
Once a week or two have elapsed, cancel the account with the previous hosting company. Only cancel your old account when e-mail stops arriving from your old hosting provider.
If you follow these steps carefully, then your host change should be easy and stress free.
Article written by Lee
-
Adult Exit Traffic
How Do You Use It?
I honestly do not think there is a webmaster working in the adult industry to date who has not seen a warning page for a free or avs site with both an enter and an exit link, the enter link goes to the main body of the site in question whilst the exit link goes to some other link, normally disney.com or google.com or some other url where the webmaster in question is quite literally throwing their traffic and money away.
Instead of wasting your exit link traffic to a site that doesn’t make you a cent why not utilize this traffic to feed additional revenue streams, for example, most of the larger adult sponsors now have penis pill programs or dating sites, you could include your affiliate id in the exit link and send your traffic there, after all, the surfer you have on your site isn’t looking for porn so, offer them an alternative which, can still add to your bank balance.
So What Are The Alternatives?
The alternative types of sponsors you should be using on your exit links can vary widely however, the best type of site to send them to would be a sponsor offering products and services such as penis enlargement programs, online pharmacies, history eraser type products or, even a link to a site like amazon.com if the program you use allows for that.Basically you should try to maximize all the traffic you get to your site whether that be by using exit consoles or links, make sure that for each and every surfer you send to the front page (warning) of your site that if they decide to back out or click on a link to leave that you send them somewhere to give them the option of spending money and ultimately earning you revenue.
Article written by Lee.
-
Designing A 404 Error Document
Designing A 404 Error Document.
Now that we know how to use .htaccess let’s get into how exactly to effectively design a 404 error document page. Here are a few tips when building your document:Keep The Design Constant.
That is, whatever design your web site supports, consider keeping that design when building your error document. This is not mandatory, however. If you have a good reason to stray from your design, then do so. Otherwise, keep it constant.
Use Attractive Dialog.
Do not use the word error. Error signifies something is terribly wrong, and while that may be so, you should give that information to your visitor in a very friendly way. Instead, consider writing “Sorry, the page you were looking for is not available at the moment”.
Include Contact Information.
Obviously, you want to fix the error, so give the user every opportunity to e-mail you about the error. Some users will not bother to do so, but you still need to give them the opportunity.
Keep The Visitor Moving.
Often, 404 error pages are like road blocks, or brick walls that the user cannot pass through. You need to break through the barriers and allow the visitor to keep traveling through your web site. If your web site supports a search capability, include a form on your error document to let them search for the information they were originally seeking. At the very least, include a link to your home page.
Give Them A Site Map.
When the user clicks upon a page that is no longer available, or was mistyped by the webmaster, consider adding a link to a site map page, or include your site map right on your 404 error document, so the user can get their bearings within your site, and can locate their desired content quickly and easily.
Give Them Help.
List tips on your error document page to help the visitor diagnose the error. For example, ask them to double check the URL in their browser’s address bar. If it’s correct, politely ask them to e-mail you to report the error. Also suggest that they visit your home page (or search utility) to find the information they are after.
List Some Popular Links.
Provide the user with a few links to your most popular content areas of your web site, as it is more likely they were searching for that content than anything else.
As you have seen, error documents are more important than you may think. Merely having a custom error page shows you have put forth effort on your web site and want to help the user find the information they need. Error documents are easy to create and adds professionalism to any web site.
Article written by Lee
-
The Successful Marketing Approach
In today’s volatile and competitive marketplace, the strategic manager must possess a sophisticated perspective regarding creating and maintaining the overall image of the organization.
In order to accomplish this goal, marketing must play a key role, regardless of the company’s size.
To be truly effective, a company must be up-to-date with it’s marketing ‘psyche’. In bygone times, companies concentrated on items it was able to produce, not on customer needs and wants. This type of outdated thinking will most likely lead to a rather short lifespan.
Today, marketing is a holistic approach that is often more complex than first thought.
What Is Marketing?
It is a process through which an organization identifies a need and then provides a means of filling or satisfying that need.
Customers are more informed and savvy than in the past and they expect more – in the quality of both products and service. Today’s customer is not willing to merely sit passively by and consume – he wants a voice and relationship with the companies with whom he chooses to conduct business.
Marketing is not deciding where and how to advertise. This is only one component of the process. Effective managers make sure they have a well-defined and mapped out strategy that deals with the entire lifecycle of the process. The most successful companies have a keenly honed customer-centric marketing model.
This model outlines a process that allows the company to determine the needs and wants of a “target market” and deliver this while instilling in the customer the belief their company’s ‘satisfaction solution’ is better value than the competition’s.
The first step in a marketing strategy involves the identification of unmet needs within a market and delivering/developing products and/or services to meet those needs.
Define Your Market First.
Is it a business-to-consumer company, a business-to-business company, or both? Regardless of the target(s) a company must be able to clearly identify a common need amongst a large portion of this market, as well as that portions propensity and ability to buy that product or service.
Once the target market has been identified it is time to do some analysis. The depth, complexity and related cost should remain proportionate to the ratio of overall business this product or service is anticipated to generate.
Analyze Internally.
What will be involved in creating this product or service? Is there access to all of the necessary components? How much volume can be handled? Are their efficient distribution channels? What will it cost to make or provide this? The next phase is an external analysis that looks at specific trends within the target market. With this information in hand, a company is then able to make an informed decision as to whether or not it is feasible to proceed. Now that the target market has been identified and the operational side has been flushed out, a strategy can be addressed. How a company decides to communicate its message should be in correlation to its overall marketing strategy. Whether the most effective method of conveying you message to the target audience is through traditional advertising channels, the Internet or more innovative activities, it should be apparent from the prior analysis. The final phase of a marketing strategy should examine the component of customer relationship management: What processes are in place to service our customers? How do we ensure a positive resolution of customer complaints? What performance measurements will be used to determine how well clients are being serviced? And, most importantly: How will customer relationships be maintained so they will do business with us again and again? By developing a comprehensive strategy that spans the entire lifecycle of new to repeat client, a company will find it is able to effectively address the present needs and wants of it’s target markets, as well as being able to incorporate new areas as they develop. Article written by Lee
-
Unspoken Secrets
here is a belief among new webmasters that there is a set of golden rules among those of us whom have been at this business for many years to making money well guess what, these are those unspoken secrets….
Secret #1.
There are no secrets to becoming an adult webmaster. One of the most common reasons why so many new webmasters give up in this business is because they hear about the money that the big guys make, submit two TGP galleries to The Hun, get a $200 hosting bill and no signups. They then figure that the affiliate they are using is rubbish and then spend the next 2 months surfing the Net looking for the “be all and end all” of affiliate programs which is going to net them $2 million within the next 6 months. The fact of the matter is, that genie in the lamp you are looking for doesn’t exist. It all comes down to hard work, perseverance and common sense this is a business venture you have started like it or not and, it needs to be treated as one.
Secret #2
Don’t give up. You need to treat what your doing as a business. Of course, you can have fun with it but, at the same time you need to be making continual business plans for your development in much the same way as if you were self employed. Which, of course as soon as you start to make some money you will be.
Secret #3
Stay focused. There are a million and one ways to make money in the industry. You could build free sites, TGP galleries, AVS sites, pay sites, search engine pages, the list goes on. There are many different avenues to drive traffic. The key is to try everything. Eventually you will find the one venue that your are very good at. Continue with this until you know this in your sleep – work it so often and well that you master it. One other thing to remember, it wont make you money overnight, if you think it will, your starting out for the wrong reasons, putting it simply, Adult web mastering isn’t for you.
Secret #4
Build it and, it (And they) will come, don’t spend time worrying about your keywords, meta tags, the amount of images you are using, just because someone tells you this is what is required of your sites. Just build a site or gallery submit it, forget about it and get started on building your next, and the next, and the next site after that. Just keep on moving forward, if you forgot to do something on one of your sites don’t worry, add it to the next site that you build.
Secret #5
Start to network. Other webmasters are great for bouncing new ideas off, a group of webmasters who start at the same time all communicating with each other are going to develop more than a sole webmaster on their own. Networking is a big part of any successful webmasters daily routine. Make the most of the people you meet on the boards or aim or icq, it will benefit you long term.
Secret #6
This one you will probably hear day in, day out for the rest of your business life. “It’s too late for newbies to make money” I am sorry to be the one to tell you this but, this is rubbish. As long as you follow the basic rules above and work at it, you can and will make money in this still thriving industry.
Now you have heard the “secrets” you have wanted to know its up to you to put them to good use.
Article written by Lee
-
The Lost Traffic Source – Picture Posts
Back in the day, pic posts were all the rage, taking less time for webmasters to build for and, less time maintaining however, in recent times we seldom hear of these traffic sources as more and more webmasters turn to the TGP’s in an effort to get traffic ‘quantity’ over ‘quality’ my personal feelings are that the pic posts of the past will soon start to make a comeback.
The Basics.
So, we know the history behind the Pic Post but what about the dynamics? How exactly do they work? That’s easy, you take an image, give it a HTML page and add the recip to the PP (Pic Post) you are submitting the page / image too along with a banner leading to your site. At this time, it would be prudent to add that, if you will be submitting to PP’s on a regular basis, you might also like to add the url to your main domain on the image in the lower right or left hand corner.
One other thing to take into consideration when using PP’s is that softcore is often better. With the readily available hardcore content on TGP’s the chances are, that the surfer has decided to visit the PP because there is not as much widely available hardcore content.
Cost Balance.
In addition to the relatively minimal amount of work required to create pages for the PP’s there are several other factors that make them much better then TGP’s and Free Sites the main one is that bandwidth usage is relatively low for a start, not to mention the fact that you can knock out hundreds / thousands of PP pages a day compared to the tens / hundreds of TGP and Free Sites.
Also, when looking at cost, the one factor people often forget is the submission time and, unlike the TGP model of traffic the vast majority of PP’s will actually encourage or, in some instances, prefer automated submissions, this means that you can target hundreds of PP’s in less time than it takes to submit a TGP or Free Site.
Marketing Basics.
Of course, as with any type of site that we build as webmasters, the main reason that surfers will visit our sponsors is the marketing ‘spin’ we give them, this is where the use of Alt Tags and Text can become extremely useful, bearing in mind, the surfer can already see the ‘larger picture’ on your PP page by utilizing Alt Tags and other SEO methods you can actually entice the surfer to click through to your sponsor and, get some very good rankings in the search engines at the same time.
Housekeeping.
Now you have started to use Picture Posts, as with any form of traffic you need to ensure you keep ‘accurate’ records of who is and who isn’t accepting your pages along with details stats on the amount of traffic each PP sends you and, you ultimately send off to your sponsors site.
Adjust everything you can. trial and error plays a MAJOR part in using PP’s just because you use softcore images one day and get 1000 hits to the page you created, that doesn’t mean that by using hardcore images the next day you will receive more or, less traffic, also being niche specific, unlike with the TGP game can have its disadvantages, use images that appear at first glance, to be ‘generalized’ then, over time adjust your advertising methods to reflect the niche of surfer you are targeting.
In addition to keeping records of the pages you create for the picture posts, you should also be sure to keep a record of where else you have used them, just because you are using them for the PP’s specifically, this doesn’t mean that you can not interlink these pages together and get some traffic of your own to them, does it?
Hopefully this article has given you some more insight into the world of the Picture Post and, if you try an experiment with this little known source of quality traffic, I feel certain you will be pleasantly surprised with the results you see.
Article written by Lee
Premium Sponsors
Categories
- 2257
- Billing Solutions
- Blogging
- Branding
- Content
- Domain Names
- Employment
- Forms & Contracts
- General
- Hosting
- Link Lists
- Opt-in Mail
- Paid Traffic
- Pic Posts
- Promotion
- Scripts
- Search Engine Optimization
- Sponsors
- TGP
- Traffic
- Tutorials
- Viral Marketing
- WebDesign
- Writing