|
|
 |
Re: FN-FORUM: Sitecheck - Updating my website - using CSS
date posted 13th March 2008 16:48
On 13 Mar 2008, at 17:53, John Deaville wrote:
> Can I ask people then - if the primary objective is to get the
> website to
> display properly - why use CSS at all, as it seems to be a complete
> pain in
> the rear - at least with tables I know it is going to display
> correctly, the
> reason I want to use css is I hope it may have an impact on my
> google rating
because CSS separates the presentation from the information.
you've floated everything and set widths.
that triggers loads of IE bugs.
try adding:
display:inline;
to every div where you have float and width...
you don't need, shouldn't, mustn't browsers sniff to give one browser
one layout and another a different one, because then you're
maintaining two sites and relying on UA's telling you the truth about
who they are, when often they don't.
CSS isn't a quick answer. like everything it needs time to learn.
I get a bit fed up with people complaining that it doesn't work...
it does, just the same as PHP works or Photoshop works, but you
(generally speaking) have to put time and effort into learning how it
works!
;o)
|
 |
|