Top Margin?

Locked

Views: 2,770

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
4 Feb 2007, 7:06 PM
#1
mommydesigns avatar

mommydesigns

Zen Follower

Join Date:
Jul 2006
Posts:
135
Plugin Contributions:
0

Top Margin?

I am poking my eyes out with a stick... can someone please help me add a top margin so that my header isn't stuck to the top of the screen? :shocking:

Thank you thank you thankyou!!

Jennie

4 Feb 2007, 8:03 PM
#2
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: Top Margin?

what is the url?

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

4 Feb 2007, 8:30 PM
#4
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: Top Margin?

:huh: which version are you using? is this an upgrade? I'm trying to figure out why you have 3 stylesheets.....

anyway when you figure out which stylesheet to put it in it would be placed in the body declaration......padding-top: 10px; or whatever distance you want.

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

5 Feb 2007, 12:42 AM
#5
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Top Margin?

You also might want to add a "width" to your mainWrapper declaration in your stylesheet.

I say this because your logo graphic is extending about 50px to the right.

The graphic is 750px wide

#mainWrapper {
background-color: #ffffff;
text-align: left;
width: 75%;
vertical-align: top;
border: 1px solid #9a9a9a;
width: 750px; add this to match the width of your logo graphic.
}

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.