| | |
table width in pixel overlaps div
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Apr 2009
Posts: 1
Reputation:
Solved Threads: 0
Hi,
I have to display content on a page.I want the content to be displayed in 800px space.So I have used a div tag.The following code explains it ...
Because of the width attribute of the td tag ,content is displayed in 596px space.But i want it to be displayed in 800px space so that it covers the entire screen.
Could you please help me solve this problem..
Thanks in advance
Vidhi
I have to display content on a page.I want the content to be displayed in 800px space.So I have used a div tag.The following code explains it ...
html Syntax (Toggle Plain Text)
<div style="width:800px;"> <table><tbody><tr><td border="0" valign="top" width="596"> In economics, a recession is a general slowdown in economic activity over a sustained period of time, or a business cycle contraction.During recessions, many macroeconomic indicators vary in a similar way. Production as measured by Gross Domestic Product (GDP), employment, investment spending, capacity utilization, household incomes and business profits all fall during recessions. Governments usually respond to recessions by adopting expansionary macroeconomic policies, such as increasing money supply, increasing government spending and decreasing taxation. </td></tr></tbody></table> </div>
Because of the width attribute of the td tag ,content is displayed in 596px space.But i want it to be displayed in 800px space so that it covers the entire screen.
Could you please help me solve this problem..
Thanks in advance
Vidhi
Last edited by peter_budo; Aug 13th, 2009 at 12:33 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
•
•
Join Date: Jul 2008
Posts: 101
Reputation:
Solved Threads: 9
•
•
•
•
Hi,
I have to display content on a page.I want the content to be displayed in 800px space.So I have used a div tag.The following code explains it ...
html Syntax (Toggle Plain Text)
<div style="width:800px;"> <table><tbody><tr><td border="0" valign="top" width="596"> ... </td></tr></tbody></table> </div>
Because of the width attribute of the td tag ,content is displayed in 596px space.But i want it to be displayed in 800px space so that it covers the entire screen.
Could you please help me solve this problem..
Yes, I'm running Ubuntu. Of course.
![]() |
Similar Threads
- how to refresh paritcular div of a table (JavaScript / DHTML / AJAX)
- Table Width Problem in Firefox 2 (HTML and CSS)
- PostBack method on Page Refresh (PHP)
- storing values in Textboxes in Register page (PHP)
- [CSS] How to center one div in a main div (HTML and CSS)
- 100% table width scrolls left to right in Windows 2000 (Site Layout and Usability)
- Form Validation Issues (JavaScript / DHTML / AJAX)
- Table width (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: Overhanging background
- Next Thread: help
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7






