/    Sign up×
Community /Pin to ProfileBookmark

substituion for <nobr>

Hi,
I have got something like this:

[code=html]<table>
<tr>
<td>bla1</td>
<td width=”100%”>bla2</td>
</tr>
</table>[/code]

i want bla2 to take all the space, except the space needed for bla1.
My problem comes when bla1 is <img> tags with text, it seems that even though i use &nbsp; the <img> tag breaks the line… (i think it is caused due to the width=100%)

How can i overcome this, without useing <nobr>, which helps in this case but wont pass validator

tnx

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@felgallApr 18.2005 — Try the following instead (just substitute the width you want for the first column.

&lt;table width="100%"&gt;
&lt;tr&gt;
&lt;td width="50"&gt;bla1&lt;/td&gt;
&lt;td&gt;bla2&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
Copy linkTweet thisAlerts:
@NogDogApr 19.2005 — Maybe:
<i>
</i>&lt;td style="white-space: nowrap;"&gt;
Copy linkTweet thisAlerts:
@TrolloCauthorApr 19.2005 — tnx NogDog !!!
×

Success!

Help @TrolloC 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.19,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

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