You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Having trouble setting dimensions of overlay Created Aug 24, 2010

This thread is solved

Views: 544     Replies: 1     Last reply Aug 25, 2010  
You must login first before you can use this feature

Lyynk

Posts: 3

Registered:
Jul 7, 2010

Having trouble setting dimensions of overlay

Posted: Aug 24, 2010

This may be a really dumb question, and I've worked quite a bit with jQuery Tools, but for the life of me, I don't know what I'm doing wrong trying to resize this overlay I'm working with. It continues to be the same width x height no matter what I change.

Is there some setting I need to change or should width and height be determined from CSS?

wls

Posts: 6

Registered:
Aug 24, 2010

» Having trouble setting dimensions of overlay

Posted: Aug 25, 2010

Reply to: Having trouble setting dimensions of overlay, from Lyynk
Hi Lyynk,

Try something like this in your CSS (just an example from my own project):


DIV.overlay {

	background-color:#35312F;
	PADDING-BOTTOM: 10px;
	PADDING-LEFT: 10px;
	PADDING-RIGHT: 10px;
	PADDING-TOP: 10px;
	DISPLAY: none;
	overflow:visible;
	min-height:100;
	min-width:200;
	z-index:10000;
}

I use a minimum height and width for the overlay -- and then I set the contents of the page loaded into the overlay inside a table with a width of 600 px. The overlay takes its actual dimensions from the width & height of the table. (Oh, and I make the background colour of the table white #fffff, and it all ends up looking very nice.)

Good luck!