Reputation: 2729
Is there anyway to get rid of the marquee padding? I was never able to figure this out, I know you can change the width and height but what about padding? I'm trying to change the amount of space between the wording and the top and bottom.
HTML:
<marquee width="50%">
<p>Sample ticker text goes here</p>
</marquee>
CSS
marquee {
font-family: wallStreetFont;
font-size:50px;
color:red;
background-color: black;
border: 1px solid #ccc;
padding:0px;
margin:0px;
}
Upvotes: 0
Views: 2876
Reputation: 5788
It's not the marquee
, it's the p
tag that has the padding (margin, in this case).
So:
p { margin: 0; }
Upvotes: 4