473,395 Members | 2,151 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,395 software developers and data experts.

Navigation

30
I have been wanting to create a simple text based navigation for my website in the making. All the tutorials I come across make buttons and stuff. All I want is text for Home Services Portfolio Contact... I have no idea how to make such a thing. I don't want someone to code it for me but if you could give example code to show me what to do, or just tell me that would be great. Hear is an example of what I want.
http://i93.photobucket.com/albums/l7..._Bouzy/nav.jpg

Hear is my code so far, but that might be useless in this case.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtmll/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />

<title>Goldfish Graphics</title>

<link type="text/css" rel="stylesheet" href="Goldfish.css" />

</head>
<body>

<div id="container">

<div id="banner">
<a href="index.html">
<img src="images/banner.jpg" alt= "Goldfish Graphics Banner Image" border="0"/>
</a>
</div>


<div id="navigation">
<img src="images/navigation.jpg" alt= "navigation background image" />



<div id="navtext">
<p>
</p>



</div>
</div>

<div id="sidebar">

<div id="text2">

<h5>Testimonies</h5>
<p>
""
</p>

<p>
<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>
</ul>

</div>
</p>

</div>
</div>

<div id="content">
<div id="text">
<h2>Home</h2>
<p id="home">
Based in the Midwest, Goldfish Graphics is a freelance design business. Goldfish Graphics is
dedicated to working with clients to turn their ideas into unique designs. By communicating
with our clients, we produce quality websites, layouts, print graphics, and logos
that are affordable.

</p>
<h4>News (7/02/07)</h4>

<p id="news">
Although the Goldfish Graphics site is up and running, I am still currently learning how to better make web sites.
Because I am still learning, all web based projects I take on now will be 50% of the price they should be. With a little patience you can have quality web designs for half the price.
</p>
</div>
</div>

<div id="footer">
</div>



</div>







</body>
</html>


***************

body {

background-color: #5f656b;
font-family: Tahoma, "Arial Unicode MS", Arial, sans-serif, serif;
font-size: .8em;
color: #eea103

}

/*Divs*/

#content {

height: 505px;
width: 518px;
background-image: url(images/content.jpg);
background-repeat: no-repeat;
margin-top: 4%;
margin-left: 27.2%;






}


#sidebar {


height: 505px;
width: 153px;
background-image: url(images/sidebar.jpg);
background-repeat: no-repeat;
margin-top: 4%;
padding-top: 3%;
padding-left: 3.5%;
margin-left: auto;
float: left;


}


#navigation {

margin: 0%;
padding-top: 0%;
border-width: 0%;
height: 28px;

}



#banner {

border-width: 0%;
margin: 0%;
padding: 0%;
margin-top: 0%;
height: 119px;



}

#footer {

height: 28px;
width: 712px;
background-image: url(images/footer.jpg);
background-repeat: no-repeat;
margin-top: 4.2%;
}

#container {

width: 712px;
margin: auto;
position: relative;
padding: 0%;
background-color: #3c4246;


}

#home {

width: 442px;

}

#news {

width: 442px;

}


#text2 {

padding-left: 3%;
padding-top: 5%;

}


#text {

padding-left: 5.5%;
padding-top: 5%;

}

#footer {

padding-top: .01%;
padding-left: 3%;
font-size: .7em;
}

a:link {


}


a: hover {


}


#links {

padding: %;
margin: 0%;

}
Jul 8 '07 #1
4 1450
Well you can either just do it like this:

<a href="home.html">Home</a> &nbsp; &nbsp; &nbsp; <a href="services">Services</a> &nbsp; &nbsp; &nbsp; <a href="portfolio.html">Portfolio</a> &nbsp; &nbsp; &nbsp; <a href="contact.html">Contact</a>

as just a single line of text links with blank spaces in between,

Or you can set up a table

<table width="100%" cellpadding="2" cellspacing="2"><tr>
<td width="25%"><a href="home.html">Home</a></td>
<td width="25%"><a href="services">Services</a>
<td width="25%"><a href="portfolio.html">Portfolio</a>
<td width="25%"><a href="contact.html">Contact</a>
</tr>
</table>
Jul 8 '07 #2
Bouzy
30
Whats the advantages of theme each? What I mean is will it be easy to position one or another?
Jul 8 '07 #3
I would use the table method. If it's in percentages then it will automatically resize depending upon the browser resolution
Jul 8 '07 #4
drhowarddrfine
7,435 Expert 4TB
I would use the table method. If it's in percentages then it will automatically resize depending upon the browser resolution
Hm. Never use tables for layout. That's what CSS is for.
Jul 9 '07 #5

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

Similar topics

4
by: Dave Patton | last post by:
Using my About page as an example: http://members.shaw.ca/davepatton/about.html What is the best/proper way to markup a page such as this that has "the main body" and "a navigation menu"? It...
0
by: Veli-Pekka Tätilä | last post by:
Hi, My first post here. I've found some serious accessibility flaws in the Python 2.4 docs and wish they could be rectified over time. I'm very new to Python and initially contacted docs at python...
1
by: Robert Neville | last post by:
I am having some trouble with some old code revolving around custom form navigation buttons. My main form has a sub-form with these custom navigation buttons. In other words, the code should be...
4
by: Sandy.Pittendrigh | last post by:
I don't want to get into a frames discussion here. We all know they have numerous drawbacks, especially with search engine visibility. (Google, ironically, uses framesets for displaying individual...
28
by: laredotornado | last post by:
Hi, Surprisingly, I can't get the drop down menus to work on PC IE 6. If you roll over "PRODUCTS", normally a drop down menu appears (on Safari and Firefox), but on PC IE, nada. ...
3
by: Paul | last post by:
I want the <div id="navigation"column to be the same color all the way to the bottom. The "background-image: url(bg_menu_tile.gif);" was a try to force it with a long 1-pixel graphic - didn't...
10
by: EA | last post by:
I am sure I must be missing something about building navigation bars with CSS. Yes it is a very clever and efficient way to format navigation structures on simple one navigation level webs, i.e....
1
by: quartzy | last post by:
I have a strict doc type: However, I am still unsure about css. Problems I have now are to do with floating both navigation lists. I have used tables and divs, as layouts are just too difficult for...
0
by: emalcolm_FLA | last post by:
Hello and TIA for your consideration. I have created several db's for a non-profit and they want custom navigation buttons to display "You are on the first record, last record, etc". With this...
0
by: tom59593 | last post by:
Hi there. I have been attempting (for a few days on end, sadly) to get a navigation section of my new site to work. Granted, this is the first time I've ever written CSS...although I had PLENTY of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.