Forum Moderators: not2easy
I have a page that is pulling content from another site. The other site provides a link to embed a "feed" of your account postings to the pages on your own site. This is done by adding a js file to your page:
<script src="http://www.example.com/includes/xmlfeed.js" type="text/javascript"></script> The above adds a table with some information in it to the page on my site. The problem is this table is too wide to fit properly on the page due to my navigation bar. I have tried putting the table in a div/table with an absolute width but the table coming from the other site still displays at 850px instead of the 590 I want it to be. I have also tried using !important but that doesn't work either.
Does anyone know how I can force an external table to fit my site?
Thanks in advance for any help.
[edited by: tedster at 10:53 pm (utc) on Oct. 4, 2008]
[edit reason] exemplified, see posting guidelines [/edit]
You could add a div around it and set overflow, but the result might not be what you seek (scroll bars or cut-off content)
The last solution is to use some server side scripting to fetch the content and format it yourself as you like.
But in all cases: take care with terms of service.