| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jul 2008
Posts: 4
|
Help with Div Tag!!!
I am pulling my hair out over this one. I have my main content in Div Tags that are made to fit 800 x 600 screen resolution, when i resize my browser window the main content resizes itself to occomodate the window. What i want is for another Div Tag or Div Layer of certain size to be positioned over the main content Divs in a certain spot and move when the screen resolution is changed or the window is resized. Surely this cant be hard todo with some CSS?? |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Jul 2008
Posts: 4
|
I dunno i am new to this here is the code </style> </head> <body> <!-- Begin Wrapper --> <div id="wrapper"> <!-- Begin Content --> <div id="content"></div> <!-- End Content --> <!-- Begin Content 2 --> <div id="content2"></div> <!-- End Content 2 --> <!-- Begin Content 3 --> <div id="content3"></div> <!-- End Content 3 --> </div> <!-- End Wrapper --> </body> </html> and CSS * { padding: 0; margin: 0; } body { font-family: Arial, Helvetica, sans-serif; font-size: 13px; background-image: url(back.jpg); background-repeat: repeat; text-align: center; } #wrapper { width: 976px; margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; } #content { width: 976px; height: 561px; background-image: url(images/index_01.png); background-repeat: no-repeat; padding-right: 10px; padding-left: 10px; margin: 0px; } #content2 { height: 431px; width: 976px; background-image: url(images/index_02.png); background-repeat: no-repeat; } #content3 { background-image: url(images/index_03.png); background-repeat: no-repeat; height: 78px; width: 976px; } |
|
![]() |