Professional Documents
Culture Documents
WP-CSS by Tanbircox
WP-CSS by Tanbircox
ebooks
CSS ( )
HTML HTML
HTML CSS
CSS ?
Cascading Style Sheets
HTML ( )
HTML CSS
CSS HTML
CSS
CSS ( : , )
/**/ -
/*This is a comment*/
p
{
text-align:center;
/*This is another comment*/
color:black;
font-family:arial;
}
id # id
-
#para1
{
text-align:center;
color:red;
}
HTML :
<p id="para1">Hello World!</p>
class . class
CSS
p.center
{
text-align:center;
}
HTML :
<p>This paragraph will be center-aligned.</p>
<html>
<head>
<style type="text/css">
p.center
.
.
.
.css
mystyle.css mystyle.css
hr {color:sienna;}
p {margin-left:20px;}
body {background-image:url("images/back40.gif");}
html
<head>
<link rel="stylesheet" type="text/css" href="mystyle.css" />
</head>
<p style=color:sienna;margin-left:20px>This is a paragraph.</p>
h1
{
background-color:#6495ed;
}
p
{
background-color:#e0ffff;
}
div
{
background-color:#b0c4de;
}
:
<html>
<head>
<style type="text/css">
h1
{
background-color:#6495ed;
}
p
{
<body>
</body>
</html>
body {background-image:url(paper.gif);}
( ) ,
body
{
background-image:url(img_tree.png);
background-repeat:no-repeat;
background-position:top right;
}
body
{
background-image:url(img_tree.png);
background-repeat:no-repeat;
}
background-color
background-image
Sets all the background properties in
Background background-repeat background- 1
one declaration
attachment background-position
inherit
scroll
background- Sets whether a background image is
fixed 1
attachment fixed or scrolls with the rest of the page
inherit
color-rgb
color-hex
background-color Sets the background color of an element color-name 1
transparent
inherit
url(URL)
background- Sets the background image for an
none 1
image element
inherit
top left
background- Sets the starting position of a
top center 1
position background image
top right
repeat
repeat-x
background- Sets if/how a background image will be
repeat-y
repeat repeated
no-repeat
inherit
h1 {text-align:center;} /* */
p.date {text-align:right;} /* */
p.main {text-align:justify;} /* */
h1 {text-decoration:overline;}
h2 {text-decoration:line-through;}
h3 {text-decoration:underline;}
h4 {text-decoration:blink;}
p {text-indent:50px;}
p.uppercase {text-transform:uppercase;}
p.lowercase {text-transform:lowercase;}
p.capitalize {text-transform:capitalize;}
width
border ,
padding
margin
box {
width: 200px;
border: 10px solid #99c;
padding: 20px;
margin: 20px;
}
border-style
border-width
border-color
margin-left
margin-right
margin-bottom
margin-top
padding-left
padding-right
padding-top
padding-bottom
body{
font-family:Arial, Helvetica, sans-serif;
font-size:13px;
}
.info, .success, .warning, .error, .validation {
border: 1px solid;
margin: 10px 0px;
.
-
/* MARGIN */
h1 {margin:1em 0 2em 0.5em;}
h1 {margin-top:1em;
margin-right:0;
margin-bottom:2em;
margin-left:0.5em;
}
/* BORDER */
h1 {border:1px solid #000;}
h1 {border-width:1px;
border-style:solid;
border-color:#000;
}
/* BORDER WIDTH */
h1 {border-width:1px 2px 3px 4px;}
h1 {border-top-width:1px;
border-right-width:2px;
border-bottom-width:3px;
border-left-width:4px;
}
/* BACKGROUND */
div {background:#f00 url(background.gif) no-repeat fixed 0 0;}
div {background-color:#f00;
background-image:url(background.gif);
background-repeat:no-repeat;
background-attachment:fixed;
background-position:0 0;
/* FONT */
h1 {font:italic small-caps bold 1em/140% "Lucida Grande",sans-serif;}
h1 {font-style:italic;
font-variant:small-caps;
font-weight:bold;
font-size:1em;
line-height:140%;
font-family:"Lucida Grande",sans-serif;
}
/* LIST STYLE */
ul {list-style:square inside url(image.gif);}
ul {list-style-type:square;
list-style-position:inside;
list-style-image:url(image.gif);
}
/* OUTLINE */
h1 {outline:#f00 solid 2px;}
h1 {outline-color:#f00;
outline-style:solid;
outline-width:2px;
}
id # class .
: ,
div
FireFox Web Developer, DOM Inspector, Internet Explorer Developer Toolbar, and Firebug.
!important -
.page { background-color:blue !important; background-color:red;}
a, input {
outline:none;
}
a:link {
color: #000;
text-decoration: underline
}
a:visited {
color: #666;
http://techtunes.com.bd/tuner/tanbir_cox
http://tunerpage.com/archives/author/tanbir_cox
http://somewhereinblog.net/tanbircox
http://pchelplinebd.com/archives/author/tanbir_cox
http://prothom-aloblog.com/blog/tanbir_cox
http://facebook.com/tanbir.cox
http://facebook.com/tanbir.ebooks
http://tanbircox.blogspot.com
, ,
, DVD
DVD
!
- DVD ,
!
........
..
...
- (pdf )
,
... ,
...
,
...
...
http://tanbircox.blogspot.com/2013/07/My-DVD-Collection-4-U.html
[ , ]
http://tanbircox.blogspot.com/2013/04/Complete-Solution-of-your-Education.html
- ,
http://tanbircox.blogspot.com/2013/07/All-Internet-And-Web-programming-Software.html
A2Z Audio & Video player , Edito & converter . CD, DVD edit
http://tanbircox.blogspot.com/2013/07/All-Multimedia-And-Windows-Style-Software.html
http://tanbircox.blogspot.com/2013/07/mobile-software-hardware-dvd-5000.html
http://tanbircox.blogspot.com/2013/07/A2Z-Bangla-ebooks-Collection.html
facebook :: - http://tanbircox.blogspot.com