1
kymon
HELP
  • 2005/7/9 23:15

  • kymon

  • Just popping in

  • Posts: 10

  • Since: 2005/7/9 2


look at my site
http://www.starzaki.eu.org/~cyberdivx/serw/

plzzz how to change the triple line above the picture to the one line?
what should i edit?

2
jdseymour
Re: HELP

Can't really tell but look in style.css and look for the following, maybe one of these will change:

id=obSHL

id=obHead

id=obR1 I think this is the one, but not sure.


HTH.

3
kymon
Re: HELP
  • 2005/7/10 2:05

  • kymon

  • Just popping in

  • Posts: 10

  • Since: 2005/7/9 2


/* CSS Document */
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
margin: 0px;
padding: 0px;
font-size: 11px;
background-color: #EAEAEA;
}
form {
margin: 0px;
padding: 0px;
font-size: 11px;
}
table {
width: 100%;
margin: 0px;
padding: 0px;
border: 0px;
}
td {
margin: 0px;
padding: 0px;
vertical-align: top;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
}
img {
border: 0px;
}
a {
color: #3F467C;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* layout */
#obCenter {
text-align: center;
padding-bottom: 20px;
}

#obLayout {
width: 760px;
margin: 0px auto;
padding: 0px;
text-align: left;
background-color: #FFFFFF;
}
#obNav {
border-top-width: 1px;
border-top-style: solid;
border-top-color: #666666;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #999999;
background-image: url(images/obNav.png);
}
#obNav a {
color: #000000;
text-decoration: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 10px;
letter-spacing: 2px;
text-align: center;
line-height: 19px;
height: 20px;
}
#obNav a:hover {
background-color: #EFEFEF;
color: #000000;
}

#obHead {
height: 175px;
background-color: #00234A;
}

#obR1 {
color: #000000;
text-align: right;
vertical-align: middle;
height: 5px;
background-image: url(images/r1.png);
}
.obBlock {
}
.obBlockC {
padding: 2px;
}
ul { margin: 2px; padding: 2px; list-style: decimal inside; text-align: left; }
li {
margin-left: 2px;
list-style: square inside;
color: #2F5376;
}

input.formButton {}
.item {
}
.itemHead {
color: #FFFFFF;
font-weight: bold;
text-transform: capitalize;
background-color: #093F7D;
padding-left: 5px;
padding-top: 0px;
padding-right: 5px;
padding-bottom: 0px;
background-image: url(images/mma.gif);
background-repeat: no-repeat;
background-position: right center;
line-height: 19px;
vertical-align: middle;
}
.itemInfo {
text-align: right;
padding: 3px;
background-color: #F4F4F4;
}
.itemTitle a {
font-weight: bold;
color: #FFFFFF;
}
.itemPoster {font-size: 90%; font-style:italic;}
.itemPostDate {font-size: 90%; font-style:italic;}
.itemStats {font-size: 90%; font-style:italic;}
.itemBody {
background-color: #FFFFFF;
margin-top: 5px;
}
.itemText {
line-height: 1.5em;
text-align: justify;
padding-right: 5px;
padding-left: 5px;
margin-top: 5px;
margin-bottom: 5px;
}
.itemText:first-letter { font-size: 133%; font-weight: bold; }
.itemFoot {
text-align: right;
padding: 3px;
background-color: #F4F4F4;
}
.itemAdminLink { font-size: 90%; }
.itemPermaLink { font-size: 90%; }

th {
background-color: #093F7D;
color: #FFFFFF;
vertical-align : middle;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
padding-right: 5px;
padding-left: 5px;
padding-top: 2px;
padding-bottom: 2px;
}

#headerbanner { width: 100%; background-color: #2F5376; vertical-align: middle; text-align:center; }
#headerbar { border-bottom: 1px solid #dddddd; background-image: url(hbar.gif); }
#leftcolumn {
padding: 12px 5px 5px;
background-color: #F9F9F9;
width: 155px;
background-image: url(images/ccsl.png);
background-repeat: repeat-x;
border-right-width: 1px;
border-right-style: solid;
border-right-color: #CCCCCC;
}
#rightcolumn {
padding: 12px 5px 5px;
background-image: url(images/ccs.png);
background-repeat: repeat-x;
width: 155px;
background-color: #F9F9F9;
border-left-width: 1px;
border-left-style: solid;
border-left-color: #CCCCCC;
}
#leftcolumn th { vertical-align: middle; }
#leftcolumn .blockTitle, #rightcolumn .blockTitle {
padding: 2px 2px 2px 5px;
font-weight: bold;
color: #FFFFFF;
background-color: #6096D4;
vertical-align: middle;
background-image: url(images/mml.gif);
background-repeat: no-repeat;
background-position: right center;
}
#leftcolumn .blockContent, #rightcolumn .blockContent {
line-height: 120%;
line-height: 120%;
padding-bottom: 5px;
padding-top: 2px;
}


