The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Help with div tags
Seniorbfc
post Jan 16 2017, 05:39 PM
Post #1


Newbie
*

Group: Members
Posts: 17
Joined: 16-January 17
Member No.: 26,267



Need help with this. I have a CSS sheet with different div tags. My website has a top banner with clickable buttons, I want to add an image to the end of the list (which I have already done) but with a different style (as the buttons change colour when hovered over). So basically I want the image in the same line as the buttons but without the style. Do I need to change the .html coding or the css style sheet? Here is my code for the .html.

CODE

<body>
    <div id="div1">
    <div id="div2">
    <div id="nav_wrapper">
        <head><h1>Joshua Senior</h1></head>
    <ul>
        <li><A HREF="Index.html" class="active">Home</A></li>
        <li><A HREF="About.html">About</A></li>
        <li><A HREF="Contact.html">Contact</A></li>
        <li><A HREF="Social.html">Social

            <ul>
            <li><A HREF="Facebook.html">Facebook</A></li>
            <li><A HREF="Linkedin.html">LinkedIn</A></li>
            <li><A HREF="Google.html">Google+</A></li>
            </ul>
<li><img src="linkedin.png" alt="Mountain View" style="width:34px;height:28px;"></li>

    </li>
    </ul>
</div>
</div>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
Seniorbfc
post Jan 18 2017, 01:52 PM
Post #2


Newbie
*

Group: Members
Posts: 17
Joined: 16-January 17
Member No.: 26,267



I've got it how I wanted it to look, thanks for the help biggrin.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jan 18 2017, 02:24 PM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Good! And you're welcome. happy.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th April 2024 - 02:18 AM