Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
Thread Tools Display Modes
Share |
  #1  
Old 08-27-2014, 07:21 AM
stephen001 stephen001 is offline
Contributing Member
 
Join Date: 04-25-13
Posts: 89
iTrader: 0 / 0%
How to Assign Fixed Width to my Table columns

How to Assign Fixed Width to my Table columns
 
Reply With Quote

Advertisement

Advertisement

  #2  
Old 09-01-2014, 04:31 PM
Frankie GTH Frankie GTH is offline
Junior Member
 
Join Date: 03-14-13
Posts: 18
iTrader: 0 / 0%
A simple Google search, using table fixed width gives as the second result a W3 Schools web page that explains it well, including a live example. The principle is:
Code:
table { table-layout: fixed; }
 
Reply With Quote
  #3  
Old 09-23-2014, 08:49 AM
yasar yasar is offline
Banned
 
Join Date: 09-23-14
Location: bangalore
Posts: 77
iTrader: 0 / 0%
1) if there are extra texts, the text should wrap, it should not increase or decrease the td width 2) if there are empty spaces, the cell width should not be reduced when resizing other columns or page; it should stay intact.
 
Reply With Quote
  #4  
Old 10-15-2014, 11:51 AM
yasar yasar is offline
Banned
 
Join Date: 09-23-14
Location: bangalore
Posts: 77
iTrader: 0 / 0%
table {
width:30%;
}
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluid vs Fixed Width chicgeek Web Design Lobby 122 11-11-2011 06:13 PM
Fixed width vs. Fuid design; Which one is better? gridsix Coding Forum 1 03-03-2009 08:56 AM
Big table with first columns fixed gcorro Coding Forum 2 11-07-2007 08:02 AM
How to get columns to have equal width in Dreamweaver pataya Coding Forum 2 03-19-2007 09:06 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 05:30 PM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC