Hi all,
I am learn css by myself and now i learnd <div> and <id> and i write followings:
.imhed{width:700px;height:320px;padding:3px;}
.longbanner{width:710px;height:28px;background-color:rgb(252, 183, 62);padding-left:10px;padding-top:2px;padding-
but i am not sure about my website and i think these css too much. Which way to less than this css?
anyone have a good idea? let me know and many thanks.
Less is faster and usually better. This doesn't look like too much CSS though.Less is faster and usually better. This doesn't look like too much CSS though.
Yep. I got it. I just not sure about this now i see. then i will use this. thank you very much.Yep. I got it. I just not sure about this now i see. then i will use this. thank you very much.
You can also put all the CSS on one line, this may speed up your website a bit however it's hard to edit (i like to show CSS formatted).
Kind Regards,
EverettHello,
You can simplify the CSS when 2 classes or ids have the same styles:
[HTML].st-or, .stto{width:700px;padding:10px;}[/HTML]
You can also put all the CSS on one line, this may speed up your website a bit however it's hard to edit (i like to show CSS formatted).
Kind Regards,
Everett
robertman11
Are you sure you want to delete this post?