Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Link Confusion

Featured Replies

I'm really confused. I've never had this problem before. I'm making a site for a friend. As i design i preview as i go as everyone does, however this time the links are not working. I'm using the same code and never had this problem before. Now i'm really confused.

 

All i want to do is preview them.

 

/* GENERAL */

a
{text-decoration:none;}

a:link {color:#FFFFFF;}      /* unvisited link */
a:visited {color:#FFFFFF;}  /* visited link */
a:hover {color:#878C6D;}  /* mouse over link */
a:active {color:#FFFFFF;}  /* selected link */

/* HEADER */

#headerwrap
{height:150px;}

header
{height:150px;}

#logo
{width:918px; height:146px; background-image:url(images/logo-trans.png); position:relative; top:45px;}

#navwrap
{height:50px; background-image:url(images/navbar.jpg);}

#navi
{height:50px;}

#links
{width:700px; height:50px; float:left;}

#navi ul
{list-style:none; margin-top:10px; margin-left:50px}

#navi li
{display:inline-block; width:70px; padding:5px; text-align:center; color:#edc5b5; margin:auto;}

#social
{height:50px; width:260px; float:right;}

#social ul
{list-style:none;}

#social li
{display:inline-block; width:20px;}

<!DOCTYPE html>
<html>

    <head>
        <meta charset="utf-8">
        <title>SITE NAME</title>
        <meta name="description" content="An interactive getting started guide for Brackets.">
        <link rel="stylesheet" href="reset.css">
        <link rel="stylesheet" href="text.css">
        <link rel="stylesheet" href="960_24_col.css">
        <link rel="stylesheet" href="stylesheet.css">
        <link href='http://fonts.googleapis.com/css?family=Roboto:400,300' rel='stylesheet' type='text/css'>
    </head>
    <body>
        
        <!-- HEADER SECTION -->
        
       <div id="headerwrap"><!--START OF HEADER WRAP-->
            <header class="container_24">
               <div id="logo"></div>
            </header>
       </div><!--END OF HEADER WRAP-->
        
        <div id="navwrap"><!--START OF NAV WRAP-->
            <div id="navi" class="container_24">
            <div id="links">
            <ul>
            <li><a href="#">LINK</a></li>  
            <li><a href="#">LINK</a></li>  
            <li><a href="#">LINK</a></li>  
            <li><a href="#">LINK</a></li>  
            <li><a href="#">LINK</a></li>  
            <li><a href="#">LINK</a></li>  
            </ul>
            </div>
                
            <div id="social">
                <ul>
                <li><a href="#"><img src="images/twitter.png" alt="twitter"></a></li>
                <li><a href="#"><img src="images/facebook.png" alt="facebook"></a></li>
                <li><a href="#"><img src="images/skype.png" alt="skype"></a></li>
                </ul>
            </div>
                
            </div>
        </div><!--END OF NAV WRAP-->
        
        <!-- END OF HEADER SECTION -->
        
    </body>
    </html>

 

  • Author

Ha, I can't believe i missed that. Thanks.

Is there another way i can fix this, i don't really want to change the size of the header, I have the logo set to where i would like it. Can i not layer the divs differently?

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.