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!

Layer width in Netscape

Status
Not open for further replies.

budha1

Programmer
Nov 6, 2002
19
0
0
US
Hi,
I am just beginning to transfer to layers after using tables for years. (Our clients use older versions of Netscape.) I am able to get my layers appear in the correct place in Netscape, but am unable to get them to maintain their width. I am using div tags (not layer tags) and define my width as follows: <div id=&quot;layer&quot; style=&quot;left: 133px; top: 326px width: 600px height: 6px&quot;>
I then have centered text in the middle of this layer.

When I look at my page in Netscape, the layer hugs the centered text, and does not maintain its 600 pixel width. I have tried using percentages instead of pixels, but get the same results.

Any suggestions?

Thanks!
 
or post the code

Cheech The secret of life is honesty and fair dealing. If you can fake that, you've got it made.
Groucho Marx (1895-1977)
 
I think I may know what may be wrong. Does it have something to do with the clip attribute?

Here's the code contained in my style sheeet for one my layers:
#content1 {
border: #ffffff;
clip: rect( );
height: 100px;
left: 0px;
position: relative;
top: 100px;
width: 595px;
z-index: 4
}


Thanks so much for your help!

k-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top