Impressum · Kontakt · Hilfe
Besucher online · Mitglieder



Antwort
 
Themen-Optionen
Alt 02.03.2006, 15:54   Nach oben    #1
DasMööp
Erfahrener Benutzer
 
Registriert seit: 14.12.2004
Beiträge: 212
Standard Unterschiedlich Darstellung Link

Hallo,

ich habe folgende css Datei ... (bislang)

HTML-Code:
/* BRIRA - WEB - CSS2 */

/* Wichtige Farben
Dunkelgrün = #007A00
Grün       = #009400
Marineblau = #000099
Rot        = #CC0000
Grau       = #DCDCDC
quote      = #ADADAD
*/

/* Alle Innen und Aussenabstände auf null setzen */
HTML, BODY, DIV, P, H1, H2, H3, UL, OL, SPAN,  A, TABLE, TD, FORM, IMG, LI {
    margin: 0;
    padding: 0;
    font-family_ Verdana, Geneva, Arial, Helvetica, sans-serif;
    }

HTML, BODY {
    background-image: url(http://www.briras-3d-factory.click4y.de/BriraWebTest/bg1.gif);
    background-repeat:repeat-x;
    }

P  { font-family:Verdana; font-size:12px; text-align:justify; font-weight:bold; color:#000000; style=display:inline;}
TR { font-family:Verdana; font-size:12px; text-align:justify; color:#000000; style=display:inline;}
TD { font-family:Verdana; font-size:12px; text-align:justify; color:#000000; style=display:inline;}


#ConMain {
    border: 0px solid #eee;

    margin:0px auto;
    height:auto;
    width:800px;
    
    margin-top:10px;
    }
    
#ConNav, #ConNav2{
    padding-top:30px;
    border: 0px solid #eee;
    width:90%;
    }
    
#ConNav2 {
    padding-left:30px;
    }
    
#ConLeft, #ConRight {
    border: 0px solid #eee;
    
    background-repeat:no-repeat;
    
    padding-top:120px;

    width:19%;
    line-height:18px;
    }

#ConLeft {
    float:left;
    
    min-height:400px;
    height:530px;
    background-image: url(http://www.briras-3d-factory.click4y.de/BriraWebTest/Bilder/NORM_02.gif);

    }
    
#ConRight {
    float:right;
    position:absolute;
    top:10px;

    background-image: url(http://www.briras-3d-factory.click4y.de/BriraWebTest/Bilder/NORM_04.gif);
    
    min-height:300px;
    height:530px;

    }
    
#ConBodyTop {
    border: 0px solid #eee;
    
    background-image: url(http://www.briras-3d-factory.click4y.de/BriraWebTest/Bilder/NORM_03.gif);
    background-repeat:no-repeat;

    min-height:300px;
    height:150px;

    float:left;
    width:60%;
    
    }
    
#ConBody {
    border: 0px solid #eee;

    min-height:300px;
    height:431px;

    margin-left:15px;
    margin-bottom:10px;

    float:left;
    width:57%;

    }
    
#ConBodyBot {
    border: 0px solid #eee;

    background-image: url(http://www.briras-3d-factory.click4y.de/BriraWebTest/Bilder/NORM_07.gif);
    background-repeat:no-repeat;

    min-height:60px;
    height:60px;

    float:left;
    width:60%;

    }
    
#ConBodyDet1, #ConBodyDet2 {
    border: 0px solid #eee;

    min-height:20px;
    height:20px;

    float:left;
    width:45%;
    
    text-align:right;
    }
    
#ConBodyDet2 {
    float:right;
    text-align:left;
    }
    
#ConBodyDet3 {
    border: 0px solid #eee;

    min-height:60px;
    height:60px;
    
    max-width:250px;
    width:250px;

    float:right;
    width:82%;
    
    margin-top: 20px;
    padding-left: 40px;
    padding-right: 40px;

    text-align:justify;
    }
    
/* Link - Intern - Default */
a:link {
    color:#000000;
    text-decoration:none;
    }
