Kleine Vragen Topic #2

Gestart doorKingunit3.067 reacties11.764 weergaven

3.068 berichten · pagina 55 van 205

Berichten
11.263
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Jordyt schreef:
Iemand enig idee waarom dit niet werkt:
#container {
    background: #fb109f url(../images/bg.png) no-repeat;
    width: 1024px;
    height: 768px;
}


Plaatje verschijnt niet.

http://gyazo.com/a22503d97c53bd4d2a20bc58c14d1c37
In die map zit het bestandje wel.

Probeer eens die kleurencode weg te doen.

Je gaat je muur toch niet eerst in een kleur verven en er dan behang op doen?
0
Berichten
7.307
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Sanderc schreef:
Eerdere citaten tonen
Jordyt schreef:
Iemand enig idee waarom dit niet werkt:
#container {
    background: #fb109f url(../images/bg.png) no-repeat;
    width: 1024px;
    height: 768px;
}


Plaatje verschijnt niet.

http://gyazo.com/a22503d97c53bd4d2a20bc58c14d1c37
In die map zit het bestandje wel.
Probeer eens die kleurencode weg te doen.

Je gaat je muur toch niet eerst in een kleur verven en er dan behang op doen?

Toen was mijn pagina helemaal leeg.
0
Berichten
11.263
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
doe eens dit;

background:url(http://www.heeljeurl.com/images/bg.png);
background-repeat:no-repeat;
0
Thom

Lid

Berichten
10.654
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Sanderc schreef:
Eerdere citaten tonen
Jordyt schreef:
Iemand enig idee waarom dit niet werkt:
#container {
    background: #fb109f url(../images/bg.png) no-repeat;
    width: 1024px;
    height: 768px;
}


Plaatje verschijnt niet.

http://gyazo.com/a22503d97c53bd4d2a20bc58c14d1c37
In die map zit het bestandje wel.
Probeer eens die kleurencode weg te doen.

Je gaat je muur toch niet eerst in een kleur verven en er dan behang op doen?

