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: 9,649
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
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 16th April 2024 - 02:20 PM