php.de

Zurück   php.de > Webentwicklung > HTML, Usability und Barrierefreiheit

HTML, Usability und Barrierefreiheit Themen rund um Textauszeichnung, Formatierung, Barrierefreiheit und Usability.

Antwort
 
LinkBack Themen-Optionen Thema bewerten
Alt 13.08.2006, 11:24  
BEGINNER-L
Gast
 
Beiträge: n/a
Standard colspan?

Hallo!!!
Kennst jemand einen Ersatz für "colspan". Das Attribut gibt es bei HTML 4.01 nicht mehr...
Danke, Lucas
  Mit Zitat antworten
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 13.08.2006, 11:34  
Erfahrener Benutzer
 
Registriert seit: 13.11.2005
Beiträge: 2.583
xabbuh
Standard Re: colspan?

Zitat:
Zitat von BEGINNER-L
Das Attribut gibt es bei HTML 4.01 nicht mehr...
Da scheinst du mehr zu wissen als das W3C.
xabbuh ist offline   Mit Zitat antworten
Alt 13.08.2006, 11:39  
BEGINNER-L
Gast
 
Beiträge: n/a
Standard

This page is not Valid HTML 4.01 Transitional!

Error Line 20 column 18: there is no attribute "COLSPAN".
Code:
<tr colspan="2">
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.
  Mit Zitat antworten
Alt 13.08.2006, 11:42  
Erfahrener Benutzer
 
Registriert seit: 13.11.2005
Beiträge: 2.583
xabbuh
Standard

colspan ist auch kein Attribut des tr- sondern des td-Elements.
xabbuh ist offline   Mit Zitat antworten
Alt 14.08.2006, 00:06  
Benutzer
 
Registriert seit: 27.07.2005
Beiträge: 72
skaterboy
Standard

colspan wird benutzt wenn du in einer zeiler ober bzw unterhalb der jeweilgen zeile mehr spalten hast
zb
<tr><td colspan='5''>bla bla bla</td></tr>
<tr><td>spalte 1</td><td>Spalte 2</td><td>Spalte3</td><td>spalte4</td><td>spalte5</td></tr>

bla bla bla wird genauso groß sein wie die 5 spalten
skaterboy ist offline   Mit Zitat antworten
Antwort


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine 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 an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
colspan [alle] HTML, Usability und Barrierefreiheit 1 01.10.2006 19:03
colspan problem marcels PHP Tipps 2006 3 30.03.2006 22:13

Besucher kamen über folgende Suchanfragen bei Google auf diese Seite
there is no attribute \colspan\, colspan php, html colspan strict, php colspan, colspan html strict, php colspan attribute, colspan html deutsch, colspan ersatz?, there is no attribute \colspan\ html strict, colspan barrierefrei, colspan strict, proprietary attribute colspan, colspan l, http://www.php.de/html-usability-und-barrierefreiheit/41672-colspan.html, colspan in strict document, \there is no attribute \colspan\\ and \tr colspan\, colspan transitional, proprietary attribute \colspan\, colspan ersatz

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




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum

Creative Commons License
Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.