Centering - Post ID 176045

User 2283504 Photo


Registered User
36 posts

Please help. I was in the support area but it went silent for a few hours. Below is the outline of my issue with the centering.



----------------------------------------------
Bryon Smith (Registered User) said:
on Dec 16th, 2011 at 11:23 AM

I am having trouble centering the css menu and the text that follows.
It's probably simple but I am not figuring it out.

Attached are my two css files

the website is: http://acquirenewclients.com/My_Swing_Thought.html

Attachments
-----------------
http://www.coffeecup.com/help/myroom/32 … .58540.css (4.63 KB)
http://www.coffeecup.com/help/myroom/32 … .58541.css (2.04 KB)
-----------------

Bryon K. Smith


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


----------------------------------------------
Orlando Perez (Customer Support Specialist) said:
on Dec 16th, 2011 at 11:33 AM

Hello Byron,

The script for the menu should go within the header of the page not in
the body.


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

Orlando Perez
CoffeeCup Software Inc.
An Internet 500 Company
http://www.coffeecup.com

"Want to update your website from anywhere? Check out our new free
service, S-Drive Streams. Visit http://www.coffeecup.com/sdrive for
more information."


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


----------------------------------------------
Bryon Smith (Registered User) said:
on Dec 16th, 2011 at 12:40 PM

I took care of putting the menu in the head. Thank you. That took care
of the separating the headline from the menu but the menu is still not
centered. How do you center the menu?

Regards,

Bryon
-----------------

Bryon K. Smith


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


----------------------------------------------
Orlando Perez (Customer Support Specialist) said:
on Dec 16th, 2011 at 12:57 PM

Hello Byron,

You will need to adjust the padding for the position of the menu to fit
your design using divs and CSS.

This article should help:

http://www.thesitewizard.com/css/center-div-block.shtml


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

Orlando Perez
CoffeeCup Software Inc.
An Internet 500 Company
http://www.coffeecup.com

"Want to update your website from anywhere? Check out our new free
service, S-Drive Streams. Visit http://www.coffeecup.com/sdrive for
more information."


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


----------------------------------------------
Bryon Smith (Registered User) said:
on Dec 16th, 2011 at 01:59 PM

I read the article and from what I got I used the following code within
divs:


Home
About Us
Tips & Testimonials
Swing Thoughts
Swing Feelings


Then in the menu-menu.css I place this code:

#content {
width: 800px ;
margin-left: auto ;
margin-right: auto ;
}

Attached is what the page looks like in Firefox preview.

The only issue I wanted to correct on the current web page is to center
the css Menu. This method created more problems...I am hoping it's a
simple error.

Thank youhelping.

Bryon

Attachments
-----------------
http://www.coffeecup.com/help/myroom/32 … .58545.JPG (55.62 KB)
-----------------

Bryon K. Smith


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


----------------------------------------------
Bryon Smith (Registered User) said:
on Dec 16th, 2011 at 02:43 PM

I actually got the menu to center...inadvertently saved the
menu-menu.css to the wrong place. Interestingly enough, A couple
headlines from the body are on lines above the menu and have moved
towards a logo there.

See attached.

Attachments
-----------------
http://www.coffeecup.com/help/myroom/32 … .58546.JPG (51.36 KB)
-----------------

Bryon K. Smith


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


----------------------------------------------
Bryon Smith (Registered User) said:
on Dec 16th, 2011 at 03:18 PM

:(

I am stuck. Am I in the wrong area to get help with this?
-----------------

Bryon K. Smith
Bryon K. Smith
User 2283504 Photo


Registered User
36 posts

Got it!

Regards,

Bryon
Bryon K. Smith
User 187934 Photo


Senior Advisor
20,271 posts

Glad you got it working to your satisfaction Bryon. If you need any more help be sure to post your questions here in the forum. There's plenty of users that are proficient at CSS and those of us that are trying to be that can probably help.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 464893 Photo


Ambassador
1,611 posts

I have been using DHTML menu builder and there is a choice left center right. The code drops in a VSD html box. I do not have to add files and although a lot of code is produced the result is great. The distance from the top of page is adjustable. I tried the css menu builder, almost the same interface but no center command.

I am working on it here http://las.inkmon.org/information.html it is for a Art Society site I am presently playing with. Only the contact tab has a link. There is a lot to add yet. The other members of the society have yet to have their say. Noticed it is centered. Another great CC application and free too.
The Guy from OZ


User 187934 Photo


Senior Advisor
20,271 posts

You don't need the center command with VSD because everything is absolute positioning.:)
Drag and drop.;)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.