Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

applying text, stupid question

Status
Not open for further replies.

crappdan

Technical User
Mar 4, 2007
4
0
0
GB
text will not fit layer as paragraph. layer expands to infinity horizontaly on first line
 
How are you restricting/defining the width of the layer? Expanding to fill the width is the default for paragraphs (and pretty much everything else).

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
thats the problem, i don't know how to define/restrict the width of layer
 
Ok. What are your layers? table cells? divs?

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
i belive they'r table cells. i'm selecting INSERT> LAYOUT OBJECT> LAYER to achieve a group of nested layers
 
Below are 2 examples of how the code looks like when limiting the size of Layer and Div.


#Layer1 {
position:absolute;
width:200px;
height:115px;
z-index:1;
left: 47px;
top: 190px;
}
-->
</style>


inline style code, limited div to 300 pixels:
<div id="div1" style="width:300px">Content for id "div1" Goes Here</div>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top