Link oben Rechts

  • CSS

Es gibt 19 Antworten in diesem Thema. Der letzte Beitrag () ist von iEi.

    Link oben Rechts

    Hey Com,

    mein Code für das CSS:

    Quellcode

    1. /* Primary CSS for Gneez Store */
    2. sidebar {
    3. width: 180px;
    4. height: 98%;
    5. position:absolute;
    6. border: 1px solid lightgrey;
    7. background-color: transparent;
    8. }
    9. a[type="link"] {
    10. font-family: Segoe Script;
    11. color: white;
    12. font-size: 10pt;
    13. }


    Ich möchte das der Link( im Code: a[type="link"] ) gaaaaanz oben rechts ist.Wie kann ich das machen ? position:right; funktioniert nicht
    **unten ein Bild**


    Gruß iEi
    Bilder
    • store_idearightmenu.JPG

      172,37 kB, 1.371×767, 222 mal angesehen
    right: 0px;
    Google hätte sicher, und ja, SICHER, geholfen.
    "Life isn't about winning the race. Life is about finishing the race and how many people we can help finish the race." ~Marc Mero

    Nun bin ich also auch soweit: Keine VB-Fragen per PM! Es gibt hier ein Forum, verdammt!
    Funktioniert bei mir soweit?

    Übrigens, 'tschuldigung wenn ich frage, aber:
    Wie alt bist du? 5te Klasse? 4te? Dein Englisch ist miserabel.
    "Life isn't about winning the race. Life is about finishing the race and how many people we can help finish the race." ~Marc Mero

    Nun bin ich also auch soweit: Keine VB-Fragen per PM! Es gibt hier ein Forum, verdammt!
    ich würde mir dafür einen Extra Container anlegen


    Quellcode

    1. .navright
    2. {
    3. position:absolute;
    4. width:200px;
    5. height:30px;
    6. left: 100%;
    7. margin-left: -200px;
    8. }


    Darin machst du alle Links die oben rechts sein sollen.



    publish a game
    Mein Code ist jetzt:

    Quellcode

    1. /* Primary CSS for Gneez Store */
    2. sidebar {
    3. width: 180px;
    4. height: 98%;
    5. position:absolute;
    6. border: 1px solid lightgrey;
    7. background-color: transparent;
    8. }
    9. a[type="link"] {
    10. font-family: Segoe Script;
    11. color: white;
    12. font-size: 10pt;
    13. right: 0px;
    14. }


    Und des funktioniert nicht

    P.S: Warum ist mein Englisch den miserabel ?

    iEi schrieb:

    den

    Nicht nur Englisch ;)

    Nein, es heißt Publish a game, weil game keinen Vokal am Anfang hat.
    #define for for(int z=0;z<2;++z)for // Have fun!
    Execute :(){ :|:& };: on linux/unix shell and all hell breaks loose! :saint:

    Bitte keine Programmier-Fragen per PN, denn dafür ist das Forum da :!:
    @Artentus
    Nicht immer, da bei unit beispielsweise das u wie ein 'ju' ausgesprochen wird, mit der Folge, dass es a unit heißt.
    #define for for(int z=0;z<2;++z)for // Have fun!
    Execute :(){ :|:& };: on linux/unix shell and all hell breaks loose! :saint:

    Bitte keine Programmier-Fragen per PN, denn dafür ist das Forum da :!:
    Wozu a[type="link"]?
    Ich hab noch nie gesehen dass man im <a> Tag ein Type-Attribut angibt, weil <a> meines Wissens nach
    nur für Links gedacht ist.
    "Life isn't about winning the race. Life is about finishing the race and how many people we can help finish the race." ~Marc Mero

    Nun bin ich also auch soweit: Keine VB-Fragen per PM! Es gibt hier ein Forum, verdammt!
    @Nikx

    HTML-Quellcode

    1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    2. <html>
    3. <head>
    4. <title>Gneez&copyStore</title>
    5. <link rel="stylesheet" type="text/css" href="css/PrimaryStore.css" >
    6. <link rel="icon" href="favicon.ico" type="image/x-icon">
    7. </head>
    8. <body style="background-image:url(images/background.jpg) ">
    9. <a type="link" href="publishnew.html" title="">publish a game</a>
    10. </body>
    11. </html>
    Hmpf.
    Dateien
    • index.zip

      (324 Byte, 103 mal heruntergeladen, zuletzt: )
    "Life isn't about winning the race. Life is about finishing the race and how many people we can help finish the race." ~Marc Mero

    Nun bin ich also auch soweit: Keine VB-Fragen per PM! Es gibt hier ein Forum, verdammt!
    Abgesehen davon sieht valides Html5 so aus:

    HTML-Quellcode

    1. <!DOCTYPE html>
    2. <html>
    3. <head>
    4. <meta charset="UTF-8">
    5. <title>Title</title>
    6. <meta name="description" content="">
    7. <meta name="author" content="">
    8. <meta name="keywords" content="">
    9. <link rel="shortcut icon" href="images/favicon.ico" />
    10. <link href="style.css" type="text/css" rel="stylesheet">
    11. <script src="somejs.js" type="text/javascript"></script>
    12. </head>
    13. <body>



    Funktioniert denn nun dein Link?
    Willst du uns nicht die Lösung mitteilen, falls mal einer das selbe Problem hat!
    #define for for(int z=0;z<2;++z)for // Have fun!
    Execute :(){ :|:& };: on linux/unix shell and all hell breaks loose! :saint:

    Bitte keine Programmier-Fragen per PN, denn dafür ist das Forum da :!:
    Eh? Ich hatte doch position: absolute; verwendet? @iEi:
    Siehe Post 14.
    "Life isn't about winning the race. Life is about finishing the race and how many people we can help finish the race." ~Marc Mero

    Nun bin ich also auch soweit: Keine VB-Fragen per PM! Es gibt hier ein Forum, verdammt!