Advertise Here
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
News
: Earn your money online safely here at eMoneySpace.
Aug 16, 2022 06:57 pm
Home
Search
Login
Register
eMoneySpace
»
Webmaster's Corner
»
Developer Board
»
About CSS sheets
About CSS sheets
Pages: [
1
]
« previous
next »
Print
Author
Topic: About CSS sheets (Read 2189 times)
a2dor07
Reputation: (
+1
)
Offline
Posts: 223
Referrals: 0
What we do in life, echoes in eternity!
About CSS sheets
Sep 06, 2014 04:48 pm
I am new in the web design industry, but I have not quite found an answer to this question.
Is it best to run multiple style sheets, each one with a part of the web design, or just one main style sheet for everything?
What is the impact on the website? Is it a difference in any way, pros/cons?
Thanks in advance!
Logged
zoro-kun
Reputation: (
+2
)
Offline
Gender:
Posts: 56
Referrals: 0
nakama ka?
Re: About CSS sheets
Reply #1:
Sep 07, 2014 02:02 am
most of the time 1 is enuf
Logged
*** 1 PAGE HTML/CSS FOR $5 *** first 100 spots for FREE!!!
shipu
Reputation: (
+26
)
Offline
Gender:
Posts: 3727
Referrals: 1
Re: About CSS sheets
Reply #2:
Sep 07, 2014 02:56 am
Quote from: a2dor07 on Sep 06, 2014 04:48 pm
I am new in the web design industry, but I have not quite found an answer to this question.
Is it best to run multiple style sheets, each one with a part of the web design, or just one main style sheet for everything?
What is the impact on the website? Is it a difference in any way, pros/cons?
Thanks in advance!
It might impact loading time(a little).
Logged
Only $0.10 Minimum payout GPT.
JustClick
Reputation: (
+60
)
Offline
Posts: 5794
Referrals: 1
Re: About CSS sheets
Reply #3:
Sep 07, 2014 09:36 am
If u are having good brain then try to code like this
.someclass {background-color:#056123;color:#fff;text-decoration:none;float:right;}
instead of this
.someclass {
background-color:#056123;
color:#fff;
text-decoration:none;
float:right;
}
it reduces unnecessary spaces and reduce size of css. Also instead of using so many css for not getting confuse u can use MARKERS in same css file to distinguish your codes for understanding.
Logged
a2dor07
Reputation: (
+1
)
Offline
Posts: 223
Referrals: 0
What we do in life, echoes in eternity!
Re: About CSS sheets
Reply #4:
Sep 07, 2014 02:24 pm
Quote from: JustClick on Sep 07, 2014 09:36 am
If u are having good brain then try to code like this
.someclass {background-color:#056123;color:#fff;text-decoration:none;float:right;}
instead of this
.someclass {
background-color:#056123;
color:#fff;
text-decoration:none;
float:right;
}
it reduces unnecessary spaces and reduce size of css. Also instead of using so many css for not getting confuse u can use MARKERS in same css file to distinguish your codes for understanding.
Yeah it's a nice and clean way to code in the first variant above. I was having doubts about the multiple style sheet use, had found some info that was claiming the best way to go with is with 2-3 style sheets ...
It's always good to have some more opinions to guide you. Thanks
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EMS
-----------------------------
=> Forum Rules, FAQ and Announcements
=> Suggestions, Feedback and Forum Support
=> EMS Games & Contests
-----------------------------
Get Paid To Websites
-----------------------------
=> General Discussion
=> Crypto Currencies
=> Praises and Applause
=> Complaints
=> New and Pending Websites
=> Suspect Websites
=> Stable Websites
=> Downline Builder
=> Referral Exchange
=> Referral Deals
-----------------------------
Webmaster's Corner
-----------------------------
=> Developer Board
=> List your Website or Blog
=> Industry Announcements
=> Advertising Offers
-----------------------------
Members Lounge
-----------------------------
=> Chit-Chat Main
=> Buy and Sell
=> Introduce Yourself!
=> Non English Forum
=> Advertise Here