Dat is het probleem niet.
Probeer eens ../ weg te halen, volgens mij klopt je path niet.
0
Berichten
11.263
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik heb dus deze code;
Spoiler tonen
<html>
<head>
    <style type="text/css">
    body{
        font-family:Verdana;
    }
    #padding{
        border:1px solid #444444;
        [COLOR= #0000BB]<?php[/COLOR]
        [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]padding[/COLOR][COLOR= #007700]]))
        {[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]padding:[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]padding[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000];[/COLOR][COLOR= #007700];
        }[/COLOR]
        [URL="http://www.php.net/else"]else[/URL]
        [COLOR= #007700]{
        }[/COLOR]
        ?>
    }
    </style>
</head>
<body>
[COLOR= #0000BB]<?php[/COLOR]
    [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]REQUEST_METHOD[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]"POST"[/COLOR][COLOR= #007700])
    {[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]<div id="padding">
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer consectetur velit vitae risus lacinia dictum. Etiam fringilla, augue in sagittis pellentesque, est ipsum vulputate ipsum, ac elementum turpis sapien sed leo. Fusce quis gravida sapien. Sed tristique ipsum tincidunt diam condimentum ullamcorper. Pellentesque risus quam, elementum eget consectetur id, luctus sed dolor. Curabitur enim tortor, euismod a feugiat sit amet, gravida nec elit. Nulla id libero vel sem vehicula semper. Quisque tempus congue ipsum, at lobortis dui rutrum sed. Maecenas sem mi, imperdiet ut vulputate accumsan, accumsan vitae urna. In sit amet est et quam interdum fringilla vitae sed lacus.
        
        
        
        </div>[/COLOR][COLOR= #007700];
    }[/COLOR]
    [URL="http://www.php.net/else"]else[/URL]
    [COLOR= #007700]{[/COLOR]
    ?>
    <form action="#" method="post">
        <input type="text" name="padding">
        <input type="submit" value="Padding">
    </form>
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]}[/COLOR]
?>
</body>
</html>
Maar hoe showed zonder te checken of de form method post is, toch de div.

Hoe komt dit?
0
Berichten
7.307
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Thommity schreef:
Eerdere citaten tonen
Sanderc schreef:
Eerdere citaten tonen
Jordyt schreef:
Iemand enig idee waarom dit niet werkt:
#container {
    background: #fb109f url(../images/bg.png) no-repeat;
    width: 1024px;
    height: 768px;
}


Plaatje verschijnt niet.

http://gyazo.com/a22503d97c53bd4d2a20bc58c14d1c37
In die map zit het bestandje wel.
Probeer eens die kleurencode weg te doen.

Je gaat je muur toch niet eerst in een kleur verven en er dan behang op doen?
Dat is het probleem niet.
Probeer eens ../ weg te halen, volgens mij klopt je path niet.

Ty
0
Thom

Lid

Berichten
10.654
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Sanderc schreef:
Ik heb dus deze code;
Spoiler tonen
<html>
<head>
    <style type="text/css">
    body{
        font-family:Verdana;
    }
    #padding{
        border:1px solid #444444;
        [COLOR= #0000BB]<?php[/COLOR]
        [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]padding[/COLOR][COLOR= #007700]]))
        {[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]padding:[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]padding[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000];[/COLOR][COLOR= #007700];
        }[/COLOR]
        [URL="http://www.php.net/else"]else[/URL]
        [COLOR= #007700]{
        }[/COLOR]
        ?>
    }
    </style>
</head>
<body>
[COLOR= #0000BB]<?php[/COLOR]
    [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]REQUEST_METHOD[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]"POST"[/COLOR][COLOR= #007700])
    {[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]<div id="padding">
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer consectetur velit vitae risus lacinia dictum. Etiam fringilla, augue in sagittis pellentesque, est ipsum vulputate ipsum, ac elementum turpis sapien sed leo. Fusce quis gravida sapien. Sed tristique ipsum tincidunt diam condimentum ullamcorper. Pellentesque risus quam, elementum eget consectetur id, luctus sed dolor. Curabitur enim tortor, euismod a feugiat sit amet, gravida nec elit. Nulla id libero vel sem vehicula semper. Quisque tempus congue ipsum, at lobortis dui rutrum sed. Maecenas sem mi, imperdiet ut vulputate accumsan, accumsan vitae urna. In sit amet est et quam interdum fringilla vitae sed lacus.
        
        
        
        </div>[/COLOR][COLOR= #007700];
    }[/COLOR]
    [URL="http://www.php.net/else"]else[/URL]
    [COLOR= #007700]{[/COLOR]
    ?>
    <form action="#" method="post">
        <input type="text" name="padding">
        <input type="submit" value="Padding">
    </form>
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]}[/COLOR]
?>
</body>
</html>
Maar hoe showed zonder te checken of de form method post is, toch de div.

Hoe komt dit?

ik snap je vraag niet.
0
Berichten
7.307
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hij wil de DIV laten zien zonder dat de code checkt of de form method wel post is.
0
Berichten
1.871
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Jordyt schreef:
Hij wil de DIV laten zien zonder dat de code checkt of de form method wel post is.
Dan doe je dat toch zo:
Spoiler tonen
<html>
<head>
    <style type="text/css">
    body{
        font-family:Verdana;
    }
    #padding{
        border:1px solid #444444;
        [COLOR= #0000BB]<?php[/COLOR]
        [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]padding[/COLOR][COLOR= #007700]]))
        {[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]padding:[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]padding[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000];[/COLOR][COLOR= #007700];
        }[/COLOR]
        [URL="http://www.php.net/else"]else[/URL]
        [COLOR= #007700]{
        }[/COLOR]
        ?>
    }
    </style>
</head>
<body>
[COLOR= #0000BB]<?php[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]<div id="padding">
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer consectetur velit vitae risus lacinia dictum. Etiam fringilla, augue in sagittis pellentesque, est ipsum vulputate ipsum, ac elementum turpis sapien sed leo. Fusce quis gravida sapien. Sed tristique ipsum tincidunt diam condimentum ullamcorper. Pellentesque risus quam, elementum eget consectetur id, luctus sed dolor. Curabitur enim tortor, euismod a feugiat sit amet, gravida nec elit. Nulla id libero vel sem vehicula semper. Quisque tempus congue ipsum, at lobortis dui rutrum sed. Maecenas sem mi, imperdiet ut vulputate accumsan, accumsan vitae urna. In sit amet est et quam interdum fringilla vitae sed lacus.
        
        
        
        </div>[/COLOR][COLOR= #007700];[/COLOR]
    ?>
    <form action="#" method="post">
        <input type="text" name="padding">
        <input type="submit" value="Padding">
    </form>
[COLOR= #0000BB]<?php[/COLOR]
?>
</body>
</html>
0
Berichten
11.263
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Jordyt schreef:
Hij wil de DIV laten zien zonder dat de code checkt of de form method wel post is.
Nee juist wel, maar dat doet ie nu juist niet.
0
Thom

Lid

Berichten
10.654
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Bij de bol.com api kan je kiezen waarvoor je de api wilt gebruiken, en daar staat ook mashup tussen, en nou ging ik googlen wat dat precies is maar ik kom er niet echt uit of ik een mashup ga maken. Weet iemand wat een mashup precies is als je de bol.com api zou gebruiken?
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Nielsjojo schreef:
Eerdere citaten tonen
Jordyt schreef:
Hij wil de DIV laten zien zonder dat de code checkt of de form method wel post is.
Dan doe je dat toch zo:
Spoiler tonen
<html>
<head>
    <style type="text/css">
    body{
        font-family:Verdana;
    }
    #padding{
        border:1px solid #444444;
        [COLOR= #0000BB]<?php[/COLOR]
        [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]padding[/COLOR][COLOR= #007700]]))
        {[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]padding:[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]padding[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000];[/COLOR][COLOR= #007700];
        }[/COLOR]
        [URL="http://www.php.net/else"]else[/URL]
        [COLOR= #007700]{
        }[/COLOR]
        ?>
    }
    </style>
</head>
<body>
[COLOR= #0000BB]<?php[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]<div id="padding">
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer consectetur velit vitae risus lacinia dictum. Etiam fringilla, augue in sagittis pellentesque, est ipsum vulputate ipsum, ac elementum turpis sapien sed leo. Fusce quis gravida sapien. Sed tristique ipsum tincidunt diam condimentum ullamcorper. Pellentesque risus quam, elementum eget consectetur id, luctus sed dolor. Curabitur enim tortor, euismod a feugiat sit amet, gravida nec elit. Nulla id libero vel sem vehicula semper. Quisque tempus congue ipsum, at lobortis dui rutrum sed. Maecenas sem mi, imperdiet ut vulputate accumsan, accumsan vitae urna. In sit amet est et quam interdum fringilla vitae sed lacus.
        
        
        
        </div>[/COLOR][COLOR= #007700];[/COLOR]
    ?>
    <form action="#" method="post">
        <input type="text" name="padding">
        <input type="submit" value="Padding">
    </form>
[COLOR= #0000BB]<?php[/COLOR]
?>
</body>
</html>
nee...dan controleer je alleen op post values.

[COLOR= #0000BB]<?php[/COLOR]

[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]REQUEST_METHOD[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]POST[/COLOR][COLOR= #007700]) {[/COLOR]
  [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<div></div>[/COLOR][COLOR= #007700];
}[/COLOR]

?>
0
Berichten
4.367
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Rogier schreef:
Eerdere citaten tonen
Desire schreef:
Eerdere citaten tonen
Desire schreef:
Hoe laat je een div helemaal doorlopen als je uitzoomt? (Graag dmv css)
Je zoomt uit en wilt het via CSS? Uitzoomen gaat neem ik aan via javascript, dan kan je toch gewoon binnen die code de div legen?
Het zou via css kunnen maar ik kan het helaas niet vinden.
Of ik moet de header boven de container zetten en dan de header 100% meegeven.
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Weet er iemand hoe ik een uitrek in een
  • element? Zodat ie heel de
  • opvult? Thanks.
  • 0
    Berichten
    7.498
    Reputatie
    0
    Punten
    0,00
    Lid sinds
    Laatst gezien
    Ik vraag me het volgende af over box billing
    Hoe stel je dit in:
    Als mensen een host bestellen, en geen domein erbij willen, dat ze dan [naam].s1.mijndomein.nl kunnen kiezen.
    Ik heb nog niet gevonden hoe dat moet, en kan het ook niet vinden.
    Weet iemand hoe dat moet?
    0

    Jouw reactie

    Deel je idee, stel een vraag of help een ander verder.

    Editor laden…

    Praat mee met de One2xs-community.

    Inloggen om te reageren