|
just another regularban.info web blog |
| MEMBERS: | Overcoming Those Annoying CSS Bugs
There are a number of different browsers that you must compensate for when designing your webpage's in any format (CSS, tables etc.), some of the most common browsers are : Internet Explorer 6/ 7, Firefox and Safari. The main issues that arise with CSS design is that all browsers interpret CSS differently, for example Firefox does not understand some of the CSS commands that Internet Explorer does and vice a versa. One of the main issues I have found when designing with CSS is a problem with margins in Internet Explorer 6. I found that when using a float on a div tag that also had a margin set, the margin would actually double and then knock the whole pages layout out. After numerous late nights and an insane amount of coffee I finally found a solution to this double margin bug. By inserting a simple line of code the double margin no longer double ! That solution is as follows, by adding this line of code to your CSS div tag 'display: inline'. Another problem I have found with CSS in Internet Explorer 6 is a problem when trying to define a div tag that has a smaller size than the base font size. This problem again can be fixed with a simple line of code this time all we need to add is the following line of code to the div tag: 'font-size:0px'. There is also another solution to this problem that should have the same effect, because the div tag auto stretches to compensate for content overflow adding 'overflow: hidden' should also resolve the problem. Unfortunately I have been unable to cover all of the cross browser issues that you may experience when designing with CSS, but most of the problems that you may encounter can be resolved pretty easily with simple trial and error. Happy designing!
Do You Want To Create A Website Or A Business Online?
This is a question you will have to address. Many folks just a build a website but do not think out why they are really doing it. As a result they don't take it seriously and therefore they do not get serious results. This makes logical sense right? A website in and of itself means nothing unless it has visitors and achieves a certain objective. So you have to be clear what you want to achieve as this will help you focus on your research and build a site that can achieve your objective. Quality research will help you build a quality website. To build a business online you are going to have to build a relationship with your site visitors. You will need to show them how to connect the dots and you can only do this by providing valuable content that is benefit driven. Furthermore you are going to have to show them solid evidence of how your product or service can help them achieve results. Connecting the dots means moving them closer to their outcome. Once they can follow this and see how it will work for them you will naturally build credibility which will result in you having a profitable website. As mentioned when you build your site you want to clearly have your visitor's objectives in mind so that you can address their concerns and overcome their objections. If you can help them achieve their goals it will be a win win situation for all parties concerned.
Using Functions
Functions are used to perform a well defined task that is normally repeated at various places within a web site, web application, or other software application. The function sometimes needs certain information before performing its task, and sometimes returns a value to the calling page or program. An example of how to use a simple function in PHP: function showMessage() {The above example shows a very simple function that displays the contents of a session variable called 'message'. The idea being that while a user is using a web site, etc, various messages are generated and stored in the 'message' session variable. Whenever the showMessage function is called, the contents of the session variable are displayed. So, for example, when the user logs on, you could display a message saying that they have done so. Likewise, when they log off, a different message could be displayed. Calling a function To call the showMessage function, you would just need to include the line: showMessage() in the web page (wrapped in php tags to distinguish it from normall HTML). Passing values to a function Often, a function requires one or more input values in order to perform its task. For example, take the following example that takes two numbers as input, and adds them together. The result is then returned to the calling web page or program. function addNumbers($number1,$number2) {In the calling program we would have something similar to the following: $number1 = "5"; Obviously, in a real program you would not have the numbers hardcoded like this, but they would be obtained from user input or by some other means. Notice also that although the name of the returned variable is $answer, the calling program makes no reference to that. We could, if we wanted to, change the calling program to: $answer = addNumbers($number1,$number2); which might make things slightly easier to understand.
|
* About Archives
Categories:
Last Updated: |
| regularban.info
is proudly powered by WordPress MU running
on regularban.info.
Create a new blog and join in the fun! Entries (RSS) and Comments (RSS). |
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor
blackhatseotoolsmentor