Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
New Posts New Topics All Posts All Forums Index General Modules Themes Development International XOOPS.org

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $65.00
Net Balance: $61.80
Left to go: $38.20

Donations
studioC  ($25)May-17
Anonymous ($15)May-16
Anonymous ($25)May-4

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

2 2.5 2.6 3.0 2013 Abuse adslight AntiHarvesting AntiMalUser AntiSpam API Ban banner Beats billige black Blocks blue Captcha cell Christmas chronolabs content Conversion database demo docek download Dresses editor evden eve facebook Federated floor free Gateway herre Honeypot Human IP jQuery kantor lamps Legal log logger mobile module modules Monster MyAlbum-p Networks newbb news Notices online PageRank pdf Permissions pink Plugin portal Prevention profile project Protector publisher release Rights rmcommon Room sale security Server site Size Smarty Spam statistics stem Studio tag tags tdmcreate template Theme themes userlog website Whitepaper Winter XML XooLaT xoops Xoopspoll Xortify xthemes Yolande ZendFramework

New Users

Registering user

# 136034

kennabee

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  Register To Post



#1 Posted on: 2005/8/31 11:35 Comment display in IE
I'm trying to get my comments to display properly in IE. They look fine in Firefox. No matter what theme I use, the comments are always jumbled in IE.

Here is what they look like in IE - link

And here is Firefox - link

Here is my style.css. I'm using the simple_line theme right now.
/* Á´ÈÌÀßÄê */
body {colorblackbackgroundwhitemargin0padding0;}

table {width100%; margin5padding5font-size10px}
table td {padding0border-width0vertical-aligntopfont-familyVerdanaArialHelveticasans-serif;}

