Jump to content

Recommended Posts

Hi .

Please see this. http://globerescue.com/index.php?p=100&news=45

and the problem is there have to be a picture and text surounding this picture but in FF and in IE6 looks horrible.

this is how i am tring to fix it

wordwrap(stripslashes($text),40,'</br />')

Can someone give me an advice how its going to be better ...

Link to comment
https://forums.phpfreaks.com/topic/87782-wraping-text/
Share on other sites

because your screen layout for that page is set to fit a 600x800 browser so your text must fit a certain "pixel" area to fit in the content.

 

This site (phpfreaks) is done to fill a browser screen so text can adjust accordingly using the em unit (emperical) that fits to a screen much better.

 

This is a common misconception, all fonts are not equal in height or width of the same charcterrs thus you must force dynamic areas into specifc css guidelines to make it look right.

Link to comment
https://forums.phpfreaks.com/topic/87782-wraping-text/#findComment-449088
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.