JavaScript and client side scripting.
Moderator: General Moderators
-
Mds
- Forum Contributor
- Posts: 110
- Joined: Tue Apr 22, 2008 8:56 pm
-
Contact:
Post
by Mds »
Hi there.
Do you know how I can reduce this code in 1 line :
Code: Select all
body {
background-color: #615a49;
font-family: Tahoma;
font-size: 12px;
font-weight: normal;
color: #F4F5EF;
text-align: center;
margin: 0px auto;
min-height: 100%;
height: 100%;
line-height: 17px;
}
-
Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Post
by Christopher »
Code: Select all
body { background-color: #615a49; font-family: Tahoma; font-size: 12px; font-weight: normal; color: #F4F5EF; text-align: center; margin: 0px auto; min-height: 100%; height: 100%; line-height: 17px; }
There are a few tags like background and font that can be written in combined form. See the docs.
(#10850)
-
Mds
- Forum Contributor
- Posts: 110
- Joined: Tue Apr 22, 2008 8:56 pm
-
Contact:
Post
by Mds »

Thank you.
How can I combine these :
Code: Select all
font-family: Tahoma;
font-size: 12px;
font-weight: normal;
-
Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Post
by Christopher »
(#10850)
-
Mds
- Forum Contributor
- Posts: 110
- Joined: Tue Apr 22, 2008 8:56 pm
-
Contact:
Post
by Mds »
Nice
