Hey,
i have a problem. I use etomite as a CMS for travel agency. I have to copy/paste alot from emails i get. I make documents with content i paste from emails and then I use NewsListing snippet to display those documents.
It works fine with text only...but when i insert a large table the page is distorted. If you click on "More info" the page is ok, and table is resized so it fits to site. There is example on the url below.
How can i fix this ? Is there any way i can use scrollbars, if content is wider than content cell ? Any other ideas ?
Tnx,
http://www.columb-sp.si/index.php?id=51
Site distortion and NewsListing ?
Started by Guest_ikst_*, Dec 26 2004 08:57 PM
4 replies to this topic
#1 Guest_ikst_*
Posted 26 December 2004 - 08:57 PM
#2
Posted 26 December 2004 - 09:16 PM
Don't you mean the distotion on the page where the short list is placed?
I mean this page: http://www.columb-sp.si/index.php?id=25
Or are you refering to the 3 cells missing at the bottom of the page you've pointed to?
I've never tested this, but the news snippet just cuts the content off after a number of characters (in the listing a page 25 that is). This might cause the normal table-layout to get messed-up.
no offense, but it's a good idea to put the CSS for your table in a .css file and not within the page content.
I mean this page: http://www.columb-sp.si/index.php?id=25
Or are you refering to the 3 cells missing at the bottom of the page you've pointed to?
I've never tested this, but the news snippet just cuts the content off after a number of characters (in the listing a page 25 that is). This might cause the normal table-layout to get messed-up.
no offense, but it's a good idea to put the CSS for your table in a .css file and not within the page content.
Edited by Jeroen, 26 December 2004 - 09:24 PM.
#3
Posted 26 December 2004 - 09:29 PM
Jep. It's the table.
I've just copied the whole thing into one of my documents in the news.
It has messed up my site quite a bit.
There's an easy sollution: Just place enough text above the table. (At least more then the number of characters specified in the snippet) So there are no table things included in the short news summary.
I don't think many of the sites visitors will be interested in an incomplete overview anyway.
I've just copied the whole thing into one of my documents in the news.
It has messed up my site quite a bit.
There's an easy sollution: Just place enough text above the table. (At least more then the number of characters specified in the snippet) So there are no table things included in the short news summary.
I don't think many of the sites visitors will be interested in an incomplete overview anyway.
#4 Guest_ikst_*
Posted 26 December 2004 - 10:12 PM
Jeroen, on Dec 26 2004, 09:29 PM, said:
Jep. It's the table.
I've just copied the whole thing into one of my documents in the news.
It has messed up my site quite a bit.
There's an easy sollution: Just place enough text above the table. (At least more then the number of characters specified in the snippet) So there are no table things included in the short news summary.
I don't think many of the sites visitors will be interested in an incomplete overview anyway.
I've just copied the whole thing into one of my documents in the news.
It has messed up my site quite a bit.
There's an easy sollution: Just place enough text above the table. (At least more then the number of characters specified in the snippet) So there are no table things included in the short news summary.
I don't think many of the sites visitors will be interested in an incomplete overview anyway.
Sorry, you are right. I copied wrong URL, the one you posted is the right one.
Your sollution works. If i put a few lines of text above the table it works fine. I guess ill use this for now.
Btw...what do you mean with .css file and table ? Do you mean css for main table of css fo this pasted table ?
#5
Posted 26 December 2004 - 10:32 PM
ikst, on Dec 26 2004, 11:12 PM, said:
Btw...what do you mean with .css file and table ? Do you mean css for main table of css fo this pasted table ?
I mean this:
style="border: medium none; border-collapse: collapse;"
and this
style="border-style: solid solid none; border-color: windowtext windowtext rgb(236, 233, 216); border-width: 1pt 1pt medium; padding: 0cm 3.5pt; background: white none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; width: 478.4pt;"
and this
style="font-size: 9pt; color: navy; font-family: Arial;"
I didn't look at the meaning of all that, but if you want to change something .... you'll need to do it line by line. If you put all that in a sepperated classes in a .css file and include that file in the template you can change the look of you're table a whole lot easier.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











