473,804 Members | 2,112 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

help Table always overflows container div

Hi,
I have a couple of pages which display database content in form of
tables. The problem I am seeing is that @ 800x600 resolution,
irrespective of the number of columns in the table the table width is
constant and overflows the div. I am seeing this problem in both
firefox 1.5 and ie6
I have been trying to identify the problem but without any success.
I tried reducing the table width ( to 10%) but it did not help.
the pages are at
http://edaindia.com/asic/companies.shtml and
http://edaindia.com/jobs/listjobs.shtml

Nov 23 '06 #1
1 2450
In comp.infosystem s.www.authoring.stylesheets, edai wrote:
I have a couple of pages which display database content in form of
tables. The problem I am seeing is that @ 800x600 resolution,
irrespective of the number of columns in the table the table width is
constant and overflows the div. I am seeing this problem in both
firefox 1.5 and ie6
I have been trying to identify the problem but without any success. I
tried reducing the table width ( to 10%) but it did not help. the
pages are at http://edaindia.com/asic/companies.shtml and
http://edaindia.com/jobs/listjobs.shtml
Each of your columns will be at least as wide as the longest single
non-breakable word. I'd say you have too many columns to fit within your
designated width.

I viewed with Firefox 1.5.0.8

Tip: set the text to align to the top of each cell rather than the
center, for neater presentation.

You have strange formatting in the source. Quote:

<tr style="backgrou nd-color:#ccff99; color:#000000;" >
<td<a href="http://www.asiclabs.co m
">Asic Labs
</a></td><td60/220, Lisie Hospital Road

Kochi - 682 018

Kerala, INDIA
, Karnataka
</td><tdCochin,
....

Try to clean up the HTML output to collapse all those extra lines and
indents, which may contribute in some small way to your problem.

Consider dropping the Description column (as some have quite lengthy
text) and make a link from somewhere (maybe a "D" after the Name) if a
text exists, and show it on a different page.

There is some kind of small, strange partial border at the top and
bottom of the right-half of the Description column. It might be my ugly
default purple background showing, as you haven't assigned any
background color to the body. Aha. After testing, yes it is. You need to
assign a background color.

Found this:
"EDAIndia reaches Thousands of IC design prefessionals around the world
every month. Are you reaching them?
[an error occurred while processing this directive]"

"An error occurred..."

--
-bts
-Motorcycles defy gravity; cars just suck
Nov 23 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3908
by: Jackson Yap | last post by:
can someone kind enough to help me look at the attached html and js file? Why is it that the javascript menu could not work at www.apchosting.net but could work at http://home.pacific.net.sg/~jacksony ? (the drop down bar could not work at www.apchosting.net but can drop at home.pacific.net.sg. I suspect it is a server problem but was told it is not possible, therefore assuming it is a client script problem? the script works last time...
1
1146
by: Kasey Rybic | last post by:
I am trying to put data from a field of a query in to the HeaderText arg and I keep getting an error. <asp:DataGrid id="dgMainCompany" runat="server" width="55%" HorizontalAlign="Left" AutoGenerateColumns="False" BackColor="WhiteSmoke" Font-Name="Verdana" Font-Size="11pt"> <HeaderStyle BackColor="Thistle" ForeColor="Black" Font-Bold="True" /> <Columns>
10
1730
by: Joe | last post by:
Hi, Tried using the FindControl() but no luck in finidng this damn textbox having id txtFirstName. Can someone help me with this method? This is what I have been doing but it doesn't work, Dim txtFName As TextBox txtFName = CType(myDataGrid.FindControl("txtFirstName"), TextBox)
2
1165
by: I am Sam | last post by:
Ok I set up a button column to delete an individual record. Nothing happens when I test it. Someone please help understand why. Below is the associated coding: DataGrid control: <asp:datagrid id="clubdg" DataKeyField="UserID" runat="server" GridLines="Vertical" CellPadding="2" BorderWidth="1px" BorderColor="#CCCCFF" CssClass="txt" AutoGenerateColumns="False" OnCancelCommand="Cancel_Click"
5
3599
by: serge calderara | last post by:
Dear all, I am new in asp.net and prepare myself for exam I still have dificulties to understand the difference between server control and HTML control. Okey things whcih are clear are the fact that for server control component , code is running on the server side. But if I take as example a Label. I place on a webform an HTM label control and a WebForm label control, I could see that properties are different for
2
7469
by: bj | last post by:
Hi, Yes, this is yet another "switching from tables to divs for layout purposes" post. I have been searching for the past few hours to find what I'm looking for as I hate posting unnecessarily. I am a pretty crap searcher but I'm kinda sure this hasn't been written about yet. Please feel free to prove me wrong and link to a solution. Otherwise I'd appreciate any advice you may have. I have a situation where I have a window that has...
0
5578
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted ******************************************************** For this teeny job, please refer to: http://feeds.reddit.com/feed/8fu/?o=25
7
8728
by: Phlip | last post by:
HTMLers: Start with this simple HTML: <table border='1' width='100%' height='90%'> <tr><td> <div style='overflow: auto'> </div> </td></tr> </table>
0
2008
by: simon | last post by:
hello, relatively new to .net, i'm using vb.net and the 2.0 .net platform I'm trying to display a grid that has a text box on the left in one cell (with a hidden ID), which will be associated to multiple rows (events) on the right. each row on the right will also have a text box ------------------------------------------------------- event 1
0
9712
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
9594
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,...
0
10343
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10341
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,...
0
6862
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
5530
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...
1
4308
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
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.