the inline margin you inserted lacks 'px' after '40'
and please try to fix this:
- don't put DIVs inside Paragraphs - you should do it the other way
round - this is probably the reason why the browser gets crazy and
spits stuff like that
2010/12/8 Keith Purtell <keithp...@gmail.com>:
> --
> --
> You received this because you are subscribed to the "Design the Web with
> CSS" at Google groups.
> To post: css-d...@googlegroups.com
> To unsubscribe: css-design-...@googlegroups.com
--
BAZINGA Designs
Igor Wnuk
Ul. PCK 5/20
24-100 Puławy
tel. 667 200 706
REGON: 060622686
NIP: 716-255-43-47
W dniu 8 grudnia 2010 03:40 użytkownik Bazinga Designs
<bazinga...@gmail.com> napisał:
>
> - Keith
The element has to be set to display:block before you can add top/bottom
margin/padding since inline elements only use line-height to determine
how tall they should be.
- Brandtley