Search the Community
Showing results for tags 'sheet'.
-
Hello all,I have tried so many things to get this to work but to no avail, can someon eplease help me out here with a simple script for n XML steam feed.http://api.steampowered.com/ISteamUserStats/GetGlobalAchievementPercentagesForApp/v0002/?gameid=221380&format=xml OK NOW THE ISSUE IS:I have a blank webpage which I have placed the above link into, I simply want the contents of the XML feed from the link to appear in mypage.......How do I make the contents of that url appear on the same page??SO I NEED THE SMALL SCRIPT OR HTML CODE TO DO THISAlso I would like to have the background a certain colour and use a certain font like 12point arial with bold headings and lower case text.Can someone please provide me with the html to allow this XML feed to appear on my webpage with a different colour background, arial 12pt font inbold and lowercase____________________________________________________________________________I RECEIVED A REPLY TO THIS POST AND THEY ADDED THIS:It's a little hard to tell from what you wrote. But, I think what you are looking for is an AJAX script to pull in the XML,then CSS can take care of the formatting.Look up how to process a XMLHttpRequest in javascript (or another scripting language). That will let you put the XML file into an array. Then,you can use (javascript) document.write() to put the pieces on your page.______________________________________________________________________________SO this being said do I need a javascript code in the page to show the XML Feed with formatting, what would this code be, this is the magicalquestion :)Could someone please please help me..........With regardsMathew
- 1 reply
-
- javascript
- xml
- (and 8 more)
-
Hello. Like I said in one of my other posts, the one about giving a table a margin on a style sheet; I am new to CSS really and I am making a little website for a school project. Last night I spent making some graphics for it and all, but my style sheet, as far as I know, is really unorganized, and I am really confused on how it's supposed to be organized. Most of the things I just put in it, and kept moving them around till it worked, but I am getting tired with that process, and it's really messy. Ill post my style sheet beneath, and if anybody could help me organized, that would be wonderful. <html><head><style type="text/css">table{background-color:grey;} body {background-image:url('background.png');} table{width:1000px; height:700px; background-color:black;} table, th, td{border-collapse:collapse; color:grey;} h1{color:#800000 ;} h2{color:#A00000;} h3{color:#E00000;} p{font-family: courier new; color:#585858;}#table1{width:925px; height:484px;} #title{height:200px;} #nav1{width:50px;}</style></head> What's really confusing is that Table and Body thing up there..And I am looking to add some more Id's and some things for links, but I am not even sure where to put them on the sheet. Please help. I should probably add that I have been looking all over the tutorial and reference, and I still am having trouble finding out how to organize this dang thing :/ Also, I just tried putting in something for link, and wherever I put it, it doesn't do anything. D: Well, I just figured out why. I read the tutorial a couple more 100 times, and finally clued in that it's not supposed to have ANY HTML tags. I took out the html, head and style tags and there .