Jump to content

Dulens.

Banned
  • Posts

    3,353
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Dulens.

  1. I said that isn't created by me.
  2. CSS - Cascading Style Sheets What You Should Already Know! Before you continue you should have a basic understanding of the following: HTML / XHTML What Is CSS; CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem External Style Sheets can save a lot of work External Style Sheets are stored in CSS files Styles Solved a Big Problem! HTML was never intended to contain tags for formatting a document. HTML was intended to define the content of a document, like: <h1>This is a heading</h1> <p>This is a paragraph.</p> When tags like <font>, and color attributes were added to the HTML 3.2 specification, it started a nightmare for web developers. Development of large web sites, where fonts and color information were added to every single page, became a long and expensive process. To solve this problem, the World Wide Web Consortium (W3C) created CSS. In HTML 4.0, all formatting could be removed from the HTML document, and stored in a separate CSS file. All browsers support CSS today. CSS Saves a Lot of Work! CSS defines HOW HTML elements are to be displayed. Styles are normally saved in external .css files. External style sheets enable you to change the appearance and layout of all the pages in a Web site, just by editing one single file! CSS Syntax! A CSS rule has two main parts: a selector, and one or more declarations: The selector is normally the HTML element you want to style. Each declaration consists of a property and a value. The property is the style attribute you want to change. Each property has a value. CSS Example! A CSS declaration always ends with a semicolon, and declaration groups are surrounded by curly brackets: p {color:red;text-align:center;} To make the CSS more readable, you can put one declaration on each line, like this: p { color:red; text-align:center; } CSS Comments! Comments are used to explain your code, and may help you when you edit the source code at a later date. Comments are ignored by browsers. A CSS comment begins with "/*", and ends with "*/", like this: /*This is a comment*/ p { text-align:center; /*This is another comment*/ color:black; font-family:arial; } The id and class Selectors! In addition to setting a style for a HTML element, CSS allows you to specify your own selectors called "id" and "class". The id Selector. The id selector is used to specify a style for a single, unique element. The id selector uses the id attribute of the HTML element, and is defined with a "#". The style rule below will be applied to the element with id="para1": #para1 { text-align:center; color:red; } Do NOT start an ID name with a number! It will not work in Mozilla/Firefox. The class Selector. The class selector is used to specify a style for a group of elements. Unlike the id selector, the class selector is most often used on several elements. This allows you to set a particular style for many HTML elements with the same class. The class selector uses the HTML class attribute, and is defined with a "." In the example below, all HTML elements with class="center" will be center-aligned: .center {text-align:center;} You can also specify that only specific HTML elements should be affected by a class. In the example below, all p elements with class="center" will be center-aligned: p.center {text-align:center;} Do NOT start a class name with a number! This is only supported in Internet Explorer. Three Ways to Insert CSS. There are three ways of inserting a style sheet: External style sheet Internal style sheet Inline style External Style Sheet. An external style sheet is ideal when the style is applied to many pages. With an external style sheet, you can change the look of an entire Web site by changing one file. Each page must link to the style sheet using the <link> tag. The <link> tag goes inside the head section: <head> <link rel="stylesheet" type="text/css" href="mystyle.css" /> </head> An external style sheet can be written in any text editor. The file should not contain any html tags. Your style sheet should be saved with a .css extension. An example of a style sheet file is shown below: hr {color:sienna;} p {margin-left:20px;} body {background-image:url("images/back40.gif");} Do not leave spaces between the property value and the unit (such as margin-left:20 px). Correct way: margin-left:20px. Internal Style Sheet. An internal style sheet should be used when a single document has a unique style. You define internal styles in the head section of an HTML page, by using the <style> tag, like this: <head> <style type="text/css"> hr {color:sienna;} p {margin-left:20px;} body {background-image:url("images/back40.gif");} </style> </head> Inline Styles. An inline style loses many of the advantages of style sheets by mixing content with presentation. Use this method sparingly! To use inline styles you use the style attribute in the relevant tag. The style attribute can contain any CSS property. The example shows how to change the color and the left margin of a paragraph: <p style="color:sienna;margin-left:20px">This is a paragraph.</p> Multiple Style Sheets. If some properties have been set for the same selector in different style sheets, the values will be inherited from the more specific style sheet. For example, an external style sheet has these properties for the h3 selector: h3 { color:red; text-align:left; font-size:8pt; } And an internal style sheet has these properties for the h3 selector: h3 { text-align:right; font-size:20pt; } If the page with the internal style sheet also links to the external style sheet the properties for h3 will be: color:red; text-align:right; font-size:20pt; The color is inherited from the external style sheet and the text-alignment and the font-size is replaced by the internal style sheet. Multiple Styles Will Cascade into One. Styles can be specified: inside an HTML element inside the head section of an HTML page in an external CSS file Tip: Even multiple external style sheets can be referenced inside a single HTML document. Cascading order What style will be used when there is more than one style specified for an HTML element? Generally speaking we can say that all the styles will "cascade" into a new "virtual" style sheet by the following rules, where number four has the highest priority: Browser default External style sheet Internal style sheet (in the head section) Inline style (inside an HTML element) So, an inline style (inside an HTML element) has the highest priority, which means that it will override a style defined inside the <head> tag, or in an external style sheet, or in a browser (a default value). Note: If the link to the external style sheet is placed after the internal style sheet in HTML <head>, the external style sheet will override the internal style sheet! CSS Tutorial via Video Version: Have Fun, and good practice!
  3. Thanks! I would be greatful, if this share be stickied.
  4. SQL - Accessing The Databases! What is SQL; SQL stands for Structured Query Language. SQL lets you access and manipulate databases. SQL is an ANSI (American National Standards Institute) standard. What Can SQL do? SQL can execute queries against a database. SQL can retrieve data from a database. SQL can insert records in a database. SQL can update records in a database. SQL can delete records from a database. SQL can create new databases. SQL can create new tables in a database. SQL can create stored procedures in a database. SQL can create views in a database. SQL can set permissions on tables, procedures, and views. SQL is a Standard - BUT.... Although SQL is an ANSI (American National Standards Institute) standard, there are many different versions of the SQL language. However, to be compliant with the ANSI standard, they all support at least the major commands (such as SELECT, UPDATE, DELETE, INSERT, WHERE) in a similar manner. Note: Most of the SQL database programs also have their own proprietary extensions in addition to the SQL standard! SQL Statements. Most of the actions you need to perform on a database are done with SQL statements. The following SQL statement will select all the records in the "Persons" table: SELECT * FROM Persons SQL DML and DDL. SQL can be divided into two parts: The Data Manipulation Language (DML) and the Data Definition Language (DDL). The query and update commands form the DML part of SQL: SELECT - extracts data from a database UPDATE - updates data in a database DELETE - deletes data from a database INSERT INTO - inserts new data into a database The DDL part of SQL permits database tables to be created or deleted. It also defines indexes (keys), specifies links between tables, and imposes constraints between tables. The most important DDL statements in SQL are: CREATE DATABASE - creates a new database ALTER DATABASE - modifies a database CREATE TABLE - creates a new table ALTER TABLE - modifies a table DROP TABLE - deletes a table CREATE INDEX - creates an index (search key) DROP INDEX - deletes an index The SQL SELECT Statement. The SELECT statement is used to select data from a database. The result is stored in a result table, called the result-set. SQL SELECT Syntax SELECT column_name(s) FROM table_name and SELECT * FROM table_name Note: SQL is not case sensitive. SELECT is the same as select. The INSERT INTO Statement SQL INSERT INTO Syntax It is possible to write the INSERT INTO statement in two forms. The first form doesn't specify the column names where the data will be inserted, only their values: INSERT INTO table_name VALUES (value1, value2, value3,...) The UPDATE Statement The UPDATE statement is used to update existing records in a table. SQL UPDATE Syntax UPDATE table_name SET column1=value, column2=value2,... WHERE some_column=some_value Note: Notice the WHERE clause in the UPDATE syntax. The WHERE clause specifies which record or records that should be updated. If you omit the WHERE clause, all records will be updated! The DELETE Statement The DELETE statement is used to delete rows in a table. SQL DELETE Syntax DELETE FROM table_name WHERE some_column=some_value Note: Notice the WHERE clause in the DELETE syntax. The WHERE clause specifies which record or records that should be deleted. If you omit the WHERE clause, all records will be deleted! SQL Tutorial with Video Version: Have fun, and wish you good practice!
  5. Thanks, the meanings and the codes are taken from the internet! Also, I created this but with codes from internet. Thanks for sticky!
  6. HTML - HyperText Markup Language What is HTML; HTML stands for Hyper Text Markup Language. HTML is not a programming language, it is a markup language. A markup language is a set of markup tags. HTML uses markup tags to describe web pages. Some HTML Tags! HTML tags are keywords surrounded by angle brackets like <html>. HTML tags normally come in pairs like <b> and </b>. The first tag in a pair is the start tag, the second tag is the end tag. Start and end tags are also called opening tags and closing tags. HTML Documents! HTML documents describe web pages. HTML documents contain HTML tags and plain text. HTML documents are also called web pages. The purpose of a web browser (like Internet Explorer or Firefox) is to read HTML documents and display them as web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page: <!DOCTYPE html> <html> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html> Example Explained. The DOCTYPE declaration defines the document type (HTML 5). The text between <html> and </html> describes the web page. The text between <body> and </body> is the visible page content. The text between <h1> and </h1> is displayed as a heading. The text between <p> and </p> is displayed as a paragraph. Editing HTML. HTML can be written and edited using many different editors like Dreamweaver and Visual Studio. However, in this tutorial we use a plain text editor (like Notepad) to edit HTML. We believe using a plain text editor is the best way to learn HTML. HTML Heading <h1>This is a heading</h1> <h2>This is a heading</h2> <h3>This is a heading</h3> HTML Paragraphs <p>This is a paragraph.</p> <p>This is another paragraph.</p> HTML Links <a href="http://www.w3schools.com">This is a link</a> HTML Images <img src="w3schools.jpg" width="104" height="142" /> Note: The name and the size of the image are provided as attributes. Some HTML Color ID. #000000 - Black #FF0000 - Red #00FF00 - Green #0000FF - Blue #FFFF00 - Yellow #FF00FF - Pink #FFFFFF - White #8A2BE2 - BlueViolet #A52A2A - Brown #00FFFF - Cyan #FFD700 - Gold #808080 - Gray #00FF00 - Lime #800000 - Maroon #808000 - Olive #FFA500 - Orange #C0C0C0 - Silver #008080 - Teal #EE82EE - Violet HTML Tutorial with Video Version: Have fun, and wish you good practice!
  7. How I can join you?
  8. Are you serious? Already, Maxtor has opened topic.
  9. Nothing special, anyway good luck with your sales.
  10. You kidding us? This website is shared here.
  11. I saw many people, who asking about dedicated servers. I suggest to everyone to test Worldstream, it's really good company! http://worldstream.nl
  12. I need money, for this reason it's too cheap. Also, I said if someone want features only via pm. Thanks!
  13. Just 1 word! 'MeLe' x0a0x0a0a00a0x
  14. Hello Everyone! I decided to sell one pack. It's based on clean l2j files. This pack was used by a server with 400 players online. It's very good for pvp server! Features only via Pm. Only Pack: 10 Euro
  15. HND Guys :D
  16. http://worldstream.nl , εάν θέλεις στείλε μου με pm το skype σου για να σε βοηθήσω.
  17. http://maxcheaters.com/forum/index.php?topic=239462.0 I want to lock my topic. Thanks!
  18. Συμφωνώ, δεν είναι εποχές για να ρισκάρεις τα χρήματα σου.
  19. LoL, it's Russian none will understand this.
  20. Exactly this, and why you don't buy Claw Faction from Vander?
  21. Here is the quest for free lol, http://www.2shared.com/file/XhPEhfQr/Q902_ReclaimOurEra.html
  22. Σε ρώτησε κανείς για το farm του server σου; LOL. Anyway, τα VPS είναι ΆΧΡΗΣΤΑ για Lineage II Server. Σου προτείνω να βρεις ένα φθηνό dedicated server να κάνεις την δουλειά σου. Υπάρχει με 40-50 ευρώ και είναι πολύ καλύτερο από VPS.
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock