hello im currently making a a website...
and although ive just started ive already noticed a big snag...
is it possible to have two settings in your code and have it distinguish which browser you are using and therefore which styles to apply?
see...
i have a background image which is dark grey which fades out to light grey (#cccccc) which is called bg.png
the background colour of the body is also #cccccc so "in theory" the bottom of the gradient should blend with the background...
however what safari and internet explorer seem to distinguish as #cccccc is different from what firefox sees as #cccccc
so if i use the background colour of #cccccc on the body it looks smooth in firefox but i hav a distinct solid line where it should blend in safari...
alternatively if i use #c1c1c1 its smooth in safari but not firefox
if i could somehow get the code to load the body as #cccccc in firefox and #c1c1c1 in other browsers it would be great...
but can it be done?
here is the start of my site layout if you want to take a look to see what i am getting at...
and although ive just started ive already noticed a big snag...
is it possible to have two settings in your code and have it distinguish which browser you are using and therefore which styles to apply?
see...
i have a background image which is dark grey which fades out to light grey (#cccccc) which is called bg.png
the background colour of the body is also #cccccc so "in theory" the bottom of the gradient should blend with the background...
however what safari and internet explorer seem to distinguish as #cccccc is different from what firefox sees as #cccccc
so if i use the background colour of #cccccc on the body it looks smooth in firefox but i hav a distinct solid line where it should blend in safari...
alternatively if i use #c1c1c1 its smooth in safari but not firefox
if i could somehow get the code to load the body as #cccccc in firefox and #c1c1c1 in other browsers it would be great...
but can it be done?
here is the start of my site layout if you want to take a look to see what i am getting at...