Jump to content

SubZero.

Members
  • Posts

    15
  • Joined

  • Last visited

Posts posted by SubZero.

  1. Hello guys,I want to make box in box in box etc... I mean something like this:box.pngso each box have own border and so on.I made something like this:

    HTML: <div id="one"><div id="two"></div></div>CSS:#one { width: 100px; height: 100px; border: 1px solid black; }#two { width: 50px; height: 50px; border: 1px solid black; }

    But of course it didnt work. Please help.

  2. It's working thanks!My next question is... as I said, I couldn't see what this php file had.I am doing like this:index.html:

    <html><head>  <link rel="stylesheet" type="text/css" media="screen" href="s.php" /></head><body>TEST</body></html>

    s.php

    body {  margin: 0;  padding: 0;  background: #000000;  color: #FFFFFF;  font-size: 100px;  font-family: sans-serif;}

    and when I open with my browser file s.php I see everything what that file have in (so in this example i see body{...}), how to make this php file to prevent from seeing whats inside?

  3. Hello guys, in the beginning I was thinking where exactly I can post this topic, here or in CSS section? But you guys are experts in PHP so I am asking here :-)I've found something like this:

    <link rel="stylesheet" type="text/css" media="screen" href="http://www.EXAMPLE.com/file-with-css.php" />

    Of course this php file nothing showed to my browser (no echo functions?).I am really guy who knows a LITTLE BIT of PHP, so I am asking you guys how to do this?

  4. Man, they just steeled (for me its steeling) domain csszengarden.com and we can see:"This domain has expired. Click here to renew it."Anyone got IP to REAL csszengarden.com site?

  5. Thank you, everything works well =]My next question is about coding letters.In my XHTML I've got <meta http-equiv="content-type" content="text/html;charset=utf-8" />, but when I'm using polish letters like ą, ę, ć, ż, ź, I only see something like this �. I think thats because I'm editing my XHTML doc in simple Windows XP Notepad, so which editor should I use for utf-8 coding? Maybe there is another problem?UPDATE: Ok, problem solved with PSP Editor.

  6. Thank you, I fixed all already :-)I've one more question;In my XHTML code I've got

    <div id="footer">    <a href="http://jigsaw.w3.org/css-validator/check/referer">W3C CSS Validator</a>  </div>

    And I've already made in my CSS a:hover class, but I want to make another one a:hover only for div id="footer".I tired to put in my CSS a#footer:hover and a.footer:hover, but none worked. How to name this clas?

  7. Hello guys,I've got some errors while doing validation (Valid XHTML 1.0 Transitional):1) document type does not allow element "b" here; missing one of "dt", "dd" start-tag.2) document type does not allow element "span" here; missing one of "dt", "dd" start-tag.3) end tag for "dl" which is not finished. here:

    <dl class="logo">      <b><span style="color: black">13</span><span style="color: red">th</span></b> <span style="font-variant: small-caps">Division</span>    </dl>

    4) document type does not allow element "br" here; missing one of "dt", "dd" start-tag. here:

    <dl class="alt">    	<dt>Adam '<b>bonq</b>' Cieslik</dt><br />    	<dd class="img"><img src="img/bonq.jpg" alt="bonq" /></dd>    	<dd>        xxx</b>ok<br />      	test<b>ok</b>      </dd>    </dl>

    Link: http://validator.w3.org/check?uri=http%3A%...irteen%2Fnew%2F

×
×
  • Create New...