a:visited {
    color:#000000;
    text-decoration:none;
    }
a:hover {
    font-weight: none;
    text-decoration:none;
    }
a:activ {
    color:#000000;
  }

/* Link - Intern - Default */
a.navi2:link {
    font-family:Verdana; 
	font-size:10px;
    color:#000000;
    text-decoration:none;
    }
a.navi2:visited {
    color:#000000;
    text-decoration:none;
    }
a.navi2:hover {
    text-decoration:none;
    color:#000000;
    }
a.navi2:activ {
    color:#000000;
    }
und jetzt schau ich mir unter dem IE mal eben die Seite hier an und die
Links unter den Bildern ... (gleiche Datei)

http://www.briras-3d-factory.click4y...ner1&file=Laub

und einmal

http://www.briras-3d-factory.click4y...&file=Aeronaut

Ganz zu schweigen davon wie das im FFF oder Opra aussieht ...

Äh warum ... !? Sollte doch gleich sein ?

Hier die Datei dazu ...

PHP-Code:
<?php

#header("Content-type: image/jpeg");
#$picS = $bilder->tumbnail('brira'.$_GET['dir'].'/'.$_GET['file'].'_S.JPG');

?>

<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<HTML>
<HEAD>
       <title>Brira 3-D Pictures</title>
       <link rel="STYLESHEET" href="style.css" type="text/css">
</HEAD>
<BODY>

<DIV ID="ConMain">

    <DIV ID="ConLeft">

         <DIV ID="ConNav">

<? include('naviMain.php5'); ?>

         </DIV>
     </DIV>

     <DIV ID="ConBodyTop">
     </DIV>

     <DIV ID="ConBody">

<? 
if (!empty($_GET['file'])) { 
    $href_pic = './brira'.$_GET['dir'].'/'.$_GET['file'];
  
  ?>

    <DIV ID="ConBodyDet1">
        <A HREF="<? echo './brira'.$_GET['dir'].'/'.$_GET['file'].'_S.JPG'; ?>" TARGET="_blank" ><IMG SRC="image.php5?<? echo 'dir='.$_GET['dir'].'&file='.$_GET['file'].'_S.JPG'; ?>" BORDER="0"></A>
    </DIV>

    <DIV ID="ConBodyDet2">
        <A HREF="<? echo './brira'.$_GET['dir'].'/'.$_GET['file'].'_V.JPG'; ?>" TARGET="_blank" ><IMG SRC="image.php5?<? echo 'dir='.$_GET['dir'].'&file='.$_GET['file'].'_V.JPG'; ?>" BORDER="0"></A>
    </DIV>

    <DIV ID="ConBodyDet1">
<? 
$size = filesize('./brira'.$_GET['dir'].'/'.$_GET['file'].'_S.JPG'); 
$sizelen = strlen($size) -3;
echo '<A CLASS="navi2" HREF="'.$href_pic.'_S.JPG" TARGET="_blank" >Bild vergrössern('. substr($size,0,$sizelen) .'kByte)</A>';
?>
    </DIV>

    <DIV ID="ConBodyDet2">
<? 
$size = filesize('./brira'.$_GET['dir'].'/'.$_GET['file'].'_V.JPG'); 
$sizelen = strlen($size) -3;
echo '<A CLASS="navi2" HREF="'.$href_pic.'_V.JPG" TARGET="_blank" >Bild vergrössern('. substr($size,0,$sizelen) .'kByte)</A>';
?>
    </DIV>

    <DIV ID="ConBodyDet3">
<?

if (file_exists('./brira'.$_GET['dir'].'/'.$_GET['file'].'.txt'))
    $text = readfile('./brira'.$_GET['dir'].'/'.$_GET['file'].'.txt','r');

?>
    </DIV>

<? } ?>

</DIV>

<DIV ID="ConBodyBot">
</DIV>

<DIV ID="ConRight">
<DIV ID="ConNav2">
<? echo $ContentOrdner; ?>
</DIV>
</DIV>

</DIV>


