Author Topic: Das banale CSS-Problem  (Read 67485 times)

0 Members and 1 Guest are viewing this topic.

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: Möglicher Fehler in 4Images!!
« Reply #15 on: June 28, 2006, 03:51:51 PM »
na was ist den der sinn von CSS?
mal hat man ne formatierung xyz und mal eine 123, je nachdem, welche man braucht, spricht man an
und wenn mal eine nicht gesetzt ist, ist das doch sche... egal!

Offline Fireball22

  • Full Member
  • ***
  • Posts: 187
    • View Profile
Re: Möglicher Fehler in 4Images!!
« Reply #16 on: June 28, 2006, 03:54:29 PM »
GutGut, das habe ich jetzt auchmal gemacht, aber es hat sich überhaupt nichts verändert, es ist alles gleichgeblieben!!
An was könnte das liegen?
Habe es aber vorchen schon wieder gegen das alte Template überschrieben, soll ich es wieder ändern oder hast du schon ne Ahnung waurm das nicht geht?!

Fireball22

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: Möglicher Fehler in 4Images!!
« Reply #17 on: June 28, 2006, 04:31:34 PM »
müsstest du mal die alte und ie neue vote.php und deine style.css in einen ordner packen und mal ins forum stellen, dann guck ich mal

Offline Fireball22

  • Full Member
  • ***
  • Posts: 187
    • View Profile
Re: Möglicher Fehler in 4Images!!
« Reply #18 on: June 29, 2006, 05:01:02 PM »
So, hier ist mal die style.css:

Code: [Select]
div.fourimages body {
  background-color: #E4A052;
  color: #000000;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  /* this attribute sets the basis for all the other scrollbar colors (Internet Explorer 5.5+ only) */
scrollbar-arrow-color: #704E28;
scrollbar-base-color: #ffbb5c;
scrollbar-darkshadow-color: #704E28;
scrollbar-shadow-color: #704E28;
}

.center{
text-align:center;
font-family: Arial,Helvetica,Geneva,Swiss,SunSans-Regular;
}

.question{
color: #000000;
font-family: Arial,Helvetica,Geneva,Swiss,SunSans-Regular;
font-size: 12px;
font-weight:bold;
}

.options{
color: #000000;
font-family: Arial,Helvetica,Geneva,Swiss,SunSans-Regular;
font-size: 12px;
}

div.fourimages hr {
  height: 1px;
  color: #004c75;
  background-color: #ffffff;
}

div.fourimages ul,
div.fourimages li,
div.fourimages p,
div.fourimages td {
  color: #000000;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
}

