MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides

Homepage Register FAQ Members Mark Forums Read Advertise Marketplace FPSowned
Go Back   MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides > Programming > Client side > CSS
Reload this Page Easy to learn CSS (tutorial)
CSS Discussions about CSS

Reply
 
LinkBack Thread Tools
Easy to learn CSS (tutorial)
(#1)
Old
groonie's Avatar
groonie is Offline
Sergeant
Rep Power: 2
Reputation: 7
groonie is an unknown quantity at this point
 
Posts: 52
Join Date: Sep 2006
Codes Easy to learn CSS (tutorial) - 03-26-2008

This is GrooN's version of a basic CSS (Cascading Style Sheets) tutorial.

Before we begin!
1: Im sorry if there is any spelling errors or anything, i haven't read this through for spelling...

2: you have to know all the basics in HTML, It will be very hard to understand if you dont know it. (I'm sure you can find guides in the HTML section)

3: Sometimes i will put comments IN the codes it will be between: /* Comment */

What's CSS!?
CSS is a langauge you use for designing websites.
You can have the CSS code inside the HTML file or in an extern file.
This file can be putted anywhere you want it.
Then you connect to the file through HTML. (keep up reading to find out how)

Lets Begin!
First you have to know how to connect to the CSS file and how to create the CSS file.
In your HTML code between <head> and </head> input this code for connect to an extern html file:
Code:
<link rel="stylesheet" type="text/css" href="style.css">
 
/* It will look like this in the full doc:  */
 
<HTML>
<HEAD>
<title>my website title</title>
<link rel="stylesheet" type="text/css" href="style.css">
</HEAD>
 
</BODY>
<h1>Welcome to my website</h1>
<BODY>
<HTML>
And this is how it would look if it should be written IN the HTML document:
Code:
<HTML>
<HEAD>
<title>my website title</title>
<style type="text/css">
 /* Then all the code is written here like if this was the file */
</style>
 
</HEAD>
 
</BODY>
<h1>Welcome to my website</h1>
<BODY>
<HTML>
Tip: The code is the same if it was an extern or intern code
Yea, but what do i write in the file!?
How if we say i want a website with black background and white text i should write something like:
Code:
body {
    background-color: #000000;
}
h1 {
    color: #FFFFFF;
}
First i write "body", this is what tag i want to write to. ( <body></body> )
and i write " { " this is where the code starts and " } " is where it ends.
Between these there is a code "background-color: #000000;" Background-color makes you edit the background color, and then the " : " is where the value starts. and " ; " is where it ends. Then the " #000000 " is the color code. (black)

And the:
h1 {
color: #FFFFFF;
}
is the same:
h1 /* The HTML tag you want to write to */
{ /* Starts the code */
color /* Same as "background-color" this one just edit the color of the text */
: /* Start of value */
#FFFFFF /* the value (color) */
; /* End of value */
} /* End of the code */

I understand if you're confused!
But all this code mixed with the HTML code will give you this:


Now you know the basics, how it works...
You can find more TAGS how to edit background image and text font, and meny meny other things, here:
[Only registered and activated users can see links. ]


Made by GrooN


...Its not the dark who scares, its the light....

Last edited by groonie; 03-27-2008 at 03:09 AM.
Reply With Quote

Donate to remove ads.
(#2)
Old
ThunderSS's Avatar
ThunderSS is Offline
Master Sergeant
Rep Power: 2
Reputation: 14
ThunderSS is on a distinguished road
 
Posts: 112
Join Date: May 2007
Location: Romania
04-24-2008

Nice one but css is very easy...the easiest programming language i know only few tags not so complex and few parameters. However is a must to use in a decent web page . When i learned it it took me around 2 hours to get it


You have slain World of Warcraft.
You receive loot:
[Real Life]x1.
System Message: You'll be back!
Reply With Quote
(#3)
Old
Tanax's Avatar
Tanax is Online
Knight
Rep Power: 2
Reputation: 50
Tanax will become famous soon enough
 
Posts: 198
Join Date: Jan 2007
Location: Sweden
04-24-2008

@up- CSS isn't a program language. It hasn't any form of functions or variables. It's the same language as HTML, which is a markup language.

Both HTML and CSS is markup languages.

JavaScript and PHP are examples of programming languages(actually I think they're called script languages, but meh..).


Reply With Quote
Reply


Donate to remove ads.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On




Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317