mrt003003 Posted April 7, 2011 Share Posted April 7, 2011 Hi there i think im having trouble with my css.. .moncalimari { position: absolute; visibility: visible; left: 1560px; top: 352px; color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; font-size: 12px; } When i enter the text "Mon Calimari" the Calimari bit is entered on a new line... I want it to stay together on the same line "Mon Calimari" Is there something missing from my css??? Thanks Quote Link to comment Share on other sites More sharing options...
mrt003003 Posted April 7, 2011 Author Share Posted April 7, 2011 Incase i seem a bit vague im echoing the variable: $moncalimari = "Mon Calimari 1-1-2-6"; echo '<p class="moncalimari">' . $moncalimari . '</p>';} When the text is diplayed on screen it looks like: Mon Calimari 1-1-2-6 Thanks Quote Link to comment Share on other sites More sharing options...
nogray Posted April 7, 2011 Share Posted April 7, 2011 Your .moncalimari is too far to the left, so the width will be as wide as the longest word. Setting the width property will fix the issue. 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.