Jump to content

wraping text


mraiur

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.