sseeley Posted September 12, 2009 Share Posted September 12, 2009 Hi I have a really simple peice of code .invalidLogin{ position:absolute; top:140px; left:5px; font:bold italic 13px arial; text:red; } <div class="invalidLogin"> <p style="color:red"> testing testing testing testing </p> When I use IE its perfect, however when I use Chrome, Opera, or Firefox the text automatically wraps around? Can anyone help on this? Stuart Link to comment https://forums.phpfreaks.com/topic/173993-text-wraps-in-non-ie-browsers/ Share on other sites More sharing options...
saltedm8 Posted September 13, 2009 Share Posted September 13, 2009 could you be more specific ? with what you have supplied there, i see no differences with exception of the text being larger in one browser and smaller in the other Link to comment https://forums.phpfreaks.com/topic/173993-text-wraps-in-non-ie-browsers/#findComment-917848 Share on other sites More sharing options...
rachelk Posted September 15, 2009 Share Posted September 15, 2009 Maybe try setting a width to the div if the text is wrapping in some browsers and not others.. Link to comment https://forums.phpfreaks.com/topic/173993-text-wraps-in-non-ie-browsers/#findComment-918688 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.