
crmamx
Members-
Posts
417 -
Joined
-
Last visited
Everything posted by crmamx
-
Both slideshow programs are in the same file. menu2 is up one level and index is up another level.
-
I have the weirdest problems. I use this code 11 times in a program. <a href="#top" class="center">Back to top</a> The first 9 times are left justified. The 10th time is centered, which it should be. What do I look for?
-
Nothing happened. As I said before, it works when calling the swf from an html file. Pretty sure this is right. memu2.php <!-- ===================== Dropdown item #4 =========================== --> <li> <a href="#">Slideshows</a> <ul> <li> <a href="#">Shed construction</a> </li> <li> <a href="#">Runway construction</a> </li> <li> <a href="#">Laying the fabric</a> </li> <li> <a href="index1.php?page=slideshow_flyin1">Fun flyin #1</a> </li> </ul> </li> slideshow_flyin1.php <?php ?> <div id="slideshow"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="640" height="480" id="tech" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="slideshow_flyin1.swf" /> <param name="quality" value="high" /> <embed src="slideshow_flyin1.swf" quality="high" width="640" height="480" name="tech" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </div>
-
If they will put up with me, they will put up with anybody. I have tried several of the other forums and this one beats all the others hands down (or maybe thumbs up).
-
I see a lot of recommendations for w3schools in the forum. But then I also see this, confirming what thorpe said. If I remember right there were some recommendations for it in the 15 page or so discussion of xhtml vs. html http://w3fools.com/
-
In my old system I have slideshow_flyin1.html that executes slideshow_flyin1.swf. I am converting by talking my html files, deleting everything except the body and changing it to a .php file. Then I go back and clean up/change the code. It has worked well for me. Doesn't work in this case. Here is the resulting program which was created by a slideshow creation program I have. slideshow_flyin1.php <table align="center" border="0" cellpadding=0 cellspacing=0> <tr> <td align="center">Flyin 1 Pictures</td> </tr> <tr><td align="center"><br /></td></tr> <tr> <td align="center"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="640" height="480" id="tech" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="slideshow_flyin1.swf" /> <param name="quality" value="high" /> <embed src="slideshow_flyin1.swf" quality="high" width="640" height="480" name="tech" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </td> </tr> <tr> <td align="center" ><br /> Created by <a href="http://www.flash-slideshow-maker.com/index.php?srcid=glc" target="_blank">Flash Slideshow Maker</a> </td> </tr> <tr> <td align="center" valign="middle" bgcolor="#FFCC99"><br /> <a href="http://www.flash-slideshow-maker.com/buynow.php?srcid=glc" target="_blank"><strong>Order the full version now to remove the software logo at the end of slideshow</strong></a> </td> </tr> </table> This one is really over my head.
-
Damn! <?php> ?> I believe I see the error. I did not even look at coveringaplane.php because I just knew there could not be an error there. Thanks a million.
-
html or php? Don't know. I go from my menu.php to home.php with this statement? <li><a href="index1.php?page=home">Home</a></li> Now I am viewing home.php and from that I want to link to coveringaplame.php. This doesn't work. <a href="<?php include("index1.php?page=covering"); ?>">Here is an article</a> Neither does this: <a href="index1.php?page=coveringaplane">Here is an article</a> With this one I get this error: Parse error: syntax error, unexpected ';' in /home/bayare27/public_html/content/pages/coveringaplane.php on line 3 At a loss as usual.
-
Installed Firebug version 1.6.2 and appears to be the same as before. Going to install one of the "screenshot" add on's. Hope that is what I need to post pic of screen.
-
Reinstalling Firebug. In the process I find 808 web developer add on's for Firefox including a couple for Firebug. Could you recommend any that would help a novice like me?
-
I would be happy to if I knew how.
-
Check my post in the Editor Help Forum.
-
I am trying to learn how to use Firebug and have viewed several tutorials. My first problem is my Firebug screens are not the same as theirs. Their screen shot menu shows: 1st row: inspect edit 2nd row: Console Html CSS Script DOM Net My screen does not show the 1st row with the inspect icon and that is one of the first things the tutorials discuss? I have tried the various settings and options but can't find it. Any ideas?
-
Still one problem. Why is h2 changing my text to all CAPS? h1 doesn't do it.
-
Yep, that fixed it tho I don't understand why it was screwing it up. I fought and fought and fought the damn css code thinking somewhere I was messing up. So then I quit and started using inline and tables because at least I could get it to work. I never knew you could use view/source as a troubleshooting tool. You are a repository of brilliant ideas. Back to work on it.
-
Aligning divs, etc. Just not sure of myself with CSS in general.
crmamx replied to Pikachu2000's topic in CSS Help
pikachu: Hope you didn't take that wrong. It seems you did and I really feel bad about it. It was meant as a funny compliment. So noted by the many thanks I have expressed in the past for your help. Awfully sorry for a bad choice of words. -
You are right. I set up menu as a standalone html file with the css included, to try and get it to work. After I got it working, I changed it to php and forgot to delete the up front stuff. I am using the table to center something because I couldn't get the damn css to work and I am tired of fu**** with it. I will take your suggestion and fix the docs and clean it up, but if no one can figure out why the same code doesn't work in custom.css, I "ain't fu**** with it any more." I will just put the css that does work in the head of every program.
-
Aligning divs, etc. Just not sure of myself with CSS in general.
crmamx replied to Pikachu2000's topic in CSS Help
WOW! Stop the presses. There is something Pikachu doesn't know. But you have the right detective on the trail. -
This program works perfect. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <style type="text/css"> h1{ font-size: 135%; color: #ff8e00; font-weight: bold; } h2{ font-size: 120%; color: #ff8e00; font-weight: bold; } h3{ padding-left: 0.5em; } .hdr1{ color: #ff0000; /*red*/ padding-left: 1.5em; } .hdr2{ color: #00ff00; /*lime*/ padding-left: 1.5em; } .hdr3{ font-size: 120%; color: #808000;/*olive*/ font-weight: bold; } </style> </head> <body> <h1>h1 Club History</h1><br /> <h2>h2 Club History</h2><br /> <h3>h3 Club History</h3><br /> <p class="hdr1">hdr1 paragraph</p> <br /> <p class="hdr2">hdr2 paragraph</p><br /> <p class="hdr3">hdr3 paragraph</p><br /> </body> </html> The css is copied from this file: custom.css /* #####This the custom sheet######## Here you can add aditional style to the frame and to all html elements */ /* STRUCTURE ------------------------------------------------- */ /* here you style the framework (div's) remember not to change the width only the height*/ #wrapper{ overflow:hidden; margin-top: 30px; /* some air to breath */ } #header{ height:160px; background: #000080; /* dark blue */ margin-bottom: 10px; /* some air to breath */ } #left-header{ height:120px; /* without a height the newsflash will seem to overlap it. */ } #newsflash{ height:120px; overflow:hidden; /* anycontent that overlaps it we be hidden */ } #leftmenu{ background: url(../images/transparent.png) repeat; min-height: 300px; } #maincontent{ background: #fff; /* white */ min-height: 300px; } #footer{ height:120px; background: #d9d9ff; /* light purplish */ margin-top: 10px; /* some air to breath */ } /* STYLE HTML ELEMENTS ------------------------------------------------- */ /* !!! important to wrap a div with class content around your content so it gets a proper padding !!! */ div.content{ /* this div is a special class to give all content a consistent padding */ padding: 10px; margin-bottom: 10px; } body{ background:#ececec; /* very light grey */ font-family: arial, sans-serif; font-size: 85%; line-height: 130%; background: url(../images/background.jpg) fixed no-repeat 50% 50%; color:#333; } /* STYLE HEADER NEWSFLASH ------------------------------------------------- */ #newsflash{ color:#fff; /* white */ } #newsflash h2{ text-transform: uppercase; font-size: 125%; font-weight: bold; color: #ff8e00; /* brownish orange */ } /* STYLE HEADER LEFT-HEADER------------------------------------------------- */ /* STYLE LEFTMENU ------------------------------------------------- */ #menu li{ background: #012A80; /* dark blue */ } #menu a{ /* the look of the links */ font-size: 120%; color:#fff; /* white */ font-weight: bold; display:block; text-decoration: none; padding:5px; } #menu a:hover{ /* on mouse over */ color:#ff8e00; /* dark blue */ background:#fff; /* white */ } /* STYLE MAINCONTENT ----------------------------------------------- */ #maincontent{ color:black; /* fff=white, 333=gray */ } #maincontent h2{ text-transform: uppercase; font-size: 115%; font-weight: bold; color: #ff8e00; /* dark blue */ } /* STTLE FOOTER ------------------------------------------------- */ /* ---------------Moving boxes and images-------------------------*/ .floatimagel{ /* remember to uses classes instead of id's if something is not unique */ float:left; width:300px; padding:10px; border:5px #00bbff; margin:0px; background-color:#87cdfa; } .floatimager{ /* remember to uses classes instead of id's if something is not unique */ float:right; width:300px; padding:10px; border:5px #00bbff; margin:0px; background-color:#87cdfa; } .clearline{ /* remember to uses classes instead of #id's if something is not unique */ clear:both; margin-bottom:2px; } /* ========================= NOTHING ABOVE THIS ============================ */ /* ----------- Displaying Images -------------------------------------- */ /*Portret of employees, and all images needed to have some space around it. So i made a class All I had to do was add an image and add the class portret. <img src="filename.jpg" alt=" " class="portret" /> .portret{ margin: 10px; /* ginving 10px of margin around it display:inline; this is for IE 6 and lower } */ /* ----------------- Club Info -------------------------------------------*/ /* I added some default style for elements like h1 h2 strong */ h1{ font-size: 135%; color: #ff8e00; font-weight: bold; } h2{ font-size: 120%; color: #ff8e00; font-weight: bold; } h3{ padding-left: 0.5em; } .hdr1{ color: #ff0000; /*red*/ padding-left: 1.5em; } .hdr2{ color: #00ff00; /*lime*/ padding-left: 1.5em; } .hdr3{ font-size: 120%; color: #808000;/*olive*/ font-weight: bold; } strong{ font-weight: bold; } p{ margin: 8px 0; /* this will give all p-elements 8 pixles of padding at the top and the bottom */ } ul.list{/* add this class to a ul */ list-style: circle; padding-left:20px; font-weight: bold; line-height: 150%; } /* REMEBER TO USE CLASSES INSTEAD OF #id's IF SOMETHING IS NOT UNIQUE' */ /* PREVENT THE USE OF the non-breaking space */ /*some general stuff here */ .float-left{ float:left; display:inline; /* all floats need this for IE 6 */ } .float-right{ float:right; display:inline; /* all floats need this for IE 6 */ } .float-right1{ display:inline; /* all floats need this for IE 6 */ position:absolute; left:100px; top:150px; } .space{ /* a class to give some space to the element used ie. on address */ padding: 10px; /* i used badding so you can apply a nice background to the element if needed */ margin-bottom: 10px; } .boxcolor{ background:#FF0000; /*#C0D4FE;*/ } .center { text-align:center; } a.center { text-align:center; display:block; } span.center { display: block; /* make it a block elements */ float: left; /* use float to remove the effect of pushing other to a next line */ margin-left: 70px; /* some margin from left to center it. */ } /* ------------------------------ Tables ------------------------------------ */ #box-table-b { font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif; font-size: 12px; margin: 45px; width: 480px; text-align: center; border-collapse: collapse; border-top: 7px solid #9baff1; border-bottom: 7px solid #9baff1; } #box-table-b th { font-size: 13px; font-weight: normal; padding: 8px; background: #e8edff; border-right: 1px solid #9baff1; border-left: 1px solid #9baff1; color: #039; } #box-table-b td { padding: 8px; background: #e8edff; border-right: 1px solid #aabcfe; border-left: 1px solid #aabcfe; color: #669; } /* --------- End Tables --------------------------------------- */ The exact same program using the exact same css code will not work when using custom.css. h1 is a different size. h2 changes to all caps. h3 is not bold hdr1 indentation is wrong and is wrong color hdr2 and hdr3 are wrong color It's got me!
-
His stuff always works. He sits on top of the food chain.
-
I may need to take a day or two off from this stuff. It seems if I can't find that error I am hopeless. On the other hand I got in the car this morning and forgot where I was going. No float, I am going to center it. Mucho gracias
-
I have 4 images: <img class="float-left" src="Pictures_Other/flyin_pic1.jpg" alt="new picture" border="0" width="220" height="165" /> <img class="float-right" src="Pictures_Other/flyin_pic2.jpg" alt="new picture" border="0" width="220" height="165" /> <p class="clearline"</p> <br /><br /> Magnolia Field <img class="float-left" src="Pictures_Members/meetinga.JPG" alt="new picture" border="0" width="220" height="165" /> <img class="float-right" src="Pictures_Members/meeting1a.JPG" alt="new picture" border="0" width="220" height="165" /> <p class="clearline"</p> <br /><br /> 2010 Annual Meeting "2010 Annual Meeting" is positioned the way I envision it should be, 2 lines below pics 3 and 4. It seems to me that "Magnolia Field" should be positioned 2 lines below pics 1 and 2. But it isn't. It is at the upper right corner of pic #3. Makes no sense. I have tried setting them in blocks with div and span but makes no difference.
-
I agree. Gonna try and put them back like they were to start.
-
You need to enclose your link. Link here Hmmmmmmmm..Seems I've heard that advice before. Am I right? p.s. Yes, he is right. Works like a charm.
-
Ok, most links work, changed the menu box size and order of items. Think I will leave menu box colors the way they are. Or go back to original colors? What do you think? Finished with menu. Final grade?