Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. let right table column fill-up window

let right table column fill-up window

Scheduled Pinned Locked Moved Web Development
jsonhelptutorialquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    William Engberts
    wrote on last edited by
    #1

    Hi folks, Probably something trivial, but I cannot figure out how to do this the easy way! I have a div of a certain width with therein a table with three columns. I can give the leftmost column a fixed width, since I know I will be putting images in there with a maximum width. The middle column and the rightmost column contain texts. I want the middle column to be sized automatically according to the size of the text in there (still: no problem) However, I want then the rightmost column to take-up the rest of the available space in the relevant div. Now, if I make the table 100% wide, the browser will equally divide the remaining space over the middle and the rightmost columns, which is what I do not want to happen. I want that rightmost column to consume the rest of the space, since I give the rows different background colors (alternating colors to make up a neat table) and it looks good if the rows stretch frmo left to right in the available space. Any suggestions? Thanks in advance William

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups