2 replies [Last post]
relight
Offline
newbie
Last seen: 17 years 25 weeks ago
Joined: 2005-01-11
Posts: 2
Points: 0

<div><span style="cursor:hand" onclick="opener('a0');"><p class="heavy">Martijn van Es</p><p class="test"> - Managing Webmaster & Editor-in-Chief</p></span></div>

I want to make the first part one style, and the second part another style - but I don't want a line break between the two of them. How do I do this? I thought the mode:nowrap; in my css would do that, but it doesn't. Someone else wrote the div/span code, so could I accomplish the same thing just using a link command (link wouldn't lead anywhere, it would execute onclick) and just set my link specs in the css? If so, how would I do that?

karinne
karinne's picture
Offline
Enthusiast
Aylmer, QC, Canada
Last seen: 15 years 3 weeks ago
Aylmer, QC, Canada
Timezone: GMT-5
Joined: 2004-01-14
Posts: 291
Points: 0

two different &lt;p&gt;s, don't insert line break

use span instead of p

relight
Offline
newbie
Last seen: 17 years 25 weeks ago
Joined: 2005-01-11
Posts: 2
Points: 0

two different &lt;p&gt;s, don't insert line break

Oh! OK, now I get it. Thanks very much!