Quick HTML question
gtghm
New
I have a web page that I want to set up as 700x520.
I have the background set to exactly that.
How do I make it so that the default bowser window sizes automatically to the 700x520 when it is quried and then if someone wants to drag it bigger that the background and stuff sizes with that?
"g"
I have the background set to exactly that.
How do I make it so that the default bowser window sizes automatically to the 700x520 when it is quried and then if someone wants to drag it bigger that the background and stuff sizes with that?
"g"
0
Comments
What would be the best way to make the browser size the same as the background?
Simplest way I can think of is to direct you to my page.
www.somoff.com
As you can see I made a background that is based on the page size that I want 700x520 for my site and its pages. now until I added in the background it wasn't an obvious problem but now you can see if the person viewing the site has their browser window set to somerthing other than that size you can see a start and end to the background.
So maybe I want to come up with my own canvas design, would that be the more proper way to do it? If so how would I do that?
"g"
< script >
function settaggio(){
x=(screen.availWidth-700)/2;
y=(screen.availHeight-520)/2;
var choose=window.open('THIS IS WHERE YOU PUT THE URL OF THE PAGE YOU WANT PEOPLE TO SEE','gp','scrollbars=no,resizable=no,width=700,height=520,status=no,location=no,toolbar=no, menubar=no,top='+x+',left='+y+',screenY=0,screenX=0');
}
< /script >
just paste that into a portal page as thraxy described (without the spaces in the script tag, of course) and you should be golden. Just mess with it and you'll be fine.