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

Uniform width columns in navigation/index table

Hi.
I am trying to get the columns in the navigation/index table to all be the same width on the page in link below. Code in attached .zip file
Any advice would be greatly appreciated as I am a complete novice when it comes to CSS.
Thanks.
GG

http://jinx.byethost13.com/template.php
Attached Files
File Type: zip tektionary3(1).zip (4.7 KB, 79 views)
Feb 15 '09 #1
3 3158
New link to page. Link given above is no longer valid.
http://jinx.byethost13.com/tektionary.php

Expand|Select|Wrap|Line Numbers
  1. <!-- INCLUDE overall_header.html -->
  2.  
  3. <style type=text/css>
  4. table.nav {font-size: 18px;
  5.             width: 100%;
  6.             font-weight: bold;
  7.             text-align:center}
  8.  
  9. th {background-color:lightblue;
  10. font-size:14px;
  11.     color:black;
  12.     font-family:Tahoma}
  13. td {color:blue;
  14. font-size:14px;
  15.     font-family:Tahoma}
  16.  
  17. </style>
  18.  
  19. <br /><br />
  20. <br /><span style="font-size: 36px;"><div align="Center"><b>TnT's TEKTIONARY</b></div></span>
  21. <br /><br /><br /><br />
  22.  
  23. <div align="Center">
  24. <table width="960px" border="1" rules="all">
  25.  
  26. <tr><th><a href="#agp">AGP</a></th><th><a href="#bios">BIOS</a></th><th><a href="#cpu">CPU</a></th><th><a href="#crt">CRT</a></th><th><a href="#dimm">DIMM</a></th><th><a href="#ethernet">Ethernet</a></th></tr>
  27.  
  28. <tr><th><a href="#fat">FAT</a></th><th><a href="#graphics card">Graphics Card</a></th><th><a href="#hdd">HDD</a></th><th><a href="#heatsink">Heatsink</a></th><th><a href="#ic">IC</a></th><th><a href="#ide">IDE</a></th></tr>
  29.  
  30. <tr><th><a href="#jumper">Jumper</a></th><th><a href="#motherboard/mobo">Motherboard</a></th><th><a href="#ntfs">NTFS</a></th><th><a href="#pata">PATA</a></th><th><a href="#pci">PCI</a></th><th><a href="#pci-e">PCI-E</a></th></tr>
  31.  
  32. <tr><th><a href="#psu">PSU</a></th><th><a href="#ram">RAM</a></th><th><a href="#sata">SATA</a></th><th><a href="#scsi">SCSI</a></th><th><a href="#tft">TFT</a></th><th>Vacant</th></tr>
  33.  
  34. </table>
  35. </div>
  36.  
  37. <br /><br /><br /><br />
  38.  
  39.  
Feb 16 '09 #2
David Laakso
397 Expert 256MB
Your site seems to have gone "dixie" sometime during the night.

One way to do what you asked (although I see what you asked as the least of the issues) is to set the width of the 6 blocks containing the links based on the narrowest window you need to hit. I used 800. And floated the blocks left. The clinker is your longest link "motherboard/mobo" needs to be on two lines.

I took the liberty of ditching the tables and 90s look and feel and attempted to make the content readable. If you don't want the layout, rip the menu from it, and put in your page...
http://chelseacreekstudio.com/ca/cssd/tips.html
Feb 16 '09 #3
Thanks for your help.
Very much appreciated.
The site in my link is a bit of a mess as it is the site I use for testing before putting anything new on the main site.
Feb 16 '09 #4

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

Similar topics

179
by: SoloCDM | last post by:
How do I keep my entire web page at a fixed width? ********************************************************************* Signed, SoloCDM
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...
5
by: Prateek | last post by:
Hi, How can I change the width of a column in datagrid control? TIA Prateek
1
by: Stephen | last post by:
I have a datagrid and i'm trying to fix the width of one of the columns to be exactly 300px. My problem is that one of the records fields(CompanyName) is really long and has no spaces so it...
0
by: javaguy | last post by:
I have a table I hide show/hide through a pair of divs. The show/hide part works fine in both Mozilla and MSIE. When switching between the hide and show versions the Mozilla browser keeps them in...
24
by: Mike L | last post by:
This is for a Win form, in C# 2005. I want to load a datagrid, make some columns width 0, and then clean out the record I added. I get the error message, ""Index was out of range. Must be...
12
by: JB | last post by:
Hi All, Is it acceptable to use a fixed width vertical navigation column within a fluid 2 or 3 column layout? Example. Left Column (navigation) fixed width of say 180px Right Column (main...
2
by: Charleees | last post by:
Hi all, I have a DataGrid with Template Columns..... There are LAbels,Linkbuttons in the Single Row.. I have to set the Constant Column width for those Template Columns in Grid... Wat...
4
by: Chuck | last post by:
I'm setting the column with for a gridview (25+- columns) and have paging turned on. When the gridview is first displayed, the column widths are all set to the default. But after paging to...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.