Monday 15 June 2015

Bootstrap - Put image inside - in the navbar -


The image logo needs to be in the empty list item slot in the top logo next to the task list item slot

Enter image details here

I have it now ... < / P> & lt; Div class = "navbar navbar-fixed-top" & gt; & Lt; Div class = "navbar-inner" & gt; & Lt; Div class = "container" & gt; & Lt; Ul class = "nav" & gt; & Lt; Li class = "active" & gt; & Lt; A class = "brand" href = "index.php" & gt; & Gt; Div style = "width: 130px; height: 20px; background: url ('/ images / rsz_logo.jpg') no-repeat left center;" & Gt; & Lt; Img src = "/ images / logo.png" & gt; & Lt; / Div & gt; & Lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt; & Lt; Ul class = "nav" & gt; & Lt; Li & gt; & Lt; A href = "services.php" & gt; Work & lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt;

For any reason should this list be in the item? If not try the following.

  & lt; Div class = "navbar navbar-fixed-top" & gt; & Lt; Div class = "navbar-inner" & gt; & Lt; Div class = "container" & gt; & Lt; Ul class = "nav" & gt; & Lt; Li & gt; & Lt; A href = "services.php" & gt; Work & lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt; & Lt; One class = "pull-left" href = "index.php" & gt; & Lt; Img src = "/ images / logo.png" alt = "home" & gt; & Lt; / A & gt;    

No comments:

Post a Comment