thanks, fixed.
On May 31, 5:14 pm, MiB <digital.disc...@gmail.com> wrote:
> 31 maj 2012 19.17 justaguy wrote:
>
> > #menu {
> > float: right;
> > text-align: right;
> > background-color: #EFF9FC;
> > }
>
> the "#" designates an id, not a class. It's the "."-prefix that
> designates a class in the html code and this selects it for the style
> rules within the brackets.
> So as selector you'd use ".menu" or "#nav" in this case.
>
> #nav {
> float: right;
> text-align: right;
> background-color: #EFF9FC;
>
> }
>
> I would recommend you get a book on CSS design. For me it was Andy
> Clarke's "Transcending CSS" from 2006 that turned my life around. His
> later "Hardboiled Web Design" is also good, but as good very
> designeroriented intro I recommend the first title. This books teach a
> very useful mindset and a lot of hard won knowledge.
>
> /MiB
--
--
You received this because you are subscribed to the "Design the Web with CSS" at Google groups.
To post: css-design@googlegroups.com
To unsubscribe: css-design-unsubscribe@googlegroups.com
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.