Jump to content

Jack McKalling

Members
  • Posts

    1,606
  • Joined

  • Last visited

Everything posted by Jack McKalling

  1. You have to escape the quotes of the same type the string is in, by the backslash. But there are lots of other similar valid ways, you can use HTML entities inside the alert() function ("), you can use double quotes for the string and escape the inner double quotes, instead of the singles, etc. Possibly even more qays. So this is only an example :)This is how I would do it when I use javascript: Because I want to use the same quot syntax I use with PHP, and then I am forced to use double quotes for the string, to be able to escape signs in it (when the string is single quoted in php, it doesn't parse special characters)
  2. Place me, for my second category, in (x)html/css too then, to compensate a little *is going to PM that sentence*
  3. Does anyone know that IE is able to open folders with the file:/// protocol, instead of only sites? :)Microsoft Internet Explorer would replace itself (ie. the appname in the titlebar, the menubar, toolbar and statusbar) by Windows Explorer when the default protocol http:// is replaced by file:/// :)And visa versa when WinExplorer [s]protocol is replaced by[/s] gets the protocol http://.Even stronger!!You can open most files that are on the world wide web by Notepad in its Open file dialog! Whahaha LOL !
  4. I understand what the problem is. At first, I didn't see what the problem was. What the problem is, that each row without any bold numbers, shortenout a little, where the row below that one would take in the left space :blink:It is just that the cells with bold numbers are theoretical bigger than the ones without boldness, and that is caused by the margin:0;. You do can specify margins, but only for the cells without bold numbers. You should use trial and error there to determine what exactly the margins should be there. Because the margins are down for all cells, it thinks the cells get bigger when the content is bold So you should compensate it at the cells that don't get bigger. Only the normal cells that have no bolded cell in the same row would get affected because when there is a bolded cell, the normal cells are on the same row and will always be equeally heighted eventhough they are defined to be smaller.I see you don't have specified the "n" class at the cells, I would ask you to do so, or remove the class attribute. :blink:CSS for compensation: Please remove the red part, it doesn't do anything The blue part I am not sure of, but if you would try what effect what number has, you can probably come to the correct number :blink:Am I clear enough, or should I not explain so thouroughly ?
  5. Have you tried text-align:center; already? Apply it to whatever div.footer is in, and div.footer will be centered. It should center it towards the full width, so whatever resolution the page is at, it should be the middle. Does it work?Oh and by the way, welcome to the forums
  6. Okay, but as I don't know exactly what xml is or how you create a file with it, I don't exactly understand. But nevermind, I asked a friend too, hoped to get it clear this time at W3Schools, but I think I should learn the Xml tutorial to get it straight for me
  7. Don't worry for html styles, if you practice enough, you can easily study CSS at a later moment If you only want to, it is so much better than presentation markup.
  8. @Jonas: ok, ok :)For the record, what is a crack, in this situation?
  9. No, functions may have spaces between their name and their parameter delimiters, their brackets :)This is the same: include("something"); As: include ("something");
  10. If you host it at a webserver, execute this php instruction in an empty file: echo ini_get('register_globals'); And check if the output says either 0 (off) or 1 (on). It should be 1.
  11. I don't ever use float, sorry Can't help you there
  12. This is very easy to solve You should apply the target name you defined at the anchor, to the frame element you want it in The blue addition defines that frame to be the target of each link that refers to "showframe" it its target.(the red you forgot to write )-Note: You did specify a target to load that document in, but there was no frame with that name. So it thinks you mean a new window.
  13. An image has for default no border. Only when it gets embedded in an anchor (<a>), then it gets a border. It can be shut down by the border="0" attribute for the image, but you can't controll the colour without styles. There is no such thing as bordercolor for either an anchor or an image. :)You should use this then: Where the coloured code should be replaced with the colour you want of cource. It can be again a hexvalue, an rgbvalue or just a colourname.
  14. Can anyone easy and simple explain me what exactly an RSS reader is? When I don't know even what "RSS" is ?I never did any AJAX, neither Xml, so I can't do anything that deals with that languages. XSLT is something I have never seen anything about too. I can do only markup languages (if "xml" isn't markup language), css and sql, and script languages. Which is all I need for a basic site, I don't know anything about other forms of site like when build by XML. What are the pros of xml over html, and does it compete with the difficulty (easyness) of html?-Oh, and I also know a bit of Dhtml, but that's not W3C standard so I never mention it. It consists of what I did mention already anyway.
  15. Haha you're welcome Anyone makes that mistake now and then so don't worry.
  16. The colourment of scrollbars only works in Internet Explorer. There is a Dhtml version though, a custom scrollbar. With it, you can use whatever color and images you want for the scrollthing, and still have it work in most browsers. Go here for Dhtml:http://www.w3schools.com/dhtml/dhtml_intro.aspAnd go here for Dhtml scrollbars:http://www.dynamicdrive.com/dynamicindex11/domdrag/(go for the last example)
  17. Here you are :)Notice the change to echo $txt, $txt, $txt, $txt2, $txt2;, you don't have to repeat the echo instrunctiion every string. Besides, you can include them all in one string, so you can format the betweens Like this: I hope you understand
  18. Whaha, this is even another issue I can respond with "turn over to server-side and use tables instead of frames" lol. With a server-side language you would be able to compensate the use of frames. With frames you are able to load documents inside other documents, but with server-side languages you don't have to load, you just write them in. So then tables can be used and even still several documents in one another. :)But I'll be nice http://www.w3schools.com/tags/tag_iframe.asp^^ All attributes of the iframe, and some stylish things aswel.You can also add just CSS to the iframe, everything is listed here:http://www.w3schools.com/css/css_reference.asp
  19. You can find all in the CSS tutorial. But in short, this is the full border style: <table ... style="border:solid 1px black"> http://www.w3schools.com/css/css_reference.asp#borderAnd this can be changed to whatever type you want, like solid, dotted, dashed, double, inset, outset,.. :)Also the width of the border may be everything you want. You're even not sticked to pixels, but I recommend though. The color you define like this represents all four sides, and you are again allowed to either use a hexvalue (eg #000000), an RGB value (eg rgb(0,0,0)), or a colorname (eg black). Hexvalues are recommended.And to go one step beyond this, all this style can be set in a central stylesheet, so if you have several of the same tables that should also get the same style, you would only need to alter the central style, and all tables with that class will get the changes. Stylesheets are strongly recommended by W3C, that is part of why XHTML was made.
  20. Has this been solved for you now?Remember to always put PHP tags inside the included files, even they get included inside a php script. And the url of the included file must be compared to the folder the including file is in, or else no file will be included (I don't understand that part myself though).
  21. It might, just might, be that fact that you are using $HTTP_GET_VARS.Above version whatever, PHP introduces $_GET as the alternative, so $HTTP_GET_VARS has become obsolete at that point. But I don't know what version you use as PHP installation at your server, and I don't fully understand your code, so I may be wrong and the replacement of those variables can turn out to no changement. You should try it, give it a whirl $HTTP_GET_VARS is rarely used these days.You say it is the information that is taken from the url, with which you mean this variable, so I am practically sure it is true what I say, be can't be 100% though.
  22. Only admins, like Kaijim If the mods call him for this, he would show up. But no moderator is online unfortunately.
×
×
  • Create New...