Margin issue

Joined
Aug 22, 2023
Messages
59
Reaction score
14
You can manipulate text:align & float values, or use margins to specify a precise number of separated pixels.
 
Joined
Jul 4, 2023
Messages
507
Reaction score
63
I recommend inserting such an entry
HTML:
<div style="clear: both;"></div>
line 2
HTML:
<p>Visit their <a href="currituckbeachlight.com; ">website</a> or call 252 -453-4939 for more information.</p>
<div style="clear: both;"></div>
<h3>Dining</h3>

and check this
CSS:
.container img {
    height: auto;
    max-width: 65%;
    border: 1px solid #fff;
    display: block;
    width: 35%;
    margin-left: 1.5rem;
    margin-right: 1rem;  
    padding-left: 0;
}

Consider this.
How to make a more responsive website layout using grid
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Max width question 1
Hamburger crisis 7
Wonky circle 2
Footer code wonky 2
.active 8
Media query issue 2
Non matching code 4
Help with my navigation, please 0

Members online

Forum statistics

Threads
474,056
Messages
2,570,443
Members
47,090
Latest member
LillieRipl

Latest Threads

Top