Ning Developer Docs

Jerry Schafer
  • Male
  • Marina, CA
  • United States
  • Blog Posts

Jerry Schafer's Friends

  • Jenny Donegan
 

Jerry Schafer's Page

Comment Wall (3 comments)

You need to be a member of Ning Developer Docs to add comments!

Join Ning Developer Docs

At 8:02pm on December 17, 2009, Jerry Schafer said…
<div ="xg_masthead"></div>

The Ning database isn't letting me write in regular html
At 7:59pm on December 17, 2009, Jerry Schafer said…
#xg_masthead {
margin:0 auto;
width:500px;
}

Hey David, this is the code I would use to center the header on this page. I got the width from the image width, but the header box the image is in didn't have a width so the image by default goes all the way to the left. By setting the width size on the box the image is in, then center the box using the margin: 0 auto;.

The #xg_masthead is the name that the developers gave the box. the # means that it's an id. The box would look something like this;
the image would go here
.
You can see this code and know were it is on the page by using Firefox browser and installing the addon FireBug. There are a zillion tutorials on how to use this thing. just google firebug video tutorials. Then you can really start to customize your page.

Jerry
At 2:49pm on December 17, 2009, David Seitel said…
Question - Where do you put the code in 'appearance -> advance' to center the header? Thank you!
 
 
 

© 2025   Created by Ning Developer Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service