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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Web Design using Tables problem

Status
Not open for further replies.

Chr1s2003

Technical User
Oct 26, 2003
5
GB
Hi,

I have designed an HTML website using frames so if people have 800x600 resolution it fits properly.
Ive had a mission inserting text and i used layers to put the text on so it is easily moved around and edited if need be.

I found when the screen res changes to 800x600 the text does not fit on the page and its all over the place.
Is there a way of making the layers stay in once place or do I have to split the cells for the text which is a pain in the behind...

Any help is gratefully recieved


Chr1s

There's something on the wing.......
 
yes u have to move the layer as per the screens, as the layer's left tag is in pixels, what kind of vrowser compatibility are u looking for???

Known is handfull, Unknown is worldfull
 
Hi,

I'm looking for IE 5 and above compatability

Thanks

There's something on the wing.......
 
then u have to use DOM to get the left property of the layer, try this:

document.getElementById("Layer1").style.left="656px"
document.getElementById("Layer1").style.top="325px"

where layer1 is the layer's name...



Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top