</BODY>
</HTML>
__________________
Das Leben ist zwar bloß ein Adventure-Game, aber die Grafik ist verdammt gut.
Ich such immer noch den Cheat für unlimited money!

Geändert von DasMööp (02.03.2006 um 15:59 Uhr).
DasMööp ist offline  
Add Post to del.icio.usBookmark Post in TechnoratiDiesen Beitrag zu Mister Wong hinzufügen!
Mit Zitat antworten
Alt 02.03.2006, 16:00   Nach oben    #2
Chr!s
Erfahrener Benutzer
 
Benutzerbild von Chr!s
 
Registriert seit: 04.09.2005
Ort: Nürnberg
Beiträge: 561
Standard

erstmal - schreib nicht DIV, sondern div..
Außerdem gesehen:
Zitat:
font-family_ Verdana, Geneva, Arial, Helvetica, sans-serif;
Da gehört ein Doppelpunkt und kein Unterstrich hin
__________________
http://www.ChrisDiary.De
Chr!s ist offline  
Add Post to del.icio.usBookmark Post in TechnoratiDiesen Beitrag zu Mister Wong hinzufügen!
Mit Zitat antworten
Alt 02.03.2006, 16:07   Nach oben    #3
DasMööp
Erfahrener Benutzer
 
Registriert seit: 14.12.2004
Beiträge: 212
Standard

Gut ... den _ hab ich ersetzt .... die DIV ind div geändert ... aber leider
ändert sich nichts ...hmm...

--- edit ---

Hab da was missverstanden ...

HTML-Code:
/* Link - Intern - Default */
a.navi2:link {
    font-family:Verdana; 
    font-size:10px;
    color:#000000;
    text-decoration:none;
    }
a.navi2:visited {
    font-family:Verdana; 
    font-size:10px;
    color:#000000;
    text-decoration:none;
    }
a.navi2:hover {
    font-family:Verdana; 
    font-size:10px;
    text-decoration:none;
    color:#000000;
    }
a.navi2:activ {
    font-family:Verdana; 
    font-size:10px;
    color:#000000;
    }
Jetzt aber ... (brauch unbedingt mal Urlaub)
__________________
Das Leben ist zwar bloß ein Adventure-Game, aber die Grafik ist verdammt gut.
Ich such immer noch den Cheat für unlimited money!

Geändert von DasMööp (02.03.2006 um 16:09 Uhr).
DasMööp ist offline  
Add Post to del.icio.usBookmark Post in TechnoratiDiesen Beitrag zu Mister Wong hinzufügen!
Mit Zitat antworten
Alt 02.03.2006, 16:15   Nach oben    #4
Ben
Erfahrener Benutzer
 
Benutzerbild von Ben
 
Registriert seit: 02.12.2004
Ort: Remagen
Beiträge: 4.800
Standard

Code:
a.navi2:activ
sollte eher das hier sein
Code:
a.navi2:active
Ben ist offline  
Add Post to del.icio.usBookmark Post in TechnoratiDiesen Beitrag zu Mister Wong hinzufügen!
Mit Zitat antworten
Antwort

Lesezeichen


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 
Themen-Optionen

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist An.
Smileys sind An.
[IMG] Code ist An.
HTML-Code ist Aus.
Trackbacks are An
Pingbacks are An
Refbacks are Aus

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Link Aktiv bei Aktivierung Tryzero HTML, XML und CSS 4 17.09.2006 15:39
Java Script Hilfe!!! (Platzierung eines Link) Gamesagent JavaScript und AJAX 3 08.01.2006 04:54
Problem bei der Darstellung von JButtons Stefan1984 Allgemeine Java-Programmierung 2 14.08.2005 14:06
Darstellung Fehlerhaft nove Desktop-Applikationen und Grafik 0 15.03.2005 08:28


Alle Zeitangaben in WEZ +2. Es ist jetzt 04:40 Uhr.

Nach oben
Wir nutzen das Zend Framework, vBulletin (vBulletin v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0) und vBSEO.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44