div.fourimages .tablehead {
  background-image: url(http://www.michis-homepage.net/extras/4images/templates/default/images/header_search.gif);
  color: #004c75;
}

div.fourimages .tablebottom {
  background-image: url(http://www.michis-homepage.net/extras/4images/templates/default/images/footer.gif);
}

div.fourimages .bordercolor {
  background-color: #c40000;
}

div.fourimages .tablebgcolor {
  background-color: #ffffff;
}

div.fourimages .navbar {
  background-color: #B13C19;
  color: #000000;
}

div.fourimages .row1 {
  background-color: #e1e1e1;
  color: #000000;
}

div.fourimages .row2 {
  background-color: #efefef;
  color: #000000;
}

div.fourimages .head1 {
  background-color: #B13C19;
  color: #000000;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
}

div.fourimages .head1:hover {
  background-color: #B13C19;
  color: #000000;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
}

div.fourimages .head2 {
  background-color: #B13C19;
  color: #000000;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
}

div.fourimages .title {
  font-family: Arial,Helvetica,sans-serif;
  font-size: 16px;
  font-weight: bold;
}

div.fourimages .clickstream {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  font-size: 11px;
}

div.fourimages .smalltext {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  font-size: 10px;
  font-weight: normal;
}

div.fourimages .marktext {
  color: #FF0000;
  background-color: #ffffff;
}

div.fourimages .new {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  font-size: 11px;
  color: #FF0000;
}

div.fourimages a:hover {
  color: #000000;
}

div.fourimages form {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  font-size: 11px;
}

div.fourimages .logininput {
  background-color: #ffffff;
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  color: #000000;
  font-size: 11px;
  width: 130px;
}

div.fourimages .searchinput {
  background-color: #FFFFFF;
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  color: #000000;
  font-size: 11px;
  WIDTH: 130px;
}

div.fourimages .textarea {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  color: #000000;
  font-size: 11px;
  width: 230px;
}

div.fourimages .input {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  color: #000000;
  font-size: 11px;
  width: 230px;
}

div.fourimages .select {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  color: #000000;
  font-size: 11px;
}

div.fourimages .setperpageselect {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  color: #000000;
  font-size: 11px;
}

div.fourimages .categoryselect {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  color: #000000;
  font-size: 11px;
}

div.fourimages .dropdownmarker {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  background-color: #EEEEEE;
  color: #000000;
  font-size: 11px;
}

div.fourimages .button {
  font-family:  Tahoma,Verdana,Arial, Helvetica, sans-serif;
  background-color: #B13C19;
  color: #000000;
  font-size: 11px;
  font-weight: bold;
}

/*--Categories------------------------------------------------*/
div.fourimages .catbgcolor {
  background-color: #EFEFEF;
}

div.fourimages .maincat {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  font-size: 11px;
  font-weight: bold;
}

div.fourimages .subcat {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  font-size: 10px;
  font-weight: bold;
}

/*--Images----------------------------------------------------*/
div.fourimages .imagerow1 {
  background-color: #E5E5E5;
  color: #000000;
}

div.fourimages .imagerow2 {
  background-color: #EFEFEF;
  color: #000000;
}

/*--Comments--------------------------------------------------*/
div.fourimages .commentrow1 {
  background-color: #e1e1e1;
  color: #000000;
}

div.fourimages .commentrow2 {
  background-color: #efefef;
  color: #000000;
}

div.fourimages .commentspacerrow {
  background-color: #d1d1d1;
  color: #000000;
}

div.fourimages .commenttextarea {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  color: #000000;
  font-size: 11px;
  width: 270px;
}

div.fourimages .commentinput {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  color: #000000;
  font-size: 11px;
  width: 270px;
}

Und hier habe ich die Templates des Votes:

Code: [Select]
<div class="center">
<script type="text/css">
table.transparent{
                    position:relative;
                    opacity: 0.5;
                    -moz-opacity:0.5;
                    -khtml-opacity:0.5;
                    filter:alpha(opacity=50);
                    background:white;
                }
</script>
<table class="transparent" width="$pollvars[table_width]" border="0" cellspacing="0" cellpadding="1">
  <tr align="center">
    <td><style type="text/css">
       <!--
        .input { font-family: $pollvars[font_face]; font-size: 8pt}
        .links { font-family: $pollvars[font_face]; font-size: 7.5pt; color: $pollvars[font_color]}
       -->
      </style><font face="$pollvars[font_face]" size="-1" color="#FFFFFF"><b>$pollvars[title]</b></font></td>
  </tr>
  <tr align="center">
    <td>
      <table class="transparent" width="100%" border="0" cellspacing="0" cellpadding="2" align="center">
        <tr>
<div class="question">
          <td height="40" valign="middle"><font face="$pollvars[font_face]" color="$pollvars[font_color]" size="1"><b>$question</b></font></td>
</div>       
</tr>
        <tr align="right" valign="top">
          <td>
            <form method="post" action="$this->form_forward">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
              <tr valign="top" align="center">
                <td>
                  <table width="100%" border="0" cellspacing="0" cellpadding="1" align="center">







<div class="options">
<tr>
    <td width="15%"><input type="radio" name="option_id" value="$key"></td>
    <td width="85%"><font face="$pollvars[font_face]" size="1" color="$pollvars[font_color]">$key</font></td>
</tr>
</div>








 </table>
                    <input type="hidden" name="action" value="vote">
                    <input type="hidden" name="poll_ident" value="$poll_id">
                    <input type="submit" value="$pollvars[vote_button]" class="input">
                    <br>
                    <br>
                    <font face="$pollvars[font_face]" color="$pollvars[font_color]" size="1"><a href="$this->form_forward?action=results&amp;poll_ident=$poll_id">$pollvars[result_text]</a>
                    </font>
                   </td>
                </tr>
              </table>
            </form>
            <font face="$pollvars[font_face]" size="1"></font>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</div>

Aber was ist da falsch dran?

Fireball22

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: Möglicher Fehler in 4Images!!
« Reply #19 on: July 01, 2006, 11:28:11 AM »
so wies aussieht ist in der vote noch eine funktions.php oder eine detail.php oder eine config oder sowas

denn:
                   
Code: [Select]
<font face="$pollvars[font_face]" color="$pollvars[font_color]" size="1"><a href="$this->form_forward?action=results&amp;poll_ident=$poll_id">$pollvars[result_text]</a>
das beispiel weist eigentlich darauf hin, kann das sein??

Offline Fireball22

  • Full Member
  • ***
  • Posts: 187
    • View Profile
Re: Möglicher Fehler in 4Images!!
« Reply #20 on: July 01, 2006, 11:37:46 AM »
Das ist eigentlich nur der "Ergebnis"-Link, aber das ganze Funktioniert ja nichtmal in der normalen Vote-Anzeige.

Fireball22

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: Möglicher Fehler in 4Images!!
« Reply #21 on: July 01, 2006, 01:11:32 PM »
pack doch mal den gesamten vote-ordner zusmmen und stell mal den zip-file hier ein

Offline Fireball22

  • Full Member
  • ***
  • Posts: 187
    • View Profile
Re: Möglicher Fehler in 4Images!!
« Reply #22 on: July 01, 2006, 01:16:48 PM »
Kein Problem, hier könnt ihr die ZIP-File runterziehen:

http://www.michis-homepage.net/extras/4images/details.php?image_id=130

Fireball22 :D

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Möglicher Fehler in 4Images!!
« Reply #23 on: July 01, 2006, 02:38:20 PM »
@ Fireball22

... du solltest mal die Überschrift zu deinem Thema ändern ...  :!:
... denn es ist schon erstaunlich, dass banale css-Formatierungen und deine Probleme damit unter solch einer Überschrift diskutiert werden ...
... nichts gegen deine Anfragen ...  :wink: ... nur nicht unter dieser Überschrift ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Fireball22

  • Full Member
  • ***
  • Posts: 187
    • View Profile
Re: Das banale CSS-Problem
« Reply #24 on: July 01, 2006, 06:36:50 PM »
Kein Problem, habe den Titel geändert!

Fireball22

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: Das banale CSS-Problem
« Reply #25 on: July 01, 2006, 07:33:37 PM »
siehst du: im vote/include/config.inc.php sind die dinge versteckt:
$pollvars['table_width'] = "120";
$pollvars['img_height'] = "12";
$pollvars['img_length'] = "21";
$pollvars['bgcolor_tab'] = "#78D2FF";
$pollvars['bgcolor_fr'] = "#78D2FF";
$pollvars['font_color'] = "#000000";
$pollvars['font_face'] = "Verdana, Arial, Helvetica, sans-serif"

und schau dir mal die /include/class_poll.php  UND /include/class_pgfx.php

ich hoffe du verstehst!!!


EDIT: ...und hier gibts noch 156, eines wirst du sicher begreifen!
http://www.hotscripts.com/PHP/Scripts_and_Programs/Polls_and_Voting/index.html

im anhang was, was gensuso geht und nicht halb so kompliziert für dich ist