Click to See Complete Forum and Search --> : Help On Site


Jego
01-30-2003, 05:15 PM
hmmmmm i dont really know how to ask this. but i use adobe photoshop to make my webpages. but i'm lucking for a code that i can make that page show up in center of a browser window and with black coler background then. also i'm lucking for a html code where i can put a frame on the photoshop site an iframe i mean :) i know how i can make it transparent. but i dunno how i can put it at the exact spot i want it to be. (in the center of the photoshop site). can annyone help me it would be great if u dit :)

jpmoriarty
01-31-2003, 06:33 AM
it might not be particularly good practice, but i use frames sometimes to put my page in the centre of the screen.

Decide on how bigyou want your centre frame to be (in this example we'll go with 500 wide by 300 tall, and we'll call it "centre.html"). then create a frameset page with the following frameset:


<frameset rows='*,300,*' border=0 scrollbars='auto'>
<frameset cols='*,500,*' border=0 scrollbars='auto'>
<frame src='empty.html' marginheight=0 scrolling='no' noresize>
<frame src='empty.html' marginheight=0 scrolling='no' noresize>
<frame src='empty.html' marginheight=0 scrolling='no' noresize>
</frameset>
<frameset cols='*,500,*' border=0 scrollbars='auto'>
<frame src='empty.html' marginheight=0 scrolling='no' noresize>
<frame name='MAIN' src='centre.html' marginheight=0 scrolling='auto' noresize>
<frame src='empty.html' marginheight=0 scrolling='no' noresize>
</frameset>
<frameset cols='*,500,*' border=0 scrollbars='auto'>
<frame src='empty.html' marginheight=0 scrolling='no' noresize>
<frame src='empty.html' marginheight=0 scrolling='no' noresize>
<frame src='empty.html' marginheight=0 scrolling='no' noresize>
</frameset>
</frameset>

You can then make your "empty.html" contain whatever you like, and if you want a black background then you make the HTML page have a black background.

You'll notice I've not named any of the "framing" frames - that's probably not a good idea, but since i never want to load anything into them i havent done here. You should also include a noframes option for the people out there (if there are any) who just want to view your data but dont have access to a frame compatible browser.

Jego
01-31-2003, 10:20 AM
ty for that info but i'm trying to get that into an iframe i can make an iframe and i can make it in center but only in width not in height if i could do that it would make it all easyer :) so do u know a html code to make that iframe show up in center in height then :)

Mortekai
02-01-2003, 08:54 PM
Do you have a link to your page so we can see a little better what you are talking about? Its easier that way.. :)

Jego
02-02-2003, 03:29 AM
http://www.euro.owns.it is the link to that page i now use a popup window to make my site display but i would like an iframe so its easyer to use for me and then i dont have that nasty popup again :). i also found something new thats wrong. i use downloaded fonts on that site. i uploaded them 2 site but they stil dont show up only on my computer do i need to do something else ore is it my servers prob??