This Message Forum is no longer in use

Please use the new Bravenet Help Forums FOUND HERE

General Forum
This Forum is Locked
Author
Comment
Centered, But Still Not Right

Here's what I did earlier this morning:

As of 3-2-06
Changes to New Blue Style Sheet from 'Fibromyalgia Talks'


body
{
margin: 0; /* to avoid margins */
text-align: center; /* to correct the centering IE bug */
font: 16px Comic Sans MS; BACKGROUND-COLOR: #93A8D4; /* this line stood alone before change */
}


#centered
{
position: relative; /* container positioning */
margin-left: auto;
margin-right: auto;
width: 785px; /* changed from ".wrapper width: 780px;" */
text-align: left; /* IE hack */
}


-----------------------


Changes to Talk.html: added to html right after tag as follows;



/* place entire website in this container div */


-----------------------


Threads from HTML Coding Forum:


http://pub28.bravenet.com/forum/2385378114/show/664627

http://pub28.bravenet.com/forum/2385378114/show/663735


-----------------------

Hi, I'm SBernheart but everyone calls me Bern. I've been working on a website I started a while back and my memory isn't as good as it should be, I guess, because I don't remember how to center my pages without screwing up everything that's on them. Above are changes I made to the CSS and HTML and the threads I visited for help. The page I changed is:

http://fibrofog.bravehost.com/talks.html#The

As you can see, it's now centered alright, but the buttons are all messed up. The 'Home' button was the same as the 'menu' button next to it. If it was where it belonged, the column underneath 'Home' may have stayed where it belonged -- directly underneath 'Home' -- but it's not at the moment.

I have the same problem with my Homepage:

http://fibrofog.bravehost.com/index.html

I just can't seem to wrap my head around this stuff! Not unlike 'kieran', I too have some experience with coding -- more HTML than style sheets -- so please be gentle! I must have been just as frustrated back then as I am now because I found this in my file manager:

http://fibrofog.bravehost.com/letter.html

That's what my Homepage is supposed to look like, but I just as soon fix the original than start all over again.

Thanks, in advance, for any help you guys can give me. I do try to do my own work and I search elsewhere as well (Alsacreations at http://tutorials.alsacreations.com/), but as I stated, "I just can't seem to wrap my head around this stuff!"

Bern

Re: Centered, But Still Not Right

Thank God I preview before I post because the code I was trying to point out didn't show up properly. So I'm going to have to let you look at the Source Code yourself for the following page:

http://fibrofog.bravehost.com/talks.html#The

If you know a little of what you're looking at, I hope my 'saying' of the correction is enough to help you see it for yourself and put it to your own use.

I was looking over each and every line one more time and I couldn't find a reason for the 'horizontal rule' tag located before 'Home' in the code of my first button. Once I removed 'hr' from the code, the page straightened right out.

I hope this helps someone else. Between my original post and the correction I noted above (less the 'hr') is all I needed for my page -- maybe it'll help you, kieran, with your navigation, too.

Bern

Re: Centered, But Still Not Right

After reading your page i was compelled to find out more so I googled 'FMS/ACM' and your page was top of the list. Just thought you'd want to know

Re: Centered, But Still Not Right

Thanks, Scutterman. I guess the pressure's on then to finish the rest of the site and fill in a few blanks! You know, most people wouldn't have bothered, but I do appreciate knowing so your gesture, well, KUDOS! I did the same thing once when I came across a #1 article about a site who's wiki I was proofreading. I went on the forum and posted the fact that the article had nothing but nice things to say. I thought they might want to know, too! Thanks again.

Bern

PS: FMS stands for Fibromyalgia Syndrome and ACM stands for Arnold Chiari Malformation and they're both illnesses. Just thought you'd want to know.

Re: Centered, But Still Not Right

Bern, I used


to seperate the code on my post about centering, I think you may have added one of those....