#rightcolumn th { vertical-align: middle; }
#centercolumn {
padding: 12px 5px 5px;
background-image: url(images/ccs.png);
background-repeat: repeat-x;
}


#centercolumn th { vertical-align: middle; }
#centerCcolumn { padding: 0px; }
#centerCcolumn .blockTitle {
padding: 0px 3px;
color: #FFFFFF;
font-weight: bold;
margin-top: 0px;
margin-right: 0px;
margin-left: 0px;
background-image: url(images/mma.gif);
background-repeat: no-repeat;
background-position: right center;
background-color: #093F7D;
vertical-align: middle;
}
#centerCcolumn .blockContent {
padding: 3px;
line-height: 120%;
background-color: #FFFFFF;
margin: 0px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #093F7D;
}

#centerLcolumn, #centerRcolumn { width: 50%; padding: 0px 5px 0px 0px; }
#centerLcolumn .blockTitle, #centerRcolumn .blockTitle {
padding: 0px 3px;
font-weight: bold;
margin-top: 0px;
background-image: url(images/mma.gif);
background-repeat: no-repeat;
background-position: right center;
color: #FFFFFF;
background-color: #093F7D;
vertical-align: middle;
}
#centerLcolumn .blockContent, #centerRcolumn .blockContent {
padding: 3px;
line-height: 120%;
background-color: #FFFFFF;
margin: 0px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #093F7D;
}
#content { text-align: left; padding: 0px; }

#cmsFooter {
text-align:center;
padding: 5px;
font-size: 10px;
color: #464646;
}
#mainmenu a {
display: block;
margin: 0;
color: #000000;
font-weight: normal;
text-transform: lowercase;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #FFFFFF;
padding-top: 3px;
padding-right: 3px;
padding-bottom: 3px;
}
#mainmenu a:hover {
text-decoration: none;
background-color: #FFFFFF;
}
#mainmenu a.menuTop {
padding-left: 10px;
}
#mainmenu a.menuMain {
padding-left: 10px;
}
#mainmenu a.menuSub {
padding-left: 19px;
background-color: #F1F8F8;
}

#usermenu a {
display: block;
margin: 0;
padding: 4px;
font-size: 12px;
color: #000000;
}
#usermenu a:hover {}
#usermenu a.menuTop {}
#usermenu a.highlight {background-color: #fcc;}



.outer {
}
.head {background-color: #F2F2F2; padding: 5px; font-weight: bold;}
.even {
padding: 5px;
background-color: #F4F4F4;
}
.odd {padding: 5px;}
.foot {background-color: #F2F2F2; padding: 5px; font-weight: bold;}
tr.even td {
padding: 5px;
background-color: #F4F4F4;
}
tr.odd td {padding: 5px;}

div.errorMsg {
background-color: #FFCCCC;
text-align: center;
border-top: 1px solid #6096D4;
border-left: 1px solid #6096D4;
border-right: 1px solid #AAAAAA;
border-bottom: 1px solid #AAAAAA;
font-weight: bold;
padding: 10px;
color: #FFFFFF;
}
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 {font-weight: bold; margin-bottom: 2px;}
.comText {padding: 2px;}
.comUserStat {font-size: 10px; color: #2F5376; font-weight:bold; border: 1px solid silver; background-color: #ffffff; margin: 2px; padding: 2px;}
.comUserStatCaption {font-weight: normal;}
.comUserStatus {margin-left: 2px; margin-top: 10px; color: #2F5376; font-weight:bold; font-size: 10px;}
.comUserRank {margin: 2px;}
.comUserRankText {font-size: 10px;font-weight:bold;}
.comUserRankImg {border: 0;}
.comUserName {}
.comUserImg {margin: 2px;}
.comDate {font-weight: normal; font-style: italic; font-size: smaller}
.comDateCaption {font-weight: bold; font-style: normal;}
#obFooter {
font-size: 10px;
height: 30px;
text-align: center;
color: #FFFFFF;
background-image: url(images/footer.png);
}
#obBanner {
text-align: center;
padding: 5px;
}
/* shadows */
#obSHT {
background-image: url(images/sht.jpg);
height: 23px;
}
#obSHL {
background-image: url(images/shl.jpg);
width: 17px;
}
#obSHR {
background-image: url(images/shr.jpg);
width: 17px;
}
#obSHB {
background-image: url(images/shb.jpg);
height: 23px;
}
#obSHLTC {
height: 23px;
width: 37px;
background-image: url(images/shltc.jpg);
}
#obSHRTC {
background-image: url(images/shrtc.jpg);
height: 23px;
width: 37px;
}
#obSHLT {
background-image: url(images/shlt.jpg);
height: 19px;
width: 17px;
}
#obSHRT {
background-image: url(images/shrt.jpg);
height: 19px;
width: 17px;
}
#obLBC {
background-image: url(images/shlbc.jpg);
height: 23px;
width: 17px;
}
#obRBC {
background-image: url(images/shrbc.jpg);
height: 23px;
width: 17px;
}
/* end shadows */
select {
font-size: 11px;
}
input {
font-size: 11px;
}
button {
font-size: 11px;
}
.obSpacer {
width: 140px;
height: 1px;
}
/* download item */
.obItemHeadL {
background-image: url(images/item_head_l.gif);
background-repeat: no-repeat;
height: 20px;
width: 4px;
}
.obItemHeadR {
background-image: url(images/item_head_r.gif);
background-repeat: no-repeat;
height: 20px;
width: 4px;
}
.greenLarge {
color: #000066;
font-weight: bold;
}
.obNavWidth {
padding-right: 10px;
padding-left: 10px;
text-align: right;
}
.obUtility {
line-height: 130%;
text-align: center;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;
}
#obLog {
text-align: right;
padding: 10px;
font-size: 10px;
color: #FFFFFF;
}
#obLog a {
color: #FFFFFF;
font-weight: bold;
}
.obUname {
font-size: 18px;
color: #005BC1;
font-weight: bold;

}



