Jump to content

MikeFloutier

Members
  • Posts

    53
  • Joined

  • Last visited

Everything posted by MikeFloutier

  1. Thanks,I really thought you had it there with the px instead of em thing; "surely that will control the height of the font" I thought.For some reason comis sans MS seems to add some of it's own padding around the font (at least that's how it seems to me). Also I've tried messing with margin and padding but they either introduce a new problem or exaggerate the existing one.I think I'll have to bite the bullet (haha BiteMe) and ditch the offending font.Mike
  2. Hahaha!Thanks BiteMeOk, you can see what a newbie I am; I had no idea what I was doing. I just liked the font.So,1. Any suggestions for a similar font, and2. Any ideas about my original questionThanksMike
  3. Hi,I'm finding that if the browser doesn't have the preferred font for my banner's title text then the background image's height tends to vary according to which font IS selected as an alternate.In this case I want it to use "comic sams MS" but if that's not available then "verdana" is next on the list and this, being shorter in height (presumably), leaves a gap between the bottom of the background image and the banner's border.My present method of making the background image fill the gap (top & bottom) between the text and the banner's borders is to use padding.THis is the CSS: #main-title {margin-left: 250px;margin-right: 250px;padding-left: 11px;padding-right: 10px;font-weight: 300;font-size: 4.0em;text-align: center;font-family: "comic sans MS", verdana, arial, helvetica, sans-serif;background-image: url(Images/centre-image.jpg);border-left: 1px #b90970 solid;border-right: 1px #b90970 solid;padding-top: 10px;padding-bottom: 10px;} And this is a link:http://www.exhortations.co.uk/I could just drop the "comic sans MS" but I much prefer it so I dont want to.I could also convert the banner to an image but I dont think that would work with it's width re-sizing capabilities.Any ideas as to how I can get a fixed height on the background image so any text can go on top without mucking things up would be much appreciated.ThanksMike
  4. Thinking about it, I guess it's quite a good idea to have the greyed-out scroll-bar there even when there's nothing to scroll.Reason being, if you design (width-wise) for it being there, it wont mess things up if your viewers' browser happens to have the need to scroll down or not.I guess the corollary is now that I need to introduce a grey-out scroll-bar into FF and Opera renditions of my pages.Any ideas as how I can do that?ThanksMike
  5. Sorry, you're right. Here is some code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" ><title>Test</title></head><body><p>Test</p></body></html> And here is a link to it: http://www.exhortations.co.uk/test.phpI deliberately kept it simple and with no CSS to try and make sure it wasn't a problem in my coding.Mike
  6. Hi,I'm designing all my pages so they will fit in the browser window without any overflow - different style sheets for different resolutions etc.However, in IE, I still get a greyed-out scroll-bar (although not in FF & Opera).I want to be able to avoid this problem. I think I can do: "overflow: hidden" but wouldn't that lose any unfortunate overflow that slipped through the net.What I really want is a scroll bar that only appears if there's something to scroll.Any ideas?ThanksMikePS I'm talking about the entire browser window here btwPPS Guess it must be an IE thing as I see a lot of big company sites on the net have this problem too
  7. Thanks,But I think I put too much info around my real question which was:Should I be using "strict" or "transitional"; bearing in mind that I'm using a seperate stylesheet but with occasional "inline styling" for odd events?Mike
  8. Hi,I just realised that I'm probably using the wrong doctype in my web pages but after reading loads of stuff I'm still a little unclear how to proceed.I'm writing my files in HTML and sticking to this site's guidance. I use a style sheet in the main but occasionally use inline styling in an html tag where I want this to override the stylesheet in an isolated instance.My questions are:1. Should I be using the HTML strict or transitional DTD?2. I'm using xhtml1 strict (for some reason - lol) at the moment. It seems to work; what harm is it doing?ThanksMike
  9. Hi,I just tried up-loading a 48Mb file to my host to discover that I'd need to use an "ftp client".I notice that some are free and some cost (typically $40). I seem to be forking out $40 every other day since I started this web-site project for my wife and I'm just wondering:Is it ok to use a free one or should I buy one. What do you think?ThanksMike
  10. I think you've spotted it. There are 5 sessions pages and the only one that works has:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> in it so I guess that's it. I'm so new to all this that I haven't really found out what that stuff means. I just noticed that most of the time - up til now anyway - the page would work whether it was there or not. Time to slow down and do some studying I guess.Mike
  11. Thanks. This is a session page<?phpsession_start();/*session_destroy();*/ $_SESSION['flowplayer_file_48kbps']="weddings_48kbps.flv"; $_SESSION['flowplayer_file_160kbps']="weddings_160kbps.flv"; $_SESSION['flowplayer_file_768kbps']="weddings_768kbps.flv"; $_SESSION['exhortation_name']="weddings";?><html><head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /><title>weddings</title><link rel="stylesheet" type="text/css" href="index.css" /></head><body> <?php include("banner.html"); ?><div id="main-text-heading"> <h1><?php echo $_SESSION['exhortation_name']; ?></h1> <h3> Listen > <?php $exhortation_lo="weddings lo.mp3"; $exhortation_hi="weddings hi.mp3"; include("flash player.php"); ?> Watch > <a href="videoplayer_dialup.php"; title="Dial-up Internet"><img border="0" src="Images/TV_lo.bmp" width="24" height="24"></a> <a href="videoplayer_broadband_med.php"; title="Slow Broadband"><img border="0" src="Images/TV_med.bmp" width="24" height="24"></a> <a href="videoplayer_broadband_hi.php"; title="Fast Broadband"><img border="0" src="Images/TV_hi.bmp" width="24" height="24"></a> </h3> </div> <div id="main-text"> <p>EXHORTATION TEXT EXHORTATION TEXTEXHORTATION TEXTEXHORTATION TEXTEXHORTATION TEXT</p></div><?php include("left_menu.html"); ?><?php include("right_column.html"); ?></body></html> And this is a non-session page <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html><head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /><title>exhortations subject index</title><link rel="stylesheet" type="text/css" href="index.css" /></head><body><?php include("banner.html"); ?><div id="main-text-heading"> <h1>Exhortations Index</h1> <br> </div> <div id="main-text";> <p style="text-align: center"><a href="dawn chorus.php">Dawn Chorus</a></p><br> <p style="text-align: center"><a href="be ambidextrous.php">Be Ambidextrous</a></p> <br> <p style="text-align: center"><a href="spiders web.php">Spider's Web</a></p> <br> <p style="text-align: center"><a href="opportunity_knocks.php">Opportunity Knocks</a></p><br> <p style="text-align: center"><a href="filename.php"><!--TITLE--></a></p><br></div><?php include("left_menu.html"); ?><?php include("right_column.html"); ?></body></html> Thanks Mike
  12. Hi,I just got to grips with using "sessions" to preserve some variables I need to pass from page to page (Thanks aspnetguy!).However, following an alteration to my CSS stylesheet file, I notice that whilst all my non-sessions pages are up to speed (on the style front), the sessions pages are still using the old stylesheet (which no longer exists - or so I thought - lol).My only thought was that my session has somehow preserved my old style sheet so I tried to use "session_destroy();" but I couldn't get it to work.HELP!! Please.Mike
  13. Thanks Aspnetguy,Much appreciated!Mike
  14. Hi,Ok I'm new to this so please humor me 'cos it seems like a very rudimentary question!I want to assign a variable's value in "onepage.php" and use it in "anotherpage.php". But it doesn't seem to remember it once I click on the link to "anotherpage.php".How can I get it to "remember" it's value until it's re-assigned a new value?ThanksMikePs I read the tutorial and searched a lot of previous posts but couldn't see anything helpful.
  15. In the end I found an excellent Flash Video PLayer called "FlowPlayer" which has it's own site at http://flowplayer.sourceforge.net/ and can be downloaded from http://sourceforge.net/projects/flowplayer .It has a good set of transport controls and will accept playlists or single video (.flv) files. It is also skinnable.My only problem is that, in Firefox I can't get the controls to work but I'm sure that's just my newbie coding and hopefully I'll discover how to fix it soon.MikePs Oh and it's completely free btw!PPs Oh sorry I forgot to include the code and a URL. Here they are! <div id="flowplayercode"><object type="application/x-shockwave-flash" data="FlowPlayer.swf" id="FlowPlayer"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="FlowPlayer.swf" /> <param name="wmode" value="transparent" /> <param name="quality" value="high" /> <param name="flashvars" value="videoFile=hemet.flv&splashImageFile=left-image_splash.jpg&autoPlay=true" /> </object></div><!--width="320" height="263" style="width:90%; height:80%;" these are now controlled by the CSS file. Firefox seems to have problems with the dimension styling. When using % for height and width it wont display the object at all. When using % for just the width it will display and autoplay but the controls are not operable--> http://www.exhortations.co.uk/hemet.php
  16. Hi,Ok, thanks to all your help I've got my mp3 player working well on my wife's site so I've turned my thoughts to video.So far I've got the following code which will show an swf video file but I can't figure out how to get some controls to appear and the only way to stop it is leave the page.I guess it's a <param> of some kind but all the ones I've tried have no effect.Can anyone help me with this?ThanksMike <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="400" height="260" title="movie one"> <param name="movie" value="hemet.swf" /> <param name="quality" value="high" /> <embed src="hemet.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="400" height="260"></embed> </object> </p> <p>Can't see these movies? You need the latest Flash Plugin and a high speed internet connection. <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Get Flash here</a> </p>
  17. Thanks justsomeguy,You're right, I am using php includes. I hadn't really thought through the way the included files become part of another file and so avoid needing certain tags. I'm still puzzled about the use of the "standby" attribute in the Object tag and why mine doesn't display. However I like your idea about putting the player in an absolute position with a pre-loading standby message. I was thinking about having the heading and player constant with the content scrolling anyway so this will fit in nicely.Also, I've not used z-index before so that will be new also.Your help is greatly appreciated!Mike
  18. Hi caroo,If like me you're new to this you may find http://musicplayer.sourceforge.net/ helpful.The code I posted previously didn't seem to work on Opera and presumably not on Macs/Safari since it uses Windows Media Player. The music player on the sourceforge site was recommended to me by justsomeguy and I'm much happier with it. It's something to do with Flash (which I could pretend to understand - hehe) and it works on Opera as well as IE and Firefox; also my friend who has a Mac says he tried it and it works fine on his Safari browser.Mike
  19. For some reason my standy text is not appearing whilst my flash player is loading. Any ideas?Is it because the text is too big for the size of the object?Any help greatly appreciated as this object take around 12 seconds to load in 56k dial-up.ThanksMike <object type="application/x-shockwave-flash" width="140" height="14"data="xspf slim/xspf_player_slim.swf?&player_title=HI_FI&song_url=Waves/<?php echo $exhortation_hi?>&song_title=HI-FI&" standby="loading"><param name="movie"value="xspf slim/xspf_player_slim.swf?&player_title=HI_FI&song_url=Waves/<?php echo $exhortation_hi?>&song_title=HI-FI&"/> The url is: http://www.exhortations.co.uk/dawn chorus xspf slim test.phpps you'll have to enter the link manually as it's got spaces as I've just realised - sorry
  20. MikeFloutier

    music

    I did and it does!!Thank you very muchMike
  21. MikeFloutier

    music

    Thanks for that justsomeguy,It does seem to work very well.The only problem I'm having is playing lo-fi versions of my files. I've converted these to 20kbps for dial-up users (for some reason the coverter uses a sample rate of 11kHz) and these seem to stop at random whereas the 96kbps - 44kHz versions play fine.Wonder if anyone has any ideas.ThanksMike
  22. MikeFloutier

    music

    Thanks aspnetguy,I've embedded the "button player" from http://musicplayer.sourceforge.net/ . Their page provides an html generator to customise the player's GUI enabling me to use my own .jpg's to blend in with my site.So far I've found it to work without modification on IE, Firefox and Opera.What I'd like is to find someone who could try it out on a Mac with Safari. I'm not sure if that kind of request is appropriate for the forum; perhaps someone could advise me about that.Thanks again for all the help!Mike
  23. Thank you so much for such a detailed reply, it looks pretty straight-forward and would seem to encompass almost all situations. I'll get working on it.Thanks again!Mike
  24. Thanks Justsomeguy,I certainly don't want to spend $400 as this is a small personal project at present.I'm still very new to all this but from what I've read so far I can't help thinking that it must be possible to:1. Sense what browser the viewer is using and2. Down-load a media player - appropriate to his browser/OS.Does this make sense?Mike
  25. How come it works in Firefox?I've been doing some more searching and someone suggested using a "flash player" as this would work in any browser; does that make sense?Mike
×
×
  • Create New...