Sign in to follow this  
DOSError

Display:inline; Doesn't Seem To Work In Css

Recommended Posts

I'm trying to define a text type in my external CSS file and there is one attribute that doesn't appear to be working (display:inline;). I'm trying to keep text from breaking on lower resolutions (800x600), but it doesn't seem to be working. I basically just need something like <nobr> implemented into my css file. If I put <nobr> before and after the text that is breaking, it works...but if I try putting display:inline; in the text class in my CSS file, it doesn't work...any help?

Thanks

\\DOSerror

Share this post


Link to post
Share on other sites
Have you tried white-space: nowrap?

Jesus jsbowen...you are like the fricking houdini of webpage code! :o Do you do this stuff for a living or what??? That worked quite well, thanks! :)

Edit: Nevermind...read your profile about the websites on the side thing. :P

Edited by DOSError

Share this post


Link to post
Share on other sites

Yeah, I'm just a weekend warrior when it comes to web pages. I was afraid Hai-Etlik would come by and tell me my code was not compliant with current standards :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this