obR1 solution didnt work:(

4
jdseymour
Re: HELP

See this Faq Page. Grab this extension for Firefox, it will help you track down the proper way to edit.

5
JMorris
Re: HELP
  • 2005/7/10 2:14

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


First, I'd try moving that scrip inside a "tr". It doesn't appear to create one. Also, if you want the pictures to be flush against the top of the page, delete the following code from the themes "theme.html" file. Make sure you...
a) make a backup
b) clear your templates_c folder after making your edits

<td align="center" rowspan="5" id="obSHL"><img
        src
="<{$xoops_imageurl}>images/1px.gif"
        
width="17" height="1" /></td>
        <
td align="center" id="obR1">&nbsp;</td>
        <
td align="center" rowspan="5" id="obSHR"><img
        src
="<{$xoops_imageurl}>images/1px.gif"
        
width="17" height="1" /></td>
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

6
kymon
Re: HELP
  • 2005/7/10 18:48

  • kymon

  • Just popping in

  • Posts: 10

  • Since: 2005/7/9 2


can u speak easier?:P

First, I'd try moving that scrip inside a "tr".

can u just make a code and i will paste it?

7
JMorris
Re: HELP
  • 2005/7/10 23:04

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


First of all, you don't have an opening body tag. Replace
<script type="text/javascript" src="http://www.starzaki.eu.org/~cyberdivx/serw/include/xoops.js"></script><script type="text/javascript"><!--
//-->
</script><div
align
="center">

with
<script type="text/javascript" src="http://www.starzaki.eu.org/~cyberdivx/serw/include/xoops.js"></script><script type="text/javascript"><!--
//-->
</script><body><div
align
="center">


If that doesn't work, try moving the javascript inside the table, replacing the very top images. Replace
<tr>
        <
td align="center" rowspan="5" id="obSHL"><img
        src
="http://www.starzaki.eu.org/~cyberdivx/serw/themes/obscene_v3_3c/images/1px.gif"
        
width="17" height="1" /></td>
        <
td align="center" id="obR1">&nbsp;</td>
        <
td align="center" rowspan="5" id="obSHR"><img
        src
="http://www.starzaki.eu.org/~cyberdivx/serw/themes/obscene_v3_3c/images/1px.gif"
        
width="17" height="1" /></td>
    </
tr>

    <
script language="javascript" type="text/javascript">
       var 
num Math.floor(Math.random()*4)

       switch (
num)
       {
          case 
0:
          
document.write ('      <td id="obHead" height="175" background="http://ditmar.supremeserver21.com/images/ironforgeg.jpg">');
          break;

          case 
1:
          
document.write ('      <td id="obHead" height="175" background="http://ditmar.supremeserver21.com/images/orcshumansg.jpg">');
          break;

          case 
3:
          
document.write ('      <td id="obHead" height="175" background="http://ditmar.supremeserver21.com/images/nightelvesg.jpg">');
          break;

          default:
          
document.write ('      <td id="obHead" height="175" background="http://ditmar.supremeserver21.com/images/stormwindg.jpg">');
          break;
       }    
    </
script>

with
<tr>
        <
td><script language="javascript" type="text/javascript">
       var 
num Math.floor(Math.random()*4)

       switch (
num)
       {
          case 
0:
          
document.write ('      <td id="obHead" height="175" background="http://ditmar.supremeserver21.com/images/ironforgeg.jpg">');
          break;

          case 
1:
          
document.write ('      <td id="obHead" height="175" background="http://ditmar.supremeserver21.com/images/orcshumansg.jpg">');
          break;

          case 
3:
          
document.write ('      <td id="obHead" height="175" background="http://ditmar.supremeserver21.com/images/nightelvesg.jpg">');
          break;

          default:
          
document.write ('      <td id="obHead" height="175" background="http://ditmar.supremeserver21.com/images/stormwindg.jpg">');
          break;
       }    
    </
script></td>
    </
tr>


Hope this is clear enough.
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

Login

Who's Online

178 user(s) are online (82 user(s) are browsing Support Forums)


Members: 0


Guests: 178


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits