Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by ravenshade

  1. Ah, well when I say 3 nested tags, I generally mean those three inside the first, not nest nest nest if you catch my drift. Sorry for the misunderstanding. Are you using dreamweaver to produce the code?Anyway...testing that
  2. Most browsers recognize a web address without www, which is why I rarely type www. I think it would be easier if browsers started to disregard www or list it as a particular domain where anything can exist after it. Although that creates more work than needed, but no one I know has ever had a problem with me giving them a direct link and telling to do it exactly as it says on the paper.
  3. HTML is the first step you're going to need to learn. I recommend learning how to hard code everything and no cheating
  4. Deprecated stuff is evil... using Hex values gains more compatability, but you can also use just normal colours, like "green". Firefox version 3 last time I checked does not support RGB values, but it does support the bgcolor="". The customized browser at my university always updates to the latest version of HTML etc and ignores deprecated tags completely. So it's always best to stay up to date and try to avoid deprecated tags if possible.
  5. Ah but what would the CSS look like...HTML<div class="box"> <div class="topLeft">TopLeft corner Image</div> <div class="topRight">TopRight corner Image</div> <divClass="topEdge"></div> <div class="centerLeft">LeftEdgeImage</div> <div class="centerRight">RightEdge Image</div> <divClass="content">Background</div> <div class="bottomLeft">bottomLeftImage</div> <div class="bottomRight">BottomRightImage</div> <divClass="bottomEdge">bottomImage</div></div> CSS .box { position: relative; /* positions the box relative to the html */ margin: 0 auto; /* centers the box at the top of the page */}.topLeft { background-image: url(linkToImage); background-position: top left; background-repeat: no-repeat;}.topRight { background-image: url(linkToImage); background-position: top right; background-repeat: no-repeat;}.topEdge { background-image: url(linkToImage); background-position: center top; background-repeat: repeat-x;}.centerLeft { background-image: url(linkToImage); background-position: center left; background-repeat: repeat-y;}.centerRight { background-image: url(linkToImage); background-position: center right; background-repeat: repeat-y;}.content { background-image: url(linkToImage); background-position: center center; background-repeat: no-repeat; /*this may repeat both ways...I'm not sure*/}.bottomLeft { background-image: url(linkToImage); background-position: bottom left; background-repeat: no-repeat;}.bottomRight { background-image: url(linkToImage); background-position: bottom right; background-repeat: no-repeat;}.bottomEdge { background-image: url(linkToImage); background-position: center bottom; background-repeat: repeat-x;} This appears to be what Ingolme was describing
  6. ravenshade


    Just upload the file to your server where ever you wish to put it. You can then use a variety of media embed styles for instance Windows, Real, etc. <!-- begin embedded WindowsMedia file... --> <table border='0' cellpadding='0' align="left"> <tr><td> <OBJECT id='mediaPlayer' width="320" height="285" classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'> <param name='fileName' value="http://servername/path/to/media.file"> <param name='animationatStart' value='true'> <param name='transparentatStart' value='true'> <param name='autoStart' value="true"> <param name='showControls' value="true"> <param name='loop' value="true"> <EMBED type='application/x-mplayer2' pluginspage='http://microsoft.com/windows/mediaplayer/en/download/' id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1' bgcolor='darkblue' showcontrols="true" showtracker='-1' showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="285" src="http://servername/path/to/media.file" autostart="true" designtimesp='5311' loop="true"> </EMBED> </OBJECT> </td></tr> <!-- ...end embedded WindowsMedia file --> <!-- begin link to launch external media player... --> <tr><td align='center'> <a href="http://servername/path/to/media.file" style='font-size: 85%;' target='_blank'>Launch in external player</a> <!-- ...end link to launch external media player... --> </td></tr> </table> .avi is a hefty file type which doesn't scale very well from small to large, but it's not a bad file type and it'll serve you well with compatability, however, it is again hefty. You'll use up a heck of a lot of bandwidth, so I suggest converting. This can be done in a program called Avid media Composer or something similar, I recommend at the minimum WMA for streaming. ...
  7. The HTML /************** Extensible Box CSS******************/.boxContainer { position: relative; margin: 0 auto; height: 400px; width: 500px; background: url(C:/Users/ADMIN/Desktop/bottomRight.png)no-repeat bottom right; }.boxHead { position: relative; background: url(C:/Users/ADMIN/Desktop/topLeft.png) no-repeat top left;} .boxHead h1, h2, h3, h4, h5, h6 { position: relative; background: url(C:/Users/ADMIN/Desktop/topRight.png) no-repeat top right; text-align: center; }.boxContent { position: relative; background: url(C:/Users/ADMIN/Desktop/bottomLeft.png) no-repeat bottom left; text-align: center;}.bottomLeft { position: relative; background: url(C:/Users/ADMIN/Desktop/bottomLeft.png) no-repeat bottom left; margin-bottom: 0;} Right then. I have a problem feel free to create your own small 50x50px blocks... as it's just something I'm trying out my side before uploading, but the bottomLeft square image for the background: url...isn't showing where it's supposed to. I have three boxes, and I want to show them at the four corners of the screen. Top left, Top Right, Bottom Left, Bottom Right. Now, all of them show up in the right place (or as expected) except bottom left, which appears half way up. Does anyone know the reason behind this and a potential solution?
  8. Oh no no, i didn't mean Google...I meant it would be easier to literally build the module themselves instead of getting an trying to essentially steal them. For instance, there are many free scripts for calenders, or clocks.
  9. Well that's what I mean, i don't want it to be a blinky flashy issue, I just want a slow scrolling height: 50px; bar across the screen to show small images/links. I might just do a standard fixed image for now though
  10. More often than not, it'll be better to grab a free script off the net, that does what you want the module to do. Ingolme is somewhat understating the difficulty.
  11. Hmmm does file_get_contents work like include() then?
  12. My question is, is it possible to use absolute references in include files and if so how. I tried to do it myself but it didn't quite work so I was wondering if I was using the correct syntax...include("http://www.test.com/Code/subject.php");
  13. really really odd...my tutor said it was deprecated... then again, he could be wrong but yeah, someone change the subject head to resolved.
  14. I am delving into PHP, and I'm getting to the stage where I'm going to need includes and I was wondering how they worked. For instance, can you use them to include HTML and have it display exactly? i.e I have a div tag, and if I put it into its own file, could I include that file and then have it display just as it does now? Secondly, does it have to be a specific file type, for instance, php files or html files? Thanks in advance.
  15. I thought span was deprecated? Anyway, div tags are ideal for this situation and it's really the "float" syntax you're looking for. "float:left" positions the image to the left of the text and wraps the text around it. "float:right" does the same but on the other side. I'm pretty sure that the wrap syntax can be used as well, but by default its on so that shouldn't matter.
  16. Well some tend to reference absolutely... but if you're going to keep the exact structure then there's no need. href="../CSS/main.css" each ../ represents one folder so ../../ is two folders up. (this works for me)
  17. Well I know there was a marquee tag issued by microsoft...Microsoft: the web should be this way..W3C: Not a chance.As such they don't like it, but I will take a look at the font property for it. If it's CSS then it shouldn't be deprecated just yet...and that's if it works with images
  18. I just had a particular point where it my CSS box was displaying oddly, yet there were no fundamental errors. It turned out to be I'd put in one too many classes without dividing them. In this particular instance I had a PHP if statement, which cause me no end of hassle if I don't tag them right
  19. ravenshade


    I know that W3 don't exactly approve of moving images, but I wanted something similar to a marquee that I can customize, to make small images move across the screen.Does anyone know exactly where I should be looking? CSS? HTML? (I'm trying to avoid jScript if possible)
  20. Okay, so, generally this is when I hard code as I don't tend to work with dreamweaver or any other webediting software like that. (It often crashes my system) so for some reason I'm now getting more and more adept at hard coding. There's only one problem with hard coding and that's when you miss one character, be it a ?>...or perhaps you put .colorClass in your css file and referred to it from your webpage as class="colourClass" ... It's a damn nightmare. And yes...I have had nightmares about putting the wrong dash in. >_> Anyone else?or doesn't anyone else use Notepad++?
  21. Tables rarely have round corners as that is their nature, but as Ingolme states, "They're done with boxes". Div elements inside div elements. I use a code set that manipulates the "background: url(website) position" syntax to give me rounded corners. There are lots of scripts out there, some more useful than others. I'm going to assume that in tables they're done in a similar fashion
  22. You could just switch it around in the code. I personally use tables for forms, more often than not. It's the one place where most users expect to be looking down the left for info and writing on the right. No matter, could you post up the main code as well please
  23. To centre things I use... margin: 0 auto; In a div tag they should all line up nice an neatly for you with Ingolme's adjustments
  24. Ack your code is so hard to read...get rid of the <br> tags completely, that will solve your vertical space problem. I believe the float syntax in CSS is useful for this situation. However if you can't be bothered with that, then try Tables, quick and easy for something like a navigational bar and no issues with space either.
  • Create New...