4

Desperate! How do you center a theme in the center of my web browser?????

http://drupal.org

I am trying to get my webpage to expand/center in all browser windows. Basically I need it to center itself within any web browser. Can someone advise me on where I need to add code, the actual coding that I need to incorporate, before the body, after the body? I got my background to move by adding "background-position:top;" on my psd2css.css page with my background or (layout.css) but I can't seem to get my blocks to move with it. I can copy my existing code if that would help. I have been looking and trying everything, but nothing seems to work? Please help asap! I would really appreciate it. Thanks!!!!!

//here is where I added the background-position: top;//
body{
/* This is the background image to the entire page that you
* get because of the layer '_bodybg' that you created.
* If you would like this layer to stay static relative to the
* browser window (you don't want it to scroll with your content)
* just add the word 'fixed' to the line below (before the ;). */
background: url(Layer-1.png) ;
background-color: #201407;
background-repeat: no-repeat;
background-position: top;
}

Read »
Created by Dplanet 2 years 38 weeks ago
Category: Theming   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Tags for Desperate! How do you center a theme in the center of my web browser?????

Recent comments