Mohl by jste mi prosim nekdo povedet, jak se dela aby pozadi stranky sedelo prilepene na miste a nescrollovalo spolu se strankou? Zapomnel jsem to a nikde to za boha nemuzu najit :nn: :DD
Fórum › HTML / XHTML
Hloupy dotaz

Buď primo v <body> elementu se nastavi vlastnost, bgproperties="fixed" nebo lepe pomoci css nastavit: body {background-attachment: fixed}.
Super, to je to co jsem potreboval.
BTW, to prvni nefunguje ve firefoxu :error:
Dalse hloupy dotaz. Jak udelat skok na dalsi radek tak aby to zkousnul http://validator.W3.org ?
Dragon napsal:
Další hloupý dotaz. Jak udělat skok na další řádek tak aby, to zkousnul http://validator.W3.org?
Klasicky v HTML <br>, v XHTML . Daleko lepší ale bude, když hodíš konkrétní link.
xHire napsal:
Dragon napsal:
Dal?? hloup? dotaz. Jak ud?lat skok na dal?? ??dek tak aby to zkousnul http://validator.W3.org ?
Klasicky v HTML <br>, v XHTML . Daleko lep?? ale bude, kdy? hod?? konkr?tn? link.
Konktr?tn? link nen? jeliko? to m?m je?t? na kompu, ale validator.w3.org p??e tohle:
Error Line 13 column 3: document type does not allow element "BR" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
<br[color=cislo_nebo_nazev_barvy]/[/color]><div id="main">
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
Pokud chceš udělat prázdný řádek, tak je to docela prasárna, na to můžeš použít css. Validator ti hlásí chybu naprosto správně. Standartně se na zobrazení v řádcích (odstavcích) používá <p> a element jen když potřebuješ z nějakýho důvodu odsadit ještě uvnitř odstavce (protože v odstavci nemůže být další odstavec).
A jak by to bylo v CSS :)? S timhle nemám moc zkušenosti
Problém je právě v tom, že chceš udělat mezeru v kontextu stránky (nikoli v textu). Můžeš využít margin (margin-top či margin-bottom) k tomu, abys nějakému prvku přidělil vnější mezeru. U tebe asi dej margin-top tomu divu.

Přidej příspěvek
Ano, opravdu chci reagovat → zobrazí formulář pro přidání příspěvku
×Vložení zdrojáku
×Vložení obrázku
×Vložení videa
































Uživatelé prohlížející si toto vlákno
Podobná vlákna
Dalsi Muj Hloupy Dotaz.. (CrashLog) — založil Ivo
Chytrý a hloupý mobilek — založil remmidemmi
"Mysql dotaz v dotaz" — založil Tomáš Sedlmajer
Dotaz — založil Karel Malý
Moderátoři diskuze