Previous Message
Next Message

Re: table to CSS

Sent by Lukasz Grabun on 29 September 2004 16:04


On Wed, 29 Sep 2004 10:35:55 -0400, Mike [EMAIL-REMOVED]> wrote:
> At 04:12 PM 9/29/2004 +0200, you wrote:
> >Well, you're almost there, aren't you?
> >
> >Don't use <p class="title"> but rather stick to h1 and style this tag.
> >Something like

> This above did not make any difference.
> I still have the top gap and I cannot get the additional borders under the
> title.
> I would really like to get his figured out.

Browsers tend to use their own styles i.e. FireFox, for this example,
can assume that paragraph margins are 1em. To get rid of this, use
p.title { margin: 0; padding: 0; }; also, since it costs nothing add
padding:0 and margin:0 to both borders. This should make the job done.
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: