Jump to content

[w3css] Link in navbar brings linebreak


cripi

Recommended Posts

Hello,

 

I have the problems that when i use a link in a w3css Navbar, the link is at the top of the bar.

What i have when i write everything in a single entry:

post-209350-0-77752600-1487615644_thumb.png

Code:

<div class="w3-bottom" style="margin-right: 20%">
        <ul class="w3-navbar w3-red">
            <li>
                Powered by
                <a href="https://www.w3schools.com/w3css/" title="w3css">
                    w3css
                </a>
                and
                <a href="http://fontawesome.io" title="fontawesome">
                    fontawesome
                </a>
            </li>
        </ul>
    </div>

What i have when i write it in single entrys:

post-209350-0-90725500-1487615550_thumb.png

Code:

<div class="w3-bottom" style="margin-right: 20%">
        <ul class="w3-navbar w3-red">
            <li>
                Powered by
                <a href="https://www.w3schools.com/w3css/" title="w3css">
                    w3css
                </a>
                and
                <a href="http://fontawesome.io" title="fontawesome">
                    fontawesome
                </a>
            </li>
        </ul>
    </div>

What i will have:

post-209350-0-72773100-1487615846_thumb.png

 

I hop you can help me :)

//Cripi

post-209350-0-90725500-1487615550_thumb.png

post-209350-0-77752600-1487615644_thumb.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...