Jump to content

MikeFloutier

Members
  • Posts

    53
  • Joined

  • Last visited

MikeFloutier's Achievements

Newbie

Newbie (1/7)

0

Reputation

  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
×
×
  • Create New...