/* Á´ÈÌŪ¤Ê¥ê¥ó¥¯¤ÎÀßÄê */
{color#111111; text-decoration: none; background-color: transparent;}
a:hover {color#000000;text-decoration: underline; background-color: transparent;}

/* °ìÈÌ¥¿¥°¤ÎÀßÄê */
h1 {}
h2 {}
h3 {}
h4 {}
h5 {}
/* ¥ê¥¹¥Èɽ¼¨¤ÎÀßÄê Ãæ±ûº¸±¦¤Î¥Ö¥í¥Ã¥¯¤Ê¤É¤Ç»ÈÍÑ */
ul margin2pxpadding2px; list-styledecimal insidetext-alignleft;}
li margin-left2px; list-stylesquare insidecolor#999999}

input.formButton {}

/* ºÇ¿·¥Ë¥å¡¼¥¹¤ÎÏÈ */
.item {border1px solid #BBBBBB;}
/* ºÇ¿·¥Ë¥å¡¼¥¹¤Î¥¿¥¤¥È¥ë¥Ð¡¼ */
.itemHead {padding3pxbackground-color#BBBBBB; color: #FFFFFF;}
/* ºÇ¿·¥Ë¥å¡¼¥¹¤ÎÅê¹Æ¾ðÊóÍó */
.itemInfo {text-alignrightpadding3pxbackground-color#EFF4F8}
/* ºÇ¿·¥Ë¥å¡¼¥¹¤Î¥¿¥¤¥È¥ë¤ÎÀßÄê */
.itemTitle a {font-size110%; font-weightboldfont-variantsmall-capscolor#ffffff; background-color: transparent;}
/* ºÇ¿·¥Ë¥å¡¼¥¹¤ÎÅê¹Æ¼Ô */
.itemPoster {font-size90%;}
/* ºÇ¿·¥Ë¥å¡¼¥¹¤ÎÅê¹ÆÆü */
.itemPostDate {font-size90%;}
/* ºÇ¿·¥Ë¥å¡¼¥¹¤Î¥¹¥Æ¡¼¥¿¥¹ */
.itemStats {font-size90%; font-style:italic;}
/* ºÇ¿·¥Ë¥å¡¼¥¹¤Î¥³¥ó¥Æ¥ó¥ÄÉôʬ */
/*.itemBody {padding-left: 15px;} */
.itemBody {/*background-color: #ffffff;*/positionrelative;margin-bottom10px;z-index0padding5px;}
.
itemText {margin-top5pxmargin-bottom5pxline-height120%; color#222222;font-size:10px}
/* ºÇ¿·¥Ë¥å¡¼¥¹¤Î1ʸ»úÌÜ */
.itemText:first-letter {font-size133%; font-weightbold;}
/* ºÇ¿·¥Ë¥å¡¼¥¹¤Î¥Õ¥Ã¥¿¡¼ */
.itemFoot {text-alignrightpadding3pxbackground-color#F3F3F3}
.itemAdminLink {font-size90%;}
.
itemPermaLink {font-size90%;}


th {background-color#999999; color: #FFFFFF; padding : 2px; vertical-align : middle; font-family: Verdana, Arial, Helvetica, sans-serif;}

/*¥Ø¥Ã¥À¡¼¥Ö¥í¥Ã¥¯¤ÎÄêµÁ*/
td#headerleft {width: 65px; background-color: #FFFFFF;}
td#headerlogo {width: 170px; height: 45px; background-color: #FFFFFF; vertical-align: top; text-align:left;}
td#headerbanner {height: 45px; background-color: #FFFFFF;}
td#headerbar1 {background-color: #FFFFFF; color: #111111;font-size: 8px; padding: 3px; text-align: left; vertical-align: top;}
td#headerbar2 {height: 30px;color: #111111;font-size: 8px; padding: 0px; text-align: center; vertical-align: middle;border-top: 1px solid #CCCCCC;border-bottom: 1px solid #CCCCCC;border-left: 1px solid #CCCCCC;}
td#headerbar3 {color: #111111;font-size: 8px; padding-left: 1px; text-align: left; vertical-align: middle;border-top: 1px solid #CCCCCC;border-bottom: 1px solid #CCCCCC;border-left: 1px solid #CCCCCC;}
td#headerbar4 {width: 170px;border-top: 1px solid #CCCCCC;border-bottom: 1px solid #CCCCCC;border-left: 1px solid #CCCCCC;}

/*º¸Â¦¥Ö¥í¥Ã¥¯°ìÈÖ³°Â¦¥»¥ë¤ÎÄêµÁ*/
td#leftcolumn {width: 170px; border-right: 1px solid #CCCCCC; border-left: 1px solid #CCCCCC; font-size:10px;background-color: #F2F2F2;}
td#leftcolumn th {background-color: #DDDDDD; color: #000000; vertical-align: middle;}
/*º¸Â¦¥Ö¥í¥Ã¥¯¥¿¥¤¥È¥ë*/
td#leftcolumn div.blockTitle {padding: 3px; background-color: #DDDDDD; color: #000000; border-bottom: 1px solid #B1B0BC; vertical-align:middle;}
/*º¸Â¦¥Ö¥í¥Ã¥¯¥³¥ó¥Æ¥ó¥Ä*/
td#leftcolumn div.blockContent {padding: 2px 0px 2px 3px; line-height: 110%; padding-left: 15px;font-size:10px;}

/* º¸Â¦¥Ö¥í¥Ã¥¯¡¡¥á¥¤¥ó¥á¥Ë¥å¡¼¤ÎÄêµÁ*/
td#mainmenu a {background-color: transparent; display: block; margin: 0; padding: 4px; border-bottom: 1px solid #cdcdcd;}
td#mainmenu a:hover {background-color: #FFFFFF;}
td#mainmenu a.menuTop {}
td#mainmenu a.menuMain {border-bottom: 1px solid #cdcdcd;}
td#mainmenu a.menuSub {padding-left: 15px; border-bottom: 1px solid #cdcdcd;}

/*º¸Â¦¥Ö¥í¥Ã¥¯¡¡¥æ¡¼¥¶¡¼¥á¥Ë¥å¡¼¤ÎÄêµÁ*/
td#usermenu a {background-color: transparent; display: block; margin: 0; padding: 4px; border-bottom: 1px solid #cdcdcd;}
td#usermenu a:hover {background-color: #FFFFFF;}
td#usermenu a.menuTop {}
td#usermenu a.highlight {background-color: #fcc;}


/*±¦Â¦¥Ö¥í¥Ã¥¯¤ÎÄêµÁ*/
td#rightcolumn {width: 170px; border-right: 1px solid #CCCCCC; border-left: 1px solid #CCCCCC; font-size:10px;background-color: #F2F2F2;}
td#rightcolumn th {background-color: #DDDDDD; color: #000000; vertical-align: middle;}
td#rightcolumn div.blockTitle {padding: 3px; background-color: #DDDDDD; color: #000000; border-bottom: 1px solid #B1B0BC; vertical-align:middle;}
td#rightcolumn div.blockContent {padding: 3px; line-height: 120%; padding-left: 15px;font-size:10px;}


/*Ãæ±û¥Ö¥í¥Ã¥¯¤ÎÄêµÁ*/
td#centercolumn {font-size: 10px;}
/* ¥Õ¥©¡¼¥é¥à¤Î¥¿¥¤¥È¥ë¥Ð¡¼Éôʬ */
td#centercolumn th {background-color: #BBBBBB; color: #FFFFFF; vertical-align: middle;}

/*Ãæ±û¥»¥ó¥¿¡¼¥Ö¥í¥Ã¥¯¤ÎÄêµÁ*/
td#centerCcolumn {padding: 0px 3px 1px 3px;}
td#centerCcolumn legend.blockTitle {padding: 3px; color: #111111; font-weight: bold; margin-top: 0px; margin-right: 0px;  margin-left: 0px;}
td#centerCcolumn div.blockContent {padding: 3px; margin-right: 0px;  margin-left: 0px; margin-bottom: 2px; line-height: 120%;}

/*Ãæ±û¥Ö¥í¥Ã¥¯º¸¤ÎÄêµÁ*/
td#centerLcolumn {width: 50%; padding: 0px 3px 0px 0px;}
td#centerLcolumn legend.blockTitle {padding: 3px; color: #111111; font-weight: bold; margin-top: 0px;}
td#centerLcolumn div.blockContent {padding: 3px; margin-left: 3px; margin-right: 2px; margin-bottom: 2px; line-height: 120%;}

/*Ãæ±û¥Ö¥í¥Ã¥¯±¦¤ÎÄêµÁ*/
td#centerRcolumn {width: 50%; padding: 0px 3px 0px 0px;}
td#centerRcolumn legend.blockTitle {padding: 3px; color: #111111; font-weight: bold; margin-top: 0px;}
td#centerRcolumn div.blockContent {padding: 3px; margin-left: 2px; margin-right: 3px; margin-bottom: 2px; line-height: 120%;}

div#content {text-align: left; padding: 8px; font-size:10px;}

/*¥Õ¥Ã¥¿¡¼¥Ö¥í¥Ã¥¯¤ÎÄêµÁ*/
tr#footerbar {text-align:center; background-image: url(hbar.gif);}


/* ¥Õ¥©¡¼¥é¥à¤Ê¤É¤Î³°ÏÈ*/
.outer {background-color#DDDDDD}
/* ¥Õ¥©¡¼¥é¥à¤Ê¤É¤ÎÅê¹Æ¾ðÊóÍó */
.head {background-color#DEE3E7; padding: 5px; font-weight: bold;}
/* ¥Õ¥©¡¼¥é¥à¤Ê¤É¤Î¸ò¸ß¤Ë¿§¤¬ÊѤï¤ëÉôʬ */
.even {background-color#eff4f8; padding: 5px;}
.odd {background-color#F9F9F9; padding: 5px;}
/* ¥Õ¥©¡¼¥é¥à¤Ê¤É¤Î¥Õ¥Ã¥¿¡¼ */
.foot {background-color#d3dee7; padding: 5px; font-weight: bold;}
tr.even td {background-color#eff4f8; padding: 5px;}
tr.odd td {background-color#F9F9F9; padding: 5px;}

div.errorMsg background-color#FFCCCC; text-align: center; border-top: 1px solid #DDDDFF; border-left: 1px solid #DDDDFF; border-right: 1px solid #AAAAAA; border-bottom: 1px solid #AAAAAA; font-weight: bold; padding: 10px;}
div.confirmMsg background-color#DDFFDF; color: #136C99; text-align: center; border-top: 1px solid #DDDDFF; border-left: 1px solid #DDDDFF; border-right: 1px solid #AAAAAA; border-bottom: 1px solid #AAAAAA; font-weight: bold; padding: 10px;}
div.resultMsg background-color #CCCCCC; color: #333333; text-align: center; border-top: 1px solid silver; border-left: 1px solid silver; font-weight: bold; border-right: 1px solid #666666; border-bottom: 1px solid #666666; padding: 10px;}

div.xoopsCode background#FFFFFF; border: 1px inset #000080; font-family: "Courier New",Courier,monospace; padding: 0px 6px 6px 6px;}
div.xoopsQuote background#FFFFFF; border: 1px inset #000080; font-family: "Courier New",Courier,monospace; padding: 0px 6px 6px 6px;}


.comTitle a text-decorationnone; }
.
comTitle {font-size110%;font-weightnormal;text-decorationnone;margin0px 0px .2em 0px;padding0px 0px 2px 0px;border-bottom1px solid #d0d0e0;}
.comText {/*position: relative;margin: 5px 5px 5px 15px;left: 120px;float: left;*/line-height1.5em;padding0px;}
.
comUserStat {font-size10pxcolor#436792; font-weight:bold; border: 1px solid silver; background-color: #ffffff; margin: 2px; padding: 2px;}
.comUserStatCaption {font-weightbold;}
.
comUserStatus {color#436792; font-weight:bold;}
.comUserRank {margin2px;}
.
comUserRankText {font-size10px;font-weight:bold;}
.
comUserRankImg {border0;}
.
comUserName {}
.
comUserImg {margin2px;}
.
comDate {font-weightnormalfont-styleitalicfont-sizesmaller}
.
comDateCaption {font-weightboldfont-stylenormal;}

.
comUserdetails {floatleft;/*position: relative;top: 50px;left: 10px;*/font-size0.85em;border1px solid #d0d0e0;background-color: #fff9ef;padding: 3px;/*margin: 5px 5px 5px 5px;*/text-align: center;margin: 5px 10px 5px 0px;z-index: 0; }
.comUserName {font-weightbold;font-size110%;}

.
comIcons {floatright;positionrelative;font-size0.85em;top: -25px;right5px;}
.
com_tl {background-imageurl(../images/news_tl.gif);background-position00%;background-repeatno-repeat;positionrelative;top: -1px;left: -1px;}
.
com_tr {background-imageurl(../images/news_tr.gif);background-position1000%;background-repeatno-repeat;positionrelative;left2px;}
.
com_br {background-imageurl(../images/news_br.gif);background-position100100%;background-repeatno-repeat;positionrelative;top2px;}
.
com_bl {background-imageurl(../images/news_bl.gif);background-position0100%;background-repeatno-repeat;positionrelative;left: -2px;padding.8em;overflowhidden;}
.
comContainer {/*background-color: #ffffff;*/border1px solid #D0D0E0;position: relative;margin-bottom: 10px;z-index: 0;}


Anyone have any ideas?

Top

jbeard7
Just popping in
Just popping in
Joined:
2005/8/8 20:41
Group:
Registered Users
Posts: 6
(Show More) (Show Less)


#2 Posted on: 2005/8/31 12:17 Re: Comment display in IE
Hi Jbeard7

I think it's a problem with the "transparent" tag. I have had the same problem on a site i build for a friend.

CSS in IE and Firefox don't allways look the same. I know of the "transparent" tag witch gives different results, and scollbars in iframes are also a bit wierd.

Grizzly

Top


Danish is viery iasy to spoke
Grizzlydk
Just popping in
Just popping in
Joined:
2005/2/24 9:03
From Denmark
Group:
Registered Users
Posts: 68
(Show More) (Show Less)


#3 Posted on: 2005/8/31 12:56 Re: Comment display in IE
but the transparent tag is only used to define background colors. if i assigned a color, wouldn't it still not effect the spacing and layout?

Top

jbeard7
Just popping in
Just popping in
Joined:
2005/8/8 20:41
Group:
Registered Users
Posts: 6
(Show More) (Show Less)


#4 Posted on: 2005/11/4 10:03 Re: Comment display in IE
I have this same problem with the default theme of XOOPS 2.2. Has been someone able to solve this?

P.S.: looks good on Opera 8.5 too.

Top

angaran
Just popping in
Just popping in
Joined:
2003/8/17 15:14
Group:
Registered Users
Posts: 97
(Show More) (Show Less)


#5 Posted on: 2005/11/4 11:32 Re: Comment display in IE
I solved it! Adding

<div style="clear:both;"></div>


At the end of the system_comment template so it look lke this now:

<div class="comContainer">
        <
div class="com_tl"><div class="com_tr"><div class="com_br"><div class="com_bl"
            <
h2 class="comTitle"><a id="comment<{$comment.id}>"></a><{$comment.image}><{$comment.title}></h2>
            <
div class="comIcons">
                <{if 
$xoops_iscommentadmin == true}>
                        <
a href="<{$editcomment_link}>&amp;com_id=<{$comment.id}>"><img src="<{$xoops_url}>/themes/default/images/edit_small.gif" width="16" height="16" alt="<{$lang_edit}>" title="<{$lang_edit}>" /></a>&nbsp;<a href="<{$deletecomment_link}>&amp;com_id=<{$comment.id}>"><img src="<{$xoops_url}>/themes/default/images/delete_small.gif" width="16" height="16" alt="<{$lang_delete}>" title="<{$lang_delete}>" /></a>&nbsp;<a href="<{$replycomment_link}>&amp;com_id=<{$comment.id}>"><img src="<{$xoops_url}>/themes/default/images/reply_small.gif" width="16" height="16" alt="<{$lang_reply}>" title="<{$lang_reply}>" /></a>
                <{elseif 
$xoops_isuser == true && $xoops_userid == $comment.poster.id}>
                        <
a href="<{$editcomment_link}>&amp;com_id=<{$comment.id}>"><img src="<{$xoops_url}>/themes/default/images/edit_small.gif" width="16" height="16" alt="<{$lang_edit}>" /></a>&nbsp;
                        <
a href="<{$replycomment_link}>&amp;com_id=<{$comment.id}>"><img src="<{$xoops_url}>/themes/default/images/reply_small.gif" width="16" height="16" alt="<{$lang_reply}>" /></a>
                <{elseif 
$xoops_isuser == true || $anon_canpost == true}>
                        <
a href="<{$replycomment_link}>&amp;com_id=<{$comment.id}>"><img src="<{$xoops_url}>/themes/default/images/reply_small.gif" width="16" height="16" alt="<{$lang_reply}>" /></a>
                <{/if}>
            </
div>
      
  <
div>
                    <
span class="comDateCaption"><{$lang_posted}>:</span> <{$comment.date_posted}>&nbsp;&nbsp;<span class="comDateCaption"><{$lang_updated}>:</span> <{$comment.date_modified}>
    </
div>

                <{if 
$comment.poster.id != 0}>
                    <
div class="comUserdetails">
                        <
img class="comUserImg" src="<{$xoops_upload_url}>/<{$comment.poster.avatar}>" alt="" /><br />
                        <
span class="comUserName"><{$comment.poster.uname}></span><br />
                        <
img class="comUserRankImg" src="<{$xoops_upload_url}>/<{$comment.poster.rank_image}>" alt="" /><br />
                        <
span class="comUserName"><{$comment.poster.rank_title}></span><br />
                        <
span class="comUserStatCaption"><{$lang_joined}>:</span> <{$comment.poster.regdate}><br />
                        <
span class="comUserStatCaption"><{$lang_from}>:</span> <{$comment.poster.from}><br />
                        <
span class="comUserStatCaption"><{$lang_posts}>:</span> <{$comment.poster.postnum}><br />
                        <
span class="comUserStatus"><{$comment.poster.status}></span>
                    </
div>
                <{/if}>
                        
  <
div class="comText">
      <{
$comment.text}>
  </
div>
<
div style="clear:both;"></div>

</
div></div></div></div></div>


Hope to help!

Top

angaran
Just popping in
Just popping in
Joined:
2003/8/17 15:14
Group:
Registered Users
Posts: 97
(Show More) (Show Less)


#6 Posted on: 2005/12/21 16:48 Re: Comment display in IE
Also it is necessary to modify the Style.css so that it appears the information of poster on the message. Without the modification this appears detras.

Sorry I can´t write English very well

También es necesario modificar el Style.css para que aparezca la información de quien envio el mensaje sobre el mensaje. Sin la modificación esta aparece detras.

.comUserdetails {
float: left;
position: relative; // First change
top: 5px; // Second Change
left: 1px;
*/font-size: 0.85em;
border: 1px solid #d0d0e0;
background-color: #fff9ef;
padding: 3px;
/*margin: 5px 5px 5px 5px;*/
text-align: center;
margin: 5px 10px 5px 0px;
z-index: 2; //Third change
}

.comContainer {
background-color: #ffffff;
border: 1px solid #D0D0E0;
position: relative;
margin-bottom: 10px;
z-index: 1; // other change
}

Top

josespi
Just popping in
Just popping in
Joined:
2004/11/29 14:31
From Perú
Group:
Registered Users
Posts: 26
(Show More) (Show Less)







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You can vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.

[Advanced Search]