/    Sign up×
Community /Pin to ProfileBookmark

No wrapping/linebreaks

Alright well I have a bunch of

<img src=” /><img src=” /><img src=” /><img src=” /><img src=” />

Tags like so and there are line breaks between them whenever it reaches the end of the line, but I don’t want it to and I haven’t found any way to get it all on one line. I can’t use nowrap=’nowrap’ because its a DIV that they are contained in not a TD so I can’t really find a good work around anymore. Any help is very much appreciated

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@cfajohnsonOct 16.2009 — [indent]

Are you talking about the code or the web page?

If it's the code it depends on your text editor.

If it's the web page, make the container wide enough to contain all the images.

[/indent]
Copy linkTweet thisAlerts:
@thraddashOct 16.2009 — If you say that the images are contained in a <DIV> then apply the [B]white-space: nowrap;[/B] style to it.

Eg.

[code=html]<div style="white-space: nowrap;">
<img src="image.gif" alt="" /><img src="image.gif" alt="" /><img src="image.gif" alt="" /><img src="image.gif" alt="" />
</div>[/code]
Copy linkTweet thisAlerts:
@posiden5665authorOct 16.2009 — Ya thanks I figured out that when I had done that before i did no-wrap instead of nowrap
×

Success!

Help @posiden5665 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 6.2,
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: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

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