WordPress.org

Ready to get started?Download WordPress

Forums

table not staying in div within content page (3 posts)

  1. Adriandc
    Member
    Posted 1 year ago #

    Hi folks, I have a div on the homepage and I call a content page which contains a table, it works perfectly and resizes and fits in neatly, when I do the exact same thing in another div thats in a content page that uses a seperate template it doesnt work.

    Its easiest if I show you..
    Home page , bottom left where it says "Current Standings"
    limerickfc.hailstormcommerce.com/cms

    and now the page , http://limerickfc.hailstormcommerce.com/cms/?page_id=110
    if you look to the left at current standings, the table is clearly expand far beyond the div. I dont expect it to be perfect because they are different width divs, but ive even tried playing around with the width and made it the same as the home page but it still doesnt work.

    Are there certain rules being applied here that I need to get rid of?

    Also, here is the code for calling the content

    $post_id = 989;
    $queried_post = get_post($post_id);
    $title = $queried_post->post_title;
    echo $title;
    echo apply_filters('the_content',$queried_post->post_content);
     ?>

    Any help would be great thanks

  2. Adriandc
    Member
    Posted 1 year ago #

    just to add one more thing, I thought it was a plugin issue as the table I am calling is leaguemanager, but ive tried a random table of my own and its the same issue.

  3. Adriandc
    Member
    Posted 1 year ago #

    Sorted, it was just a CSS issue!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.