473,796 Members | 2,550 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

table width already fixed??

127 New Member
Below is my coding for the login and ticker. I put both of it in table which width=166 and height=188, but the size of both table was not same, one is wider and one is narrow...My problem now is when i put both table together in one column, one look wider and the other look narrow, it is no nice...
What should i do to make both of it same width?? Thanks...


alumni.php
Expand|Select|Wrap|Line Numbers
  1. <form action="alumniLogin.php" method="POST">
  2.   <TABLE width="166" height="188" cellPadding=0 cellSpacing=0 bgcolor=#8870AB style="BORDER-RIGHT: #9B77CB 1px double; PADDING-RIGHT: 0px; BORDER-TOP: #9B77CB 1px double; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FONT-SIZE: 10px; BACKGROUND-IMAGE:  PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: top; BORDER-LEFT: #9B77CB 1px double; WIDTH: 140px; COLOR: #000000; PADDING-TOP: 0px; BORDER-BOTTOM: #9B77CB 1px double; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none" >
  3.     <tr align="center" bgcolor="#BA5179"> 
  4.       <td width> <center>
  5.           <font color="#FFFFFF" size="3" face="Verdana"><strong>ALUMNI LOGIN</strong></font> </center>
  6.         </td>
  7.     </tr>
  8. </table> 
  9.    </form>

ticker.php
Expand|Select|Wrap|Line Numbers
  1. <TABLE width="166" height="188" cellPadding=0 cellSpacing=0 bgcolor=#8870AB style="BORDER-RIGHT: #9B77CB 1px double; PADDING-RIGHT: 0px; BORDER-TOP: #9B77CB 1px double; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FONT-SIZE: 10px; BACKGROUND-IMAGE:  PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: top; BORDER-LEFT: #9B77CB 1px double; WIDTH: 140px; COLOR: #ffffff; PADDING-TOP: 0px; BORDER-BOTTOM: #9B77CB 1px double; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none" >
  2. <TBODY>
  3. <TR>
  4.       <TD style="BORDER-RIGHT: #9B77CB 1px double; PADDING-RIGHT: 4px; BORDER-TOP: #9B77CB 1px double; PADDING-LEFT: 4px; FONT-WEIGHT: bold; FONT-SIZE: 10px;  MARGIN: 0px; VERTICAL-ALIGN: top; BORDER-LEFT: #9B77CB 1px double; COLOR: #000000; LINE-HEIGHT: normal; PADDING-TOP: 4px; BORDER-BOTTOM: #9B77CB 1px double; BACKGROUND-REPEAT: repeat-x; FONT-STYLE: normal; FONT-FAMILY: Verdana; HEIGHT: 22px; TEXT-DECORATION: none;    FONT-SIZE: 11px; COLOR: #FFFFFF; FONT-FAMILY: Verdana "><B><FONT color=#FFFFFF size="2" face="Verdana">&nbsp;UMS 
  5.         Career News</FONT></B></TD>
  6.     </TR>
Feb 23 '07 #1
4 1999
AricC
1,892 Recognized Expert Top Contributor
Below is my coding for the login and ticker. I put both of it in table which width=166 and height=188, but the size of both table was not same, one is wider and one is narrow...My problem now is when i put both table together in one column, one look wider and the other look narrow, it is no nice...
What should i do to make both of it same width?? Thanks...


alumni.php
Expand|Select|Wrap|Line Numbers
  1. <form action="alumniLogin.php" method="POST">
  2.   <TABLE width="166" height="188" cellPadding=0 cellSpacing=0 bgcolor=#8870AB style="BORDER-RIGHT: #9B77CB 1px double; PADDING-RIGHT: 0px; BORDER-TOP: #9B77CB 1px double; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FONT-SIZE: 10px; BACKGROUND-IMAGE:  PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: top; BORDER-LEFT: #9B77CB 1px double; WIDTH: 140px; COLOR: #000000; PADDING-TOP: 0px; BORDER-BOTTOM: #9B77CB 1px double; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none" >
  3.     <tr align="center" bgcolor="#BA5179"> 
  4.       <td width> <center>
  5.           <font color="#FFFFFF" size="3" face="Verdana"><strong>ALUMNI LOGIN</strong></font> </center>
  6.         </td>
  7.     </tr>
  8. </table> 
  9.    </form>
ticker.php
Expand|Select|Wrap|Line Numbers
  1. <TABLE width="166" height="188" cellPadding=0 cellSpacing=0 bgcolor=#8870AB style="BORDER-RIGHT: #9B77CB 1px double; PADDING-RIGHT: 0px; BORDER-TOP: #9B77CB 1px double; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FONT-SIZE: 10px; BACKGROUND-IMAGE:  PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: top; BORDER-LEFT: #9B77CB 1px double; WIDTH: 140px; COLOR: #ffffff; PADDING-TOP: 0px; BORDER-BOTTOM: #9B77CB 1px double; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none" >
  2. <TBODY>
  3. <TR>
  4.       <TD style="BORDER-RIGHT: #9B77CB 1px double; PADDING-RIGHT: 4px; BORDER-TOP: #9B77CB 1px double; PADDING-LEFT: 4px; FONT-WEIGHT: bold; FONT-SIZE: 10px;  MARGIN: 0px; VERTICAL-ALIGN: top; BORDER-LEFT: #9B77CB 1px double; COLOR: #000000; LINE-HEIGHT: normal; PADDING-TOP: 4px; BORDER-BOTTOM: #9B77CB 1px double; BACKGROUND-REPEAT: repeat-x; FONT-STYLE: normal; FONT-FAMILY: Verdana; HEIGHT: 22px; TEXT-DECORATION: none;    FONT-SIZE: 11px; COLOR: #FFFFFF; FONT-FAMILY: Verdana "><B><FONT color=#FFFFFF size="2" face="Verdana">&nbsp;UMS 
  5.         Career News</FONT></B></TD>
  6.     </TR>
Why are you only using some CSS? Try make them the same percentage width.
Feb 23 '07 #2
bb nicole
127 New Member
Why are you only using some CSS? Try make them the same percentage width.


Thanks, i noe wat u mean.. Thanks.. :)
Feb 23 '07 #3
AricC
1,892 Recognized Expert Top Contributor
Thanks, i noe wat u mean.. Thanks.. :)
Did you get it working properly?

Aric
Feb 23 '07 #4
bb nicole
127 New Member
Did you get it working properly?

Aric

yes, i change the percentage of the width already.. Thanks.. :)
Feb 24 '07 #5

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

Similar topics

4
64881
by: Bart Heinsius | last post by:
Hi, I can't get my cell widths fixed in a table in IE6. In Mozilla it works, see http://www.xs4all.nl/~margreeh/aa.html . It's the blue cells that remain fixed at 20pt widths in Mozilla but not in IE. The HTML was generated with Mozilla's Composer. Can anyone help getting this to work in IE? Thanks already, Bart.
28
5563
by: Anthony Williams | last post by:
Good morning, I'm currently designing a site, using CSS, and wish to create a variable width two-column layout, with header and footer, and one fixed-width column on the left. Previously, I would have used a table to do this, using the following code: <table width="100%">
25
36370
by: Michael Schuerig | last post by:
I'm trying to do something seemingly very simple, but it's brought me close to crushing my head on the keyboard. All I want is a table where the head row is fixed and the body columns below are scrollable (with the ordinary scrollbars, no less). Whatever I try, the columns in the head and the body aren't aligned; the widths are computed independently which gives a completely ragged look. Michael --
4
81859
by: eomer | last post by:
I would like my table header to have a border on the bottom. What I have written works in Mozilla (1.7.12) but not IE (6). I have included the snippet of html and the snippets of CSS. Any suggestions would be appreciated. Thank you. http://www1.esc.edu/personalstu/fhartnet/books.html <tr class="lightblue">
117
18581
by: phil-news-nospam | last post by:
Is there really any advantage to using DIV elements with float style properies, vs. the old method of TABLE and TR and TD? I'm finding that by using DIV, it still involves the same number of elements in the HTML to get everything just right. When you consider the class attribute on the DIV elements, there's not much size savings anymore for using DIV. There are other disadvantages to not using TABLE/TR/TD, such as the lack of ability...
1
5194
by: MissMarie | last post by:
I've been playing around with DIV tables in myspace to better learn how to rewrite my own code for my business site without having to pay someone to design it. I've tried embedding a slideshow into a div table and after I save it I noticed that the slideshow does not show up and the embed code I added is altered. Can anyone help me figure this out? The embed code that I'm talking about is three quarters down the code page under {PHOTOS},...
6
7998
by: Romulo NF | last post by:
Greetings again to everyone, Im back to show this grid componenet i´ve developed. With this grid you can show the data like a normal table, remove the rows that you need, add rows, import data, call determined functions, and edit the data already present What will you need to use the grid? A table with standard markup and an ID to call the script that will turn the table into a grid Parameters: tabelaID => id of the table that will...
3
3853
by: jerrygadd | last post by:
Hi can anyone please help? I have a need to make a table of fixed size, containing three rows, where the middle row auto expands to fill the remaining space between the top and bottom rows. Here is what I have so far, unfortunately using height:100% for the middle row blows the size of the table! <html> <head> <title>Auto expanding middle row!</title>
3
3720
by: ilya2 | last post by:
I am making an HTML table. It has a lot of columns with fixed width (55 pixels). If I view it on full-screen IE window, the table fits on the screen and looks just as I want it to look. When I make the window smaller than the table, I expect horizontal scroll bar to appear. Instead each column shrinks; a cell which had: word1 word2 word3 becomes:
2
14736
by: bgold12 | last post by:
I have a problem that can be simplified to the following: I have a table with three columns. I need the middle column to be fixed width, let's say 100px. The other two columns I want to be variable width, such that one (say the left column) will minimize its width to the smallest it can be while still fitting a short line of text (no more than 32 characters) on a single line with no breaks. The right column I would then want to maximize...
0
9685
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9531
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10187
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7553
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6795
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5446
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5578
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4120
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3735
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.