The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Margin, Nef=gative top margin
JN1
post Dec 18 2019, 06:39 AM
Post #1





Group: Members
Posts: 1
Joined: 18-December 19
Member No.: 27,082



How would I add a negative top margin to this

<p>&nbsp;</p>
<div class="container">
<div class="row">
<div class="col-md-7 hero-text">
<h1>text text text text</h1>
</div>
</div>
</div>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Dec 18 2019, 08:48 AM
Post #2


.
********

Group: WDG Moderators
Posts: 8,296
Joined: 10-August 06
Member No.: 7



With CSS. But it's not clear from the code example which HTML element you want the CSS to apply to.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 23rd February 2020 - 09:26 PM