Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Problems with table

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #28139
    Oscar Pino
    Member

    Hello.

    I applied the style to a table of 10 rows, 15 columns and it exceeds the border of the layer.

    What should I do to show the entire table within the layer?

    In this link you can see my problem.

    Thx.[img]http://i45.tinypic.com/aaboye.jpg[/img]

    http://i45.tinypic.com/aaboye.jpg

    #71532
    noahgelman
    Participant

    It would be easier if you posted a link to the actual site or the code. It could be any number of things causing that

    #71560
    Oscar Pino
    Member
    "noahgelman" wrote:
    It would be easier if you posted a link to the actual site or the code. It could be any number of things causing that

    here is the link:

    http://tinypaste.com/17d43

    #71573
    Oscar Pino
    Member
    "noahgelman" wrote:
    It would be easier if you posted a link to the actual site or the code. It could be any number of things causing that
    "virtual" wrote:
    I presume you just posted the relevant code, because you are missing a lot of information:
    1 – Doctype
    2 – opening and closing<head> and <body> tags.
    3 – You are also missing a closing div.

    4 – You have given your table a width of 500px, there is no way you are going to fit that much information in 13 columns in such a small space without seriously reducing the size of your text. 12px and 16px for your headers will never fit, simple question of mathematics.

    5 – To make it fit I reduced the sizes of your fonts to 10px and did the following

    Code:
    #tabla {
    margin:20px 6px;
    padding:0;
    width:500px;
    }

    6 – #lateral could do with some padding the input box and text are jammed up against the left hand side.

    Here is the information missing: http://tinypaste.com/a3cb8

    Thx for helping me

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.