Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Text length control


Guest

Recommended Posts

How to control the text length in the main page boxes.

 

Can anyone advice me how to control the text in the main page boxes so that they always contains two rows?

 

If I put in a <br> the tag will show in my invoice.

 

/btp

Link to comment
Share on other sites

How to control the text length in the main page boxes.

 

Can anyone advice me how to control the text in the main page boxes so that they always contains two rows?

 

If I put in a <br> the tag will show in my invoice.

 

/btp

<br/> shouldn't show up, I'll nose around to see if I can't remember where th field length was.

Link to comment
Share on other sites

B)-->

QUOTE(Michael B @ Dec 25 2006, 08:07 PM) <{POST_SNAPBACK}>

<br/> shouldn't show up, I'll nose around to see if I can't remember where th field length was.

 

CAtalog/stylesheet.css

 

find

 

TD.main, P.main {

font-family: Arial, sans-serif;

font-size: 14px;

line-height: 1.5;

color:#2066AC;

text-align:justify;

width:400px;}

 

Notice i have added a width to mine.

You can move the pixels up or down until your text lengths make you happy.

Notice: I also added a text-align:justify; to mine

If you don't want justified text, take it out.

 

Mike

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...