ds111 Posted January 2, 2009 Share Posted January 2, 2009 It should be a very quick solution but has got me puzzled. The follow code: <nobr> <p> <a href="http://localhost/showpost/33/0.html"><img src="http://localhost/images/go.png" border="0" title="Full Post"></a> <span id="editme33"><h3> test </h3></span> </p> </nobr> Should output [Go image] Test But instead it outputs [Go image] Test Like shown in this screenshot. I've tried <p> tags <nobr> tags, but still it gives that. Ya i know <nobr> is deprecated, but white-space: nowrap doesnt work either... Quote Link to comment Share on other sites More sharing options...
htmlstig Posted January 2, 2009 Share Posted January 2, 2009 instead of putting the text in a span and h3, just put it in a span and change the css for the span id to show larger font and bold like the h3 tag does Quote Link to comment Share on other sites More sharing options...
ds111 Posted January 2, 2009 Author Share Posted January 2, 2009 uh, duh!! why didnt i think of that.... well, i've got one last problem. So basically theres this wierd space between a hard-coded "test" and a dynamic "test" where the posts are... take a look at screenshot and the code is: test <--- this is the first "test" u see <div class="post"> <a href="http://localhost/showpost/33/0.html"><img src="http://localhost/images/go.png" border="0" title="Full Post"></a> <span style="font-size: 19px; font-weight: bold; color: black;" id="editme33">test</span> <-- this is the bold test u see Quote Link to comment Share on other sites More sharing options...
htmlstig Posted January 3, 2009 Share Posted January 3, 2009 whats the css for .post? do you have any margins set for it? Quote Link to comment Share on other sites More sharing options...
adx Posted January 3, 2009 Share Posted January 3, 2009 From the image you posted it would seem that you left the 'test' text outside of the container, which means it is somewhere else. Place it in the same cell and margin it to the correct spot. Does that make a difference? Quote Link to comment Share on other sites More sharing options...
ds111 Posted January 4, 2009 Author Share Posted January 4, 2009 yup there was margins. fixed. thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.