Topic: getting div and p to play nice (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: |
posted 11-13-2003 17:41
I've been awhile from hand coding for a bit, but it's time to get back into it. |
Nervous Wreck (II) Inmate From: |
posted 11-13-2003 17:58
The p tag may be providing its own vertical spacing. Make sure that padding and margins for p tag are zero and then see where you stand. You may also want to set padding to 0 for the div as well... code: div {
|
Maniac (V) Mad Scientist From: |
posted 11-13-2003 18:02
Damn. You beat me to it. |
Maniac (V) Inmate From: under the bed |
posted 11-13-2003 18:34
Yeah, it's always a good idea to specify such things for all of your block level elements, because each browser will have its own default. |
Nervous Wreck (II) Inmate From: |
posted 05-03-2004 21:25
you could try br instead of p |
Maniac (V) Inmate From: under the bed |
posted 05-04-2004 01:13
That would be a terrible, terrible thing, and should never be done. |
Paranoid (IV) Mad Scientist From: Right-dead center |
posted 05-04-2004 05:22
...that or there's a great big bloody hole in the middle of wj's desk.... |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 05-04-2004 09:57
this reminds me - we need a 'stupid html archive' |