Pages (2):    1 2
Member
Member
Imlah   2008-12-24, 08:43
#21

Just wondering if fretzl and mapi tried more than one line in the description, because when I tried the above fix, the title was correct and the first line of the description was correct but subsequent lines were in the middle of the photo.

Administrator
Administrator
fretzl   2008-12-24, 09:16
#22

Yes I did. And it still works.
Maybe you can post the pieces of PHP and CSS code you are using so I can have a look.

Member
Member
Imlah   2008-12-26, 06:48
#23

In image.php I entered:

In photo.css I added:

desc #imageDesc {


/ margin-left:265px; /
}

anything {


margin-left: 265px;
white-space: nowrap;
}

Administrator
Administrator
fretzl   2008-12-26, 11:06
#24

Thanks. I can't find anything wrong but I also can't reproduce it.

Just a guess, try this:

anything {


margin-left: 265px;
white-space: nowrap;
display: block;
}

Member
Member
Imlah   2008-12-27, 07:03
#25

Hey fretzl, your suggested coding fix works perfectly. I've tried it with IE7 and Firefox 3.0.3.

Thanks for the help.

imlah

Junior Member
Junior Member
SimonLong   2009-04-06, 02:17
#26

Is the following CSS necessary at all? I've been bothered on Firefox 3.0.8 and Safari 4b by multi-line descriptions forcing an increase in the width of the page.

white-space: nowrap;

Does the removal of this line break the layout in some version of IE?

Administrator
Administrator
fretzl   2009-04-08, 10:34
#27

Can't even remember why it's there.
Just remove it

Pages (2):    1 2
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.