Jump to content

[Guide]Editing HTML...


DreaM

Recommended Posts

 

This is a quick guide to html...for a better example i will be changing the welcome screen in cs.

 

  1. In your Mod folder create a test file called motd.

  2. Edit the motd file using HTML

 

 

Here are a few simple rules:

 

Using Things in HTML

 

  1. ADDING A BACKGROUNDTo simply change the color of the background use this:

      <body bgcolor=”#000000”>

  2. To make a tiled background image use this:

      <body background="location if image here ">

 

 

  1. ADDING PICTURESVery simple use this:

      <img src=”location of image goes here”>

 

 

  1. ADDING A LINKIf you want to put in a link :

      <a href=”url goes here”>text of what link is diplayed as

 

 

  1. ADDING SIMPLE LINES OF TEXTCenter aligned text:

      <p align=”center”>text goes here</p>

  2. Left aligned text:

      <p align=”left”>text goes here</p>

  3. Right aligned text:

      <p align=”right”>text goes here</p>

 

 

  1. CHANGING THE SIZE OF TEXTFirst pick a size….1-7 3 is normal text size.

  2. Simply add this size code:

      <font size=”1-7”>

  3. It would look as follows:

      <p align=”right”><font size=”1-7”>text goes here</p>

 

 

  1. ADDING A BREAK IN THE LINESYou don’t want this:

      line 1 line 2 line 3.

  2. To get this:

 

      Line1

      Line2

      Line3

  3. Simply add <br> to the end of a line.

 

 

      EX :

      <p align=”left”>Line 1 <br>

      <p align=”left”>Line 2 <br>

      <p align=”left”>Line 3 <br>

 

Cheers

 

Credits to : HaCkz0r + blkdrgn

Link to comment
Share on other sites

Even though you made it , there are some mistakes (titles are not placed right)

 

You want me to correct it? Or it good like that?

 

Anyway, very good share, it is very usefull because I once got bored of my mistakes :P

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...