/    Sign up×
Community /Pin to ProfileBookmark

adding space without <br> tag?

I am trying to add a space but when I use the <br> tag the space is too big. I want to know how I can decrease the space with html or css.

to post a comment
HTML

7 Comments(s)

Copy linkTweet thisAlerts:
@Kevin2Jan 13.2014 — Please define "space". Space between words? Space between lines? <br> should be used within a block level element such as <p> or <div> to indicate a line break, not between block level elements.
Copy linkTweet thisAlerts:
@cootheadJan 13.2014 — Hi there ytesfay80,

[indent]

CSS "[i]padding[/i]" and "[i]margin[/i]" attributes are used to control space between HTML elements. ?

A "Google" search will provide plenty of examples of their implementation. ?

[/indent]

[i]coothead[/i]
Copy linkTweet thisAlerts:
@kralcxJan 19.2014 — <i>
</i>&amp;nbsp; that is your space
Copy linkTweet thisAlerts:
@ytesfay80authorJan 19.2014 — <i>
</i>* that is your space
[/QUOTE]

not space between text.

the <br> causes a line break I want to be able to skip multiple lines without having to use a lot of <br> tags.
Copy linkTweet thisAlerts:
@Kevin2Jan 20.2014 — I want to be able to skip multiple lines without having to use a lot of <br> tags.[/QUOTE]
Answer
Copy linkTweet thisAlerts:
@williamforrestJan 20.2014 — you can adjust it by adding negative margins..
Copy linkTweet thisAlerts:
@kralcxJan 20.2014 — not space between text.

the <br> causes a line break I want to be able to skip multiple lines without having to use a lot of <br> tags.[/QUOTE]


then use separate divs, and control the space between divs with your css
×

Success!

Help @ytesfay80 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.4,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...