Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 27
  1. #1
    Member Elvedin's Avatar
    Join Date
    Jan 2013
    Location
    Bosnia And Herzegowina
    Posts
    78
    Member #
    35009
    Hello , I am working on an drop down menu , and however i make it my website get fu**d up.. Everything moves .. So can anyone help me with ?


    So this is normal navigation menu :



    And this one is with drop down menu, but I made in in photoshop just to show you how it should look like :



    Here is the image which should be used for drop down :


    You can edit it , but its important to be same colors and the transparency.


    Here is the image which should be used for drop down when hover :


    You can edit it , but its important to be same colors and the transparency.
    Please try to use the same font that is used in main navigation menu : Home , News , Games etc..


    Here is the html code :

    HTML Code:
    <!DOCTYPE html>
    <html>
    <head>
        <meta charset="UTF-8">
        <title>CyberGaming</title>
        <link rel="stylesheet" href="css/style.css" type="text/css">
    </head>
    <body>
        <div class="page page-home">
            <div class="header">
                <div>
                    <a href="index.html" id="logo"><img src="images/logo.png" alt="log"></a> <span><a class="facebook" href="#"></a> <a class="twitter" href="#"></a> <a class="googleplus" href="#"></a> <a class="youtube" href="#"></a></span>
                   
                    <ul>
                        <li class="selected">
                            <a href="index.html">Home</a>
                        </li>
     
                        <li>
                            <a href="news/index.html">News</a>
                        </li>
    <li>
                            <a href="games/index.html">Games</a>
            </li>
     
    <li>
                            <a href="#">Forum</a>
                        </li>
    <li>
                            <a href="#">Gallery</a>
                        </li>
     
                        <li>
                            <a href="sponsors/index.html">Sponsors</a>
                        </li>
                        <li>
                            <a href="store/index.html">Store</a>
                        </li>
    <li>
                            <a href="contact/index.html">Contact</a>
                        </li>
     
                    </ul>
                       
                    <div class="featured">
                        <h3>Proffesional Cyber Gaming</h3>
                        <p>
                            Welcome to the community.
                        </p>
                        <a href="news.html">Read more&#62;&#62;</a>
                    </div>
                </div>
            </div>
            <div class="body">
                <div class="home">
                    <h4>Latest News</h4>
                    <ul>
                        <li>
                            <a href="news.html"><img src="images/icon-logo.jpg" alt=""></a>
                            <div>
                                <h3>News Title One Example Title</h3>
                                <span>Posted on 12/12/12</span>
                                <p>
                                    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus dapibus fermentum elit. Suspendisse
                                </p>
                                <a href="news.html">Read more&#62;&#62;</a>
                            </div>
                        </li>
                        <li>
                            <a href="news.html"><img src="images/icon-logo.jpg" alt=""></a>
                            <div>
                                <h3>News Title One Example Title</h3>
                                <span>Posted on 12/12/12</span>
                                <p>
                                    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus dapibus fermentum elit. Suspendisse
                                </p>
                                <a href="news.html">Read more&#62;&#62;</a>
                            </div>
                        </li>
                        <li>
                            <a href="news.html"><img src="images/icon-logo.jpg" alt=""></a>
                            <div>
                                <h3>News Title One Example Title</h3>
                                <span>Posted on 12/12/12</span>
                                <p>
                                    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus dapibus fermentum elit. Suspendisse
                                </p>
                                <a href="news.html">Read more&#62;&#62;</a>
                            </div>
                        </li>
                        <li>
                            <a href="news.html"><img src="images/icon-logo.jpg" alt=""></a>
                            <div>
                                <h3>News Title One Example Title</h3>
                                <span>Posted on 12/12/12</span>
                                <p>
                                    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus dapibus fermentum elit. Suspendisse
                                </p>
                                <a href="news.html">Read more&#62;&#62;</a>
                            </div>
                        </li>
                        <li>
                            <a href="news.html"><img src="images/icon-logo.jpg" alt=""></a>
                            <div>
                                <h3>News Title One Example Title</h3>
                                <span>Posted on 12/12/12</span>
                                <p>
                                    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus dapibus fermentum elit. Suspendisse
                                </p>
                                <a href="news.html">Read more&#62;&#62;</a>
                            </div>
                        </li>
                        <li>
                            <a href="news.html"><img src="images/icon-logo.jpg" alt=""></a>
                            <div>
                                <h3>News Title One Example Title</h3>
                                <span>Posted on 12/12/12</span>
                                <p>
                                    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus dapibus fermentum elit. Suspendisse
                                </p>
                                <a href="news.html">Read more&#62;&#62;</a>
                            </div>
                        </li>
                    </ul>
                </div>
                <div class="sidebar">
                    <h4>Featured</h4>
                    <ul>
                        <li>
                            <a href="news.html"><img src="images/fireman4.jpg" alt=""></a>
                            <div>
                                <h3>Featured Title One</h3>
                                <p>
                                    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus dapibus fermentum elit. Suspendisse potenti. Cras eget
                                </p>
                                <a href="news.html">Read more&#62;&#62;</a>
                            </div>
                        </li>
                        <li>
                            <a href="news.html"><img src="images/fireman5.jpg" alt=""></a>
                            <div>
                                <h3>Featured Title One</h3>
                                <p>
                                    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus dapibus fermentum elit. Suspendisse potenti. Cras eget
                                </p>
                                <a href="news.html">Read more&#62;&#62;</a>
                            </div>
                        </li>
                    </ul>
                    <h4>Sign-up For Updates</h4>
                    <form action="index.html">
                        <input type="text" onclick="this.value='';" onfocus="this.select()" onblur="this.value=!this.value?'Enter e-mail address':this.value;" value="Enter e-mail address" id="email">
                        <input type="submit" value="">
                    </form>
                </div>
                <div class="section">
                    <div>
                        <h4>Gallery</h4>
                        <ul>
                            <li>
                                <a href="gallery.html"><img src="images/fireman1.jpg" alt=""></a>
                            </li>
                            <li>
                                <a href="gallery.html"><img src="images/fireman2.jpg" alt=""></a>
                            </li>
                            <li>
                                <a href="gallery.html"><img src="images/fireman3.jpg" alt=""></a>
                            </li>
                        </ul>
                    </div>
                    <div class="connect">
                        <h4>Social</h4>
                        <a href="#" id="twitter">twitter</a> <a href="#" id="fb">fb</a> <a href="#" id="googleplus">google+</a> <a href="#" id="vimeo">vimeo</a>
                    </div>
                </div>
            </div>
            <div class="footer">
                <div>
                    <ul>
                        <li>
                            <a href="index.html">Home</a>
                        </li>
                        <li>
                            <a href="about.html">About</a>
                        </li>
                        <li>
                            <a href="#">Blog</a>
                        </li>
                        <li>
                            <a href="contact.html">Contact</a>
                        </li>
                    </ul>
                    <p>
                        &#169; Copyright &#169; 2032.Company name all rights reserved
                    </p>
                </div>
            </div>
        </div>
    <br><br>
    </body>
    </html>

    In next post i will add the CSS code becouse its too long

  2.  

  3. #2
    Member Elvedin's Avatar
    Join Date
    Jan 2013
    Location
    Bosnia And Herzegowina
    Posts
    78
    Member #
    35009
    Here is the download link for CSS file :

    Mirror1: http://www.speedyshare.com/nNYVB/style.css

    Mirror2 (You can see it directly and copy paste): http://www.mediafire.com/view/?p3lyom1n1ufi8ni

    And thank you very much for spending your time on my problem.

  4. #3
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    Can you upload the page somewhere so we can see exactly what it's doing?
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  5. #4
    Member Elvedin's Avatar
    Join Date
    Jan 2013
    Location
    Bosnia And Herzegowina
    Posts
    78
    Member #
    35009
    Okay , i uploaded it but i didnt fixed the links in navigation menu , so u can see only main page normaly ,and its enough to know what i mean )

    here is the link http://autoskolalukic.com/CyberGaming/

  6. #5
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Question: why an image where a solid color is all you need?
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  7. #6
    Member Elvedin's Avatar
    Join Date
    Jan 2013
    Location
    Bosnia And Herzegowina
    Posts
    78
    Member #
    35009
    Ronald, i didnt understand the question so god but i think what you mean .

    You are talking about drop down menu images that i posted ?


    This two :



    I know its better to do it just with solid color , but then i will lose the borders on bottom of the image, or not , it can be done with css border option..

    Well feel free to make it like u think its best.

    Thank you very much!

  8. #7
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    I don't see the problem with the submenu on the uploaded page. I don't even see the submenu itself.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  9. #8
    Member Elvedin's Avatar
    Join Date
    Jan 2013
    Location
    Bosnia And Herzegowina
    Posts
    78
    Member #
    35009
    TheGAME , yeah i deleted the codes becouse it didnt work correctly .. This image that i show u :



    I made in in photoshop only to show you what i need, so in this way i please you to make me the codes for drop down menu like this one, thank you.

  10. #9
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    Right, but without the incorrect code, it's hard to say why it didn't work. You actually need it in this case so we can see what you were thinking.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  11. #10
    Member Elvedin's Avatar
    Join Date
    Jan 2013
    Location
    Bosnia And Herzegowina
    Posts
    78
    Member #
    35009
    Ok , i added the codes that i used before , and site fu**ed up again...

    Here are the codes that I used :


    CSS:

    Code:
    ul#nav {margin: 0 0 0 200px;}
    ul.drop a { display:block; color: #fff; font-family: Verdana; font-size: 14px; text-decoration: none;}
    ul.drop, ul.drop li, ul.drop ul { list-style: none; margin: 0; padding: 0; border: 1px solid #fff; background: #555; color: #fff;}
    ul.drop { position: relative; z-index: 597; float: left; }
    ul.drop li { float: left; line-height: 1.3em; vertical-align: middle; zoom: 1; padding: 5px 10px; }
    ul.drop li.hover, ul.drop li:hover { position: relative; z-index: 599; cursor: default; background: #1e7c9a; }
    ul.drop ul { visibility: hidden; position: absolute; top: 100%; left: 0; z-index: 598; width: 195px; background: #555; border: 1px solid #fff; }
    ul.drop ul li { float: none; }
    ul.drop ul ul { top: -2px; left: 100%; }
    ul.drop li:hover > ul { visibility: visible }

    HTML:

    Code:
    <ul id="nav" class="drop">
    <li class="selected">
    <a href="index.html">Home</a>
    </li>
     
    <li>
    <a href="news/index.html">News</a>
    </li>
    <li>
    <a href="games/index.html">Games</a>
    </li>
     
    <li>
    <a href="#">Forum</a>
    </li>
    <li>
    <a href="#">Gallery</a>
    <ul>
                  <li>Images</li>
                  <li>Videos</li>
                </ul>
    </li>
     
    <li>
    <a href="sponsors/index.html">Sponsors</a>
    </li>
    <li>
    <a href="store/index.html">Store</a>
    </li>
    <li>
    <a href="contact/index.html">Contact</a>
    </li>
     
    </ul>


Page 1 of 3 1 2 3 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 06:59 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com