WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Programmierung

Programmierung Rat & Tat für Programmierer

Microsoft KARRIERECAMPUS

Antwort
 
Themen-Optionen Ansicht
Alt 02.10.2003, 22:23   #1
jak
Inventar
 
Registriert seit: 13.06.2001
Beiträge: 1.830


Standard html/css Formatierung ohne Zeilenumbruch

1.) Gibt es in html eine alternative zu <div> die keinen Zeilenumbruch erzeugt? Oder kann man das per css abstellen?

2.) Kann man für den <a>-Tag mit einem Stylesheet verschiedene Formatierungen erzeugen (z.B. <a style="stil1">, <a style="stil2">,... wobei stil1, stil2 in einer css Datei stehen).

Danke im Vorraus
Jak
____________________________________
Join the DNRC | Godwin\'s Law (thx@stona)
Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing.
\"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra)
jak ist offline   Mit Zitat antworten
Alt 03.10.2003, 00:53   #2
_m3
Inventar
 
Registriert seit: 24.09.2001
Beiträge: 7.335


Standard

1) Ja
2) Ja
____________________________________
Weiterhin zu finden auf http://martin.leyrer.priv.at , http://twitter.com/leyrer , http://www.debattierclub.net/ , http://www.tratschen.at/ und via Instant Messaging auf Jabber: m3 <ät> cargal.org .
_m3 ist offline   Mit Zitat antworten
Alt 03.10.2003, 11:17   #3
käptn
Inventar
 
Registriert seit: 04.11.2001
Alter: 45
Beiträge: 2.150


Standard

#~>_m3 --verbose

1.)
<pre> OR white-space: pre; OR white-space: nowrap;

2.)
<a class="myClass" /> OR <a id="myID" />
--
a.myClass {}
a#myID {}


http://www.w3.org/TR/CSS2/

~
____________________________________
LOL - Mein erstes Post im Programmier Forum

MACINTOSH - Most Applications Crash, If Not The Operating System Hangs
käptn ist offline   Mit Zitat antworten
Alt 03.10.2003, 13:55   #4
_m3
Inventar
 
Registriert seit: 24.09.2001
Beiträge: 7.335


Standard

____________________________________
Weiterhin zu finden auf http://martin.leyrer.priv.at , http://twitter.com/leyrer , http://www.debattierclub.net/ , http://www.tratschen.at/ und via Instant Messaging auf Jabber: m3 <ät> cargal.org .
_m3 ist offline   Mit Zitat antworten
Alt 03.10.2003, 15:22   #5
jak
Inventar
 
Registriert seit: 13.06.2001
Beiträge: 1.830


Standard

@m3: Das habe ich mir fast gedacht.

@käptn
1.)
<pre> funktioniert nicht wie gewollt. Ich möchte etwas in der Art
Code:
<html>
<head>
<title>Text des Titels</title>
</head>
<body>
Ha<pre>llo</pre>
</body></html>
Hallo soll in einer Zeile stehen.

2.)
Danke sehr! mit <a class="myclass"> habe ichs schon mal probiert, da habe ich es allerdings im stylesheet falsch notiert.
____________________________________
Join the DNRC | Godwin\'s Law (thx@stona)
Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing.
\"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra)
jak ist offline   Mit Zitat antworten
Alt 03.10.2003, 16:24   #6
käptn
Inventar
 
Registriert seit: 04.11.2001
Alter: 45
Beiträge: 2.150


Standard

Du suchst wahrscheinlich nach <span />

~
____________________________________
LOL - Mein erstes Post im Programmier Forum

MACINTOSH - Most Applications Crash, If Not The Operating System Hangs
käptn ist offline   Mit Zitat antworten
Alt 04.10.2003, 15:05   #7
jak
Inventar
 
Registriert seit: 13.06.2001
Beiträge: 1.830


Standard

Jep, das wars!
Danke vielmals

Jak
____________________________________
Join the DNRC | Godwin\'s Law (thx@stona)
Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing.
\"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra)
jak ist offline   Mit Zitat antworten
Antwort


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

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.

Gehe zu


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


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag