Re: [PHP] layers

2004-12-29 Thread Fernando Gutierrez
a css maillist http://css-discuss.incutio.com/


On Wed, 22 Dec 2004 06:53:47 -0600, Jay Blanchard
[EMAIL PROTECTED] wrote:
 [snip]
 The problem I am having doesn't exactly use PHP but, if you guys would
 help
 me out anyways, I would be very greatful.
 [/snip]
 
 There is a great maililng list at http://www.evolt.org for questions
 just like these.
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 


-- 
-- Fernando Gutierrez Perez --
gmeileando un poco :)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] layers

2004-12-22 Thread Jay Blanchard
[snip]
The problem I am having doesn't exactly use PHP but, if you guys would
help
me out anyways, I would be very greatful.
[/snip]

There is a great maililng list at http://www.evolt.org for questions
just like these.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] layers

2004-12-21 Thread Brad Ciszewski
The problem I am having doesn't exactly use PHP but, if you guys would help
me out anyways, I would be very greatful.

Problem: I am using an image for the layout of the website. The image is
centered. I am trying to use a layer for the spots where content needs to be
added. However, depending on the different resolutions of the users, the
image will be at different coords (because it is centered). I am wondering
how do I get a layer to be based on the center of the user's screen and yet
still be in a fixed position? Below is the code i have so far, and if you
would like to see the error check out: www.junosamadesigns.com

Code Begins Here

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
html
head
titleJunoSamaDesigns.com - Website Graphic Design/title
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
link rel=stylesheet href=includes/mainDesign.css type=text/css
script language=JavaScript type=text/JavaScript
!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if
((appName==Netscape)(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)
location.reload();
}
MM_reloadPage(true);
//--
/script
/head

body bgcolor=#01628D
span id=Layer1 style=position:absolute; left:35px; top:332px;
width:148px; height:316px; z-index:1; overflow: scroll; visibility:
inherit;
  iFrame scrolling=yes src=left.php height=300 width=300/iFrame
/span
script language=javascript
alert(We are currently under construction. Please check back soon!!);
/script
div align=center
  table width=794 height=707
tr
  td colspan=2 align=center valign=top
background=images/layout.jpgnbsp;/td
/tr
  /table
/div
/body
/html


Code Ends Here

Any help will be greatly appreciated!!

Sincerely,

Brad Ciszewski
www.BradTechnologies.com Web Services

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] layers

2004-12-21 Thread Jussi Mkil
I think i had a similar kind of problem as you described here. I used
a layer as a container for the other layers that had the content in them.
Then i just centered the container and used absolute positionings on the
inner layers. The simplified code might look something like this:
html
head
titleyour site/title
style type=text/css
body {
background-image: url(your_pic.jpg);
background-attachment: scroll;
background-position: center top;
}
/style
/head
body
div id=container style=margin:auto;position:relative;
div id=your layers style=position:absolute
!-- content --
/div
div id=your layers style=position:absolute
!-- content --
/div
div id=your layers style=position:absolute
!-- content --
/div
/div
/body
/html
This doesn't however remove problems with vertical centering. For that I
have no advise at this point...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php