Results 1 to 6 of 6

Thread: Text display in Table

  1. #1
    Senior Member gprit's Avatar
    Join Date
    Dec 2010
    Location
    France...ex UK
    Posts
    595

    Default Text display in Table

    see: http://www.libertybs.co.uk/clients/m...treatment.html

    Scroll to the botton and there is a table of prices.
    The text is large (30px) to display ok on smartphone, but it is too big for the cell text area, and so the top/bottom of the text is truncated.
    (this can be seen even if view on desktop)

    Have tried everything I can think of to resolve this (smaller text is not an option).

    Any thoughts.

    thanks

  2. #2
    Senior Member
    Join Date
    Apr 2010
    Location
    Sydney
    Posts
    2,000

    Default

    equalize the table, grab the bottom edge and drag upwards, this will make all rows the same height

    note that tables are a no go zone for smart phones

  3. #3
    Senior Member gprit's Avatar
    Join Date
    Dec 2010
    Location
    France...ex UK
    Posts
    595

    Default

    Hi Anton - it's not that the rows are different hight, it's that the TEXT within doesn't display the top part of the text.
    Equalizing the rows makes no difference to that.

    I've been reading a bit about tables in smartphones https://css-tricks.com/accessible-si...onsive-tables/ is quite informative but I think it's really when the table is large. The data here is small and very basic.

  4. #4
    Senior Member gprit's Avatar
    Join Date
    Dec 2010
    Location
    France...ex UK
    Posts
    595

    Default

    Ah...got it.....Although I set the font size=36 that didn't automatically
    change the Line height.
    I edited that field in CSS Code Editor and it seems to work......although I think I have to do it for every table cell individually(!)

  5. #5
    Senior Member
    Join Date
    Apr 2010
    Location
    Sydney
    Posts
    2,000

    Default

    I always set line height for each font style

    you only do this once in page view, text menu, edit text styles..... choose the style you use in the table such as P or H or custom and edit away

  6. #6
    Senior Member
    Join Date
    Apr 2010
    Location
    Sydney
    Posts
    2,000

    Default

    sorry, I meant I set space above and space below
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Anton-0514.png 
Views:	166 
Size:	15.8 KB 
ID:	2701  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •