473,327 Members | 1,976 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Link to home page in header doesn't work

HTML

Expand|Select|Wrap|Line Numbers
  1. <body> 
  2. <header> 
  3. <h1><a href="index.html">TITLE</a></h1> 
  4. </header> 
  5.  
  6. <div id="wrap"> 
  7. <nav> 
  8. <ul> 
  9. <li><a href="Pag1.html"> A </a></li> 
  10. <li><a href="Pag2.html"> B </a></li>
  11. </nav>
  12. ...
  13.  
  14. CSS
  15.  
  16. body{
  17.     background-color: #71e3c6;
  18.     padding: 80px 15px 100px 15px;
  19. }
  20.  
  21. body>header {
  22.     position: fixed;
  23.     top: 0;
  24.     left: 0;
  25.     right: 0;
  26.     z-index: -10;
  27. }
  28.  
  29. body>header h1 {
  30.     font-family: 'Anonymous Pro', sans-serif;
  31.     word-spacing: -8px;
  32.     font-weight: 400;
  33.     font-size: 40px;
  34.     line-height: 30px;
  35.     margin: 24px;
  36.     text-align: center;
  37. }
  38.  
  39. body>header h1 a{
  40.     text-decoration: none;
  41.     color: white;
I have this header with the respective css. When I press 'TITLE' text I want to go to homepage (index.html), like when I press 'A' and it goes to 'pag2' but it does't work...
May 4 '13 #1
1 1712
Dormilich
8,658 Expert Mod 8TB
do you have a demo page, so that we can test the problem? (I’m sure that when I make a local copy, it would work as intended)
May 6 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Paul M. | last post by:
Hi, This might be more of an HTML question, but I'm encountering it via a javascript function. I'm trying to do rollovers without using images. Here's some of the code: <script...
3
by: Ivan | last post by:
Hi, how to filter out non-digit chars when user writes text to System.Windows.Forms.TextBox? Thanks, Iavmn
1
by: Grey | last post by:
How can I get the column header name when user click on the column for sorting purpose?? Million thanks
1
by: Solx37 | last post by:
I am trying to figure out how to prevent scrolling when I append text. It scrolls to the bottom whenever I use AppendText. It jumps to the top whenever I += text to the Text property.
2
by: Steve Richter | last post by:
I set the Text of a DataGridView control expecting this text to be displayed at the top of the control, as the grid title. But the text does not display. How do I display title text above the...
0
by: sat1582 | last post by:
I need avoid postback in a radio button control when press enter key, if you know how do this please tell me. Thanks for your response at sat1582@hotmail.com
10
by: chaos | last post by:
Hi all. How to redirect to other page when press ok button on alert message function checkstatus() { var status = document.getElementById("status").value; alert(status); <input...
8
by: anukedari | last post by:
Hi, Could any boby please help to get the answers for the following questions: Is Apache always sends "X-Cache:MISS" header even when caching is off (disable)? or Can we say that cache...
1
by: daonho | last post by:
I tried to use javascript to trigger up the button click function when user press enter key from the textbox. This function work fine with a single button click such has login page. However, if the...
7
by: YOGS | last post by:
how to draw a line in the bottom of the header & how to justify the text of a field in access report (to have justify in report output
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.