timlab55
Posts: 281
Joined: Sun Aug 01, 2021 1:52 am

Who Can Help With A CSS problem?

Thu Sep 14, 2023 2:06 am

I'm wondering if this fourm has a person who is very good with CSS? If so, could someone look at the complete code on W3School under navbar [urlhttps://www.w3schools.com/howto/howto_js_navbar_sticky.asp][/url]. I love this navbar and would like to use it on my website. However, there is only 1 thing I don't like about it and that is all the elements (the 3 up top) are over on the left hand side. What I've been doing for the last 2 weeks is trying to figure out how to get them to center. If I tear apart the CSS and do it, I found a place, but I keep getting them to stack on each other. So if someone could help me I thank you.
Dan

pcmanbob
Posts: 13702
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Who Can Help With A CSS problem?

Thu Sep 14, 2023 8:24 am

Looking at you link a few links back there is an example of a centred menu.

https://www.w3schools.com/howto/howto_c ... ntered.asp

may be that will point you in the right direction.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

Return to “Other programming languages”