Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 03-31-2008, 02:21 PM Site header help!
Extreme Talker

Posts: 240
Name: Simon
Location: United Kingdom
Trades: 0
Hey guys,

I am needed help on my page which is css coded and html coded and im not sure which forum to post in so i thought maybe here.

Basically what i am looking to do is to add another tab to my header next to support / client area which can currently be seen in the preview below.



But when i simply copy the html from the other and paste it next to it in the coding then it comes up with an error, so i was wondering if any one could help me out and figure out the code for me. Even better what i am looking to do in the end like maybe a few weeks down the line is to make these tabs little menus so when the user hovers over a drop down menu appears with more links to pages if any one can help with this that would be great!

Anyway back to point, the current code for my header is shown below. If anyone can help me be able to add another tab or to make the drop down menu that would be great!

Current Header.php Code Below
Code:
<style type="text/css">
.style1 {
 font-weight: bold;
 font-family: Calibri;
}
-->
</style>
    <div id="header">
        <!--logo -->
    <hr class="noscreen" />        
        <!-- slogan -->
    <hr class="noscreen" />        
        </div> <!-- /header -->
    <!-- Navigation -->
    <div id="nav">
    
        <ul class="box style1">
            <li><a href="index.php" class="style3">Home</a></li>
            <li><a href="about.php" class="style3">About Us</a></li>
  <li><a href="webhosting.php" class="style3">Shared Hosting</a></li>
  <li><a href="reseller.php" class="style3">Reseller hosting</a></li>
          <li><a href="http://razor-hosting.co.uk/clients" class="style3">Support / Client Area</a></li>
      </ul>
        
    <hr class="noscreen" /> 
    </div> <!-- /nav -->
    <!-- 2 columns (content + sidebar) -->
    <div id="cols" class="box">
This may not be useful as it is mostly CSS coded. If i should add the header css please mention

Thanks in advance
__________________
Razor Hosting : Professional Web Services
Shared Hosting, Reseller Hosting, VPS Hosting, Web Design starting from £2.95 /m

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Watts is offline
Reply With Quote
View Public Profile Visit Watts's homepage!
 
 
Register now for full access!
Old 03-31-2008, 02:31 PM Re: Site header help!
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Can we see ALL of your code? To learn how to build dropdown menus go here to Son of Suckerfish Dropdowns
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 03-31-2008, 03:07 PM Re: Site header help!
Extreme Talker

Posts: 240
Name: Simon
Location: United Kingdom
Trades: 0
yes of course i will add it, which but do you wish to see?

EDIT:

Iv'e added some of the main.css that i think may be useful although i may be wrong?

Code:
    #nav {padding:0 15px 5px 6px; background:url("../design/nav.gif") 0 100% no-repeat;}
 
        #nav ul {margin:0; padding:0; list-style:none;}
        #nav ul li {display:inline; margin:0; padding:0;}
        #nav ul li a {display:block; float:left; padding:12px 15px 12px 14px; background:url("../design/nav-link.gif") 100% 0 repeat-y; text-decoration:none;}
        #nav ul li#nav-active a {font-weight:bold; text-decoration:none;}
EDIT 2:

Ok i tried the css menu and well i changed part of teh header code to what the site you posted said and well it decided to add a tab for me like i wanted in the first place so thanks for that but now i am stuck with the drop down menu!!

The code i changed in the header changed in the header.php is shown below.

Code:
<ul class="box style1">
            <li><a href="index.php" class="style3">Home</a></li>
            <li><a href="about.php" class="style3">About Us</a>
             <ul>             <li><a href="network.php" class="style3">Our Network</a></li>             
                                     </ul>     </li> 
            
  <li><a href="webhosting.php" class="style3">Shared Hosting</a></li>
  <li><a href="reseller.php" class="style3">Reseller hosting</a></li>
          <li><a href="http://razor-hosting.co.uk/clients" class="style3">Support / Client Area</a></li>
      </ul>
__________________
Razor Hosting : Professional Web Services
Shared Hosting, Reseller Hosting, VPS Hosting, Web Design starting from £2.95 /m

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Last edited by Watts; 03-31-2008 at 03:25 PM..
Watts is offline
Reply With Quote
View Public Profile Visit Watts's homepage!
 
Reply     « Reply to Site header help!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.34719 seconds with 12 queries