Jump to content

looking for a fixed width...


co.ador

Recommended Posts

<li style="padding:3; border:0; margin:0; float:left; text-align:center; "><p style=" padding:8px; border:0; margin:0; text-align:center; left:5px;" ><a href="',$uri,'"  >',$alt,'</a></p></li>

 

Guys I want the text of this variable ',$alt,' which is a piece of text "$alt=Air Jordan exponent" to have a fixed width to avoid it to extend all the way to the right, instead I want the text to go down if it is too long...

Link to comment
Share on other sites

Thank you...

 

When I fixed a width then the thumbs goes all over

 

 

I think something is wrong with the structure of the <li> tags

 

 

<li style="padding:3; border:0; margin:0; float:left; text-align:center; "><p style=" padding:8px; border:0; margin:0; text-align:center; left:5px; width:50;" ><a href="',$uri,'"  >',$alt,'</a></p><a href="',$uri,'" title="',$alt,'" style="padding:0; border:0; margin:0; " ><img  width="',$width,'" height="',$height,'" alt="',$alt,'" src="',$srcp,'"   /></a></li>

 

 

below is the second part of the code above and it contain a picture box.

<a href="',$uri,'" title="',$alt,'" style="padding:0; border:0; margin:0; " ><img  width="',$width,'" height="',$height,'" alt="',$alt,'" src="',$srcp,'"   /></a>

 

The way it display is a text above the picture but when a width is fixed the thumbs display not in order they go all over.

 

it display a line then the next line display two thumbs and then the next line display all thumbs it goes kind of crazy...

Link to comment
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.