html

css will help to make it look better 😀

Just looking at the code (view-source:http://chattyden.darkbb.com/My-Online-Portfolio-h2.htm) and its pretty well lay out, you have comments so you know what parts to edit. its great!
 
50Cent said:
Talk about practice. How do i practice CSS and HTML?
HTML is really simple, it's fairly logical, if you want to insert an image:

Code:
<img src="example.png" />

CSS is also fairly simple but adjusting things like fonts, backgrounds, etc. But it's main handy part comes in with defining custom classes.

Code:
.someclass {
background-image: url(URL)
}

.anotherclass {
background-image: url(URL);
position:absolute;
top:100px;
right:50px;
} 

.yetanotherclass {
background-image: url(URL);
}

a:hover {
color:#HEX CODE HERE;
text-decoration: DECORATIONS SEPARATED WITH';'
}

.windowbg {
background-image: url(URL);
background-repeat: repeat-x/y;
background-position: POSITION;
}

.windowbg2 {
background-image: url(URL);
background-repeat: repeat-x/y;
background-position: POSITION;
}

If you added a div in there, you could then insert the class into your website.
Code:
<div class="anotherclass"></div>

Hope that helped. 🙂
 
50Cent said:
Here is the latest version webpage i coded. I done this after i learn CSS. And i came across the gallery code then i edit and use at the webpage. How does it look?

The way i use HTML and CSS together is it correct?

http://chattyden.darkbb.com/My-Online-Portfolio-h2.htm

Not really. There is only ever one set of <html>, <body> and <head> tags. You have about 4. Keep all your CSS under one <head> tag.
 
The best way is to make the HTML and CSS different file? Then we just insect the .css doc into the html code can already?
 
You can if you want. There isn't a right or wrong way for that, its just more tidy when you get to 100 lines of CSS.
 
I want to know how to use this.

div.center
{
text-align:center
}

The div.center is the selector rite then how do i know what needed to be put as selector to custom that thing.

Example: i want to center a table what selector and declaration should i use?
 
Back
Top Bottom