Forums

[resolved] text alignment in all browsers (8 posts)

  1. JesseG5
    Member
    Posted 1 year ago #

    Wordpress community- can someone help me out with this problem?

    The main navigation to my site consists of text running horizontally across my page. The problem is: when I view my site on different browsers the text is not positioned the same. It either shifts to the left or to the right...

    Is there anyway to make the text buttons stay in the same position?

    Here is my url http://www.jessegunzel.com/blog

    Here is my code:

    <div id="navmenu">
    <ul>
    	<li><a href="<?php echo get_settings('home'); ?>">Home</a></li>
    	<li><a href="?page_id=17">About</a></li>
    	<li><a href="?page_id=4">Hire Me</a></li>
    	<li><a href="?page_id=2">Design Portfolio</a></li>
        <li><a href="http://www.jessegunzel.com/JesseGunzel_Resume.pdf" target="_blank">Resume</a></li>
        <li><a href="?page_id=22">Contact Me</a></li>
    </ul>
    </div>
    #navmenu {
    	position:relative;
            font-size: 1.1em;
    	left:248px;
            right: 15px;
    	top:-23px;
    	z-index:1;}

    Thanks for any help with this?

    Jesse

  2. jonimueller
    Member
    Posted 1 year ago #

    I don't see a stylesheet applied to the site. Are you tinkering with it right now?

  3. JesseG5
    Member
    Posted 1 year ago #

    Hi Joni :)

    I actually wasn't doing anything with the stylesheet. When I look at the source code for all my pages there is a style sheet applied to the site.

  4. iridiax
    Member
    Posted 1 year ago #

    You need to validate and fix your css (you have errors in your style.css).

  5. JesseG5
    Member
    Posted 1 year ago #

    Thanks iridiax. I will do that asap.

    However I don't think that will help fix my initial text alignment problem.

  6. iridiax
    Member
    Posted 1 year ago #

    Try removing position:relative; as it may not be doing what you expect.

  7. JesseG5
    Member
    Posted 1 year ago #

    No, that definitely did not work. I will have to do some more research. Thanks anyways.

  8. JesseG5
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Topic