Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 07-31-2007, 06:52 AM   #1 (permalink)
seanu92
Recruit
 
Join Date: Jul 2007
Posts: 4
seanu92 is on a distinguished road
Navigation down the side?

I need help with putting the navigation buttons down the side. So far my code looks like.



Code:
<table>
<tr>
<td>
<p style="margin:0px"
<div id="topnav">
<a href="index.htm"><img src="images/bindex.gif" style="border:none" /></a>  
<a href="Services.htm"><img src="images/bsevices.gif" style="border:none" /></a> 
<a href="Systems.htm"><img src="images/bsystems.gif" style="border:none" /></a> </p>
<a href="gallery.htm"><img src="images/bgallery.gif" style="border:none" /></a>  
<a href="contactus.htm"><img src="images/bcontactus.gif" style="border:none" /></a> 
</td>
This is how i was told but its not working.

My CSS looks like this

Code:
body {font-family: "Verdana", "Arial", "Helvetica", sans-serif}
hr {color: green; background-color: green; height: 3px; clear: left}
h1 {font-size: 26px}
h2 {font-size: 20px}

a:hover {color: blue}

table {border-style: outset; border-color: gray; border-width: 2px}
td {border-style: solid; border-color: gray; border-width: 1px}
dl, p, li {font-size: 13px}
dt {font-weight: bold}


#copy {position: absolute; top: 103px; left: 580px; }
Sorry for the trouble
seanu92 is offline   Reply With Quote
Old 07-31-2007, 08:55 AM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,530
sde is on a distinguished road
it really helps when you post to make it clear on what you expect the code to be doing, and what it is actually doing.

i notice your opening <p> tag is not complete also. Put the closing bracket on it.

here's another way to approach it ... i'm going to put the css inline so it's easier to follow as an example. putting it in a separate style sheet like you have it a better practice though.

HTML Code:
<div id="left_column" style="float: left; width: 150"> <div>link 1</div> <div>link 2</div> </div> <div id="main_column" style="float: left;">
  main content
</div>
__________________
Mike
sde is offline   Reply With Quote
Old 08-02-2007, 06:53 AM   #3 (permalink)
seanu92
Recruit
 
Join Date: Jul 2007
Posts: 4
seanu92 is on a distinguished road
I got it my CSS sheet was wrong Anyway thanks for your help.



Also does anyone know a free HTML nav button maker?
seanu92 is offline   Reply With Quote
Old 08-02-2007, 08:56 AM   #4 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 741
DJMaze is on a distinguished road
HTML:
<button>prev</button> <button>next</button>

If you ment image nav button maker.... i don't
__________________

UT: Ultra-kill... God like!
DJMaze is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing vars client side wolf99 HTML, XML, Javascript, AJAX 2 05-22-2006 07:52 AM
Desktop on side? wolf99 Windows 0 01-20-2006 06:05 AM
Referrencing HTML document mid page with ASP variable joehouse MS Technologies ( ASP, VB, C#, .NET ) 3 06-11-2005 02:16 PM
CSS List Navigation geek HTML, XML, Javascript, AJAX 0 03-03-2005 08:06 PM


All times are GMT -8. The time now is 01:03 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting