...

View Full Version : Please Check Out My CSS, Does It Look Right ?



mooapo
01-08-2013, 03:48 AM
Hello !

I was hoping some one could take a peek at my CSS and tell me if it looks right. I am new to Web Design and still learning.


body {
background-attachment:scroll;
background-color:#000;
background-clip:border-box;
background-image:url(img/bg-body.jpg);
background-origin:padding-box;
background-position:left top;
background-repeat:repeat-xy;
background-size:auto auto;
font-family:"Helvetica Neue", Helvetica, Arial, sans-serif; /* Serve Helvetica Neue, with Helvetica fallbacks to Arial */
font-size:11px;
font-weight:300; /* Better supported than 'lighter' attribute */
line-height:18px;
color:#444; /* Lighter on the eyes than #000 Black */
}


Also, is the image to large? What I am asking is, is the image right as well?

Thank you....

Excavator
01-08-2013, 04:44 AM
Hello mooapo,
I wonder if you really need all that stuff. Do you know what background-clip or origin is doing for you?

repeat-xy is invalid (see the links about validation in my signature line)

Maybe all of that could be tidied up a bit to look like this -
body {
color: #444;
background: #000 url(img/bg-body.jpg);
font: 300 11px/18px "Helvetica Neue", Helvetica, Arial, sans-serif;
}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum