HTML - Cant Get Bold To Work
I was bolding text in <p> tags like this
Code: <p> <b>2. Policy</b> </p> Then I added Code: <style type="text/css"> <!-- P { font-size: 10px; } --> </style> Now" Policy" is no longer bold Similar TutorialsWell I've been using Wordpress for quite some time now... but I've come across a doozy this time and can't seem to figure it out. When viewing the post with firebug it says that "strong" tags were used throughout the post to make the thing bold... however in the actual wordpress content editor I only used the strong tag on a few words here and there. I've checked for open tags, haven't found any.... and yes I'm using the HTML editor on Wordpress, not the visual editor. The link is: http://www.pzfantasyfootball.com/blog/ Here is how the post appears in the Wordpress editor: Code: Well recently I've joined a Dynasty League started by one of the most beloved Dolphins fans known to man, <a href="http://www.phinfever.com/forums/viewtopic.php?f=1&t=40457">Tom "T-Rock" Eddie</a>. Unfortunately Tom passed away in the summer of 2008... but his memories and his influence on the Dolphins fan base still live on. I was proud to join the dynasty league, but I must say, it's been a completely different experience for me from a fantasy football perspective. <p />It seems the first line of business in a Dynasty Leagues offseason is to find replacement owners. As you may or may not know, you're supposed to try and retain the same owners year in and year out so that their teams can develop... like a real NFL Dynasty. However, for many reasons, this doesn't always happen. This league was missing roughly 4 owners, but fill ins were found quick... this is a very popular league for the name alone. After we found the owners, it was time to figure out what to do with the teams. In this case, the teams were very lopsided, so we took all of the players and all of the draft picks from the teams who were replaced, and we threw them into a draft for those 4 owners only. <!--more--> <p /><strong>The Re-Draft</strong> The rules were simple, the 4 owners who threw players in would all do a re-draft from a pool of those players to even out the teams. Trades outside of those 4 teams <strong>were</strong> allowed so anyone could get in the pool to snag some hot new talent to bolster their team. It was a tricky concept to grasp at first, but once it got going, my trade sensors went off! Since I was the first new team to join the squad I got to choose my draft position... I chose 4 out of 4 in a snake draft in order to immediately get back to back picks and to see what everyone would go after. <p /><em>Some would question the decision not to take the #1 pick because Adrian Peterson was available... but I'm trying to build a whole team here while the majority of the league already had a set team, so it seemed wise to me to wait a little while and possibly snag 2 immediate starters in a row instead of 1 then waiting for the pool to drain out 6 more guys before I got to choose again. </em> <p />Ok, 3 picks go by and of course, there go 3 RB's. I'm now looking at a somewhat talented pool of RB's left... or Drew Brees... the best fantasy QB on the market. Since I have back to back picks I have a little leniency here so I go with Brees. Ok, now my 2nd pick. *DING DING* The trade bell goes off. The owner of the Grim Reefers is a huge Rams fan and can't help but snag this pick to take Steven Jackson. In return, I get RB Brandon Jacobs and WR Roy Williams. This would be the first of many many trades I made with this team. I'm extremely excited now... I've had 2 picks and ended up with 3 starters... what more could I ask for? <p />It'd be a few long weeks before the re-draft was finally over. I was probably the hottest trader out of the redraft teams and was happy with how my final re-draft roster came about. I managed to snag Ladainian Tomlinson in like round 6 or 7 which I considered a huge steal and I know I had some more solid picks which seem to be slipping my mind right now as I write this at work... Eventually I started I forfeited the rest of my picks as the pickings were slim and I wanted to get the redraft over with. <p /> I think the biggest difference of the draft that really had me somewhat shocked, is the stock put into young players. No joke, you'll see young guys who haven't proven anything but the ability to play the bench, go way ahead of perennial pro bowlers. I didn't take that strategy as far as some did... many teams took guys who literally have a very slim chance to play at all, just because they were young and they have the "potential" to play. I tried to keep it young, but I also tried not to reach on anyone just because they were a few years younger. One guy I did snag, that I'm actually especially excited about, is Jets LB Vernon Gholston. The kid seems to be headed for a career as a pass rushing specialist and if it works out well, I could be the proud owner of a 15-20 sack LB on my roster. Yay!!! <p />Well, anyways, I'll try to get my roster up on here when I get home. We have the rookie fantasy draft coming up next weekend and I haven't done much homework for it yet... YIKES!! One word of advice I have for you avid fantasy players is, join at least 1 dynasty league. It's a whole new experience that you'll probably thoroughly enjoy. <p /><em><strong>*Warning - They're not made for the average fantasy player. </strong></em> <p /><strong>Edited on May 16, 2009 at 12:37AM</strong> Ok guys and gals... here is my roster after the re-draft and before the rookie draft. <p /><strong><em>Quarterbacks</em></strong> <ol> <li>Drew Brees*</li> <li>Carson Palmer</li> <li>Kellen Clemens</li> <li>Damon Huard</li> </ol> <p /><strong><em>Runningbacks</em></strong> <ol> <li>Brandon Jacobs*</li> <li>Ladainian Tomlinson*</li> <li>Ahmad Bradshaw</li> <li>Ray Rice</li> <li>Darren Sproles</li> <li>Brian Leonard</li> <li>JJ Arrington</li> <li>Brian Calhoun - <em>FA</em></li> <li>Chris Perry - <em>FA</em></li> </ol> <p /><strong><em>Wide Receivers</em></strong> <ol> <li>Roy Williams*</li> <li>Dwayne Bowe*</li> <li>Anthony Gonzalez*</li> <li>Reggie Brown</li> <li>Michael Clayton</li> <li>Rashied Davis</li> <li>Joey Galloway</li> <li>Brandon Lloyd</li> <li>Kevin Curtis</li> <li>Chansi Stuckey</li> <li>Sinorice Moss</li> <li>Reggie Williams - <em>FA</em></li> </ol> <p /><strong><em>Tight Ends</em></strong> <ol> <li>Tony Scheffler*</li> <li>Visanthe Shiancoe</li> <li>Martellus Bennett</li> </ol> <p /><strong><em>Defensive Lineman</em></strong> <ol> <li>John Abraham*</li> <li>Derrick Burgess*</li> <li>Jason Taylor</li> <li>Aaron Kampman</li> </ol> <p /><strong><em>Linebackers</em></strong> <ol> <li>James Farrior*</li> <li>Keith Brooking*</li> <li>Vernon Gholston</li> <li>DJ Williams</li> <li>Freddie Keiaho</li> <li>Will Witherspoon</li> </ol> <p /><strong><em>Defensive Backs</em></strong> <ol> <li>Darrelle Revis*</li> <li>Adrian Wilson*</li> <li>Bob Sanders</li> <li>Champ Bailey</li> <li>Kelvin Hayden</li> <li>Aqib Talib</li> <li>Dwight Lowery</li> </ol> <p />Now I tried to list the players in order of likeliness to start at their position. The starred (*) players are who I project to be starting at the position come the start of the season... but anything can change. I'm looking pretty smart for that Jason Taylor pickup now that the Dolphins have resigned him too. I tried to mark who I could remember are still Free Agents in the NFL... I'm hoping those players find a team soon... else they could be cut to make room for the rookies. <p />Speaking of which, I really gotta start looking into the rooks... the draft is in less than a week and I'm clueless!!! Catch ya later! Hi. I have a simple website in HTML with two related CSS files. For some reason I can't seem to get the <b> or <em> tags to work in the body. I tried to use them but the text didn't change. The only way to simulate bolded text was through the use of <h2>, but that messes up the formatting. Does anyone know what might be causing this problem? Could something in the CSS files be overriding the HTML and stopping those tags from working? I am using Dreamweaver with a template to create this site and all the text that goes into the editable region inside my main cell is in bold, I can not figure out why it is showing up in bold, I have searched the code and do not know why it is doing it. On the bottom where i have the copywrite info it is not bold..... Any help would be appreciated. Thanks. http://grunionfabrication.com/r_science/index.html Hi. I want part of the text in my table header to be bold, but I also want another part of it to be regular font. I'm kind of new to HTML. How would I do this? Thanks, Brad Hello Everyone, Can anyone help me with my html problem?? I have a form showing one chunk record at one time. This record is from a table. I want this form to bold certain text from that chunk of record. Since the record is not hardcoded/type inside the form. I want the bold funtion to be dynamic. Let say, Record one: I have an apple. I want to eat it now. Record two: I have a strawberry. I dun want to eat it now. First case, I want to bold the whole first line,with the word 'have' in it.. But this line can be anywhere in the page.. It doesn't always have specific position as long as the sentence have the word 'have' in it. Second case, I want the script to bold the word 'want' every time it finds it.. And only that word! Can anybody help me on how to do this.. I really dunno how to? I'm having a problem with the hover pseudo-class for my navigation bar links. Whenever I put the mouse over the link the link becomes bold. The problem is that when it's made bold it moves the other four items on the navigation bar about 10 pixles to the right or left. What's the best way to fix this problem so that the links can become bold and not move the surrounding links? Here is the code for that specific section. Thanks a lot! ( Is there a better way to make space than by using  ?) <head> <link rel="stylesheet" type="text/css" href="default.css"> <style> a:hover {font-weight: bold;} </style> </head> <body> <img src="images/title.jpg" /> <ul class="navigation"> <a href="index.htm">Home</a>   <a href="humor.htm">Humor</a>   <a href="family.htm">Family</a>   <a href="projects.htm">My Projects</a>   <a href="links.htm">My Links</a>   </ul> <hr /> --- here is the style sheet that goes with it. .navigation {text-align: center; } I was wondering how to make text bold, italicized, and underlined using css. I am new at css. Thanks 4 the help! I embedded a flash slide show in my website. I'ts centered and looks fine in Firefox, Safari and Opera. In Internet explorer it's slightly left of center. I was told the explanation below which I think I've adjusted the html to but now I'm not sure as it's still off centre.Any idea where I'm going wrong please. I still can't figure out why I E appears to show text as bold instead of normal weight. your <td> width and CU3ER width don't match. Problem is in your page html code, not CU3ER itself. Link below http://bajor.servers.rbl-mer.misp.co...dge/manip.html Can someone paste this into an .html file and help me with why this won't work in IE. It works in Chrome and FF. It seems like the onclick event in the two buttons doesn't fire. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Question 1</title> <style type="text/css"> body { background-color: #FFFFFF; font-family: Verdana, sans-serif; color: #000088; margin: 5px; } p.help_text { color: #ff0000; font-size:10px; } table.left { position:relative; right:3px; } input.right { position:relative; left:15px; } </style> <script type="text/javascript"> function Clear(form) { document.multiply_form.arg1.value = ""; document.multiply_form.arg2.value = ""; document.getElementById("answer").innerHTML = "?"; document.getElementById("help").innerHTML = ""; } function Multiply(arg1, arg2, form) { var answer = document.getElementById("answer"); alert("A"); document.getElementById("help").innerHTML = ""; if (validate_form() == true) { document.getElementById("answer").innerHTML = arg1 * arg2; } } function validate_form() { var fields = new Array(); fields[0] = document.multiply_form.arg1; fields[1] = document.multiply_form.arg2; for (i = 0; i < fields.length; i++) { if (fields[i].value.length == 0) { document.getElementById("help").innerHTML = "You must enter 2 arguments to multiply."; fields[i].focus(); return false; } else if (isNaN(fields[i].value)) { document.getElementById("help").innerHTML = "You can only multiply numbers."; fields[i].focus(); return false; } } return true; } </script> </head> <body> <form name="multiply_form" action="" onsubmit="multiply(arg1, arg2)"> Arg 1: <input type="text" name="arg1" value="" size="10"/><br/> Arg 2: <input type="text" name="arg2" value="" size="10"/><br/> <table class="left"> <tr> <td><div>Result: </div></td> <td><div id="answer">?</div></td> </tr> </table> <input class="right" type="button" value="Calculate" onclick="Multiply(this.form.arg1.value, this.form.arg2.value, this.form)"/> <input class="right" type="button" value="Clear" onclick="Clear(this.form)"/> <p id="help" class="help_text"></p> </form> </body> </html> Why on earth doe the cell "Card No." not go to row number 2 and it stays on the same line? I have added a <tr> and it STILL stays on same line. How is this possible? Code: <form id="cin" name="cin" method="post" action=""> <table><tr> <th>Your Name</th> <td><input type="text" name="your_name" /></td> <tr> <td></td> </tr> <th>Card No.</th> <td><input type="text" name="card_no" id="card_no" /></td> </form> Should this tag work ? <img src="file://users/aneuryzma/Desktop/Picture%201.png" name="replaceMe"/> i want to display an image on my local file system... thanks Hi there, would you kindly help me please. I have have been puzzled lately about how exactly i would be able to protect some of my online material. I do realize that keeping things more server sided is the way to go. But what if its a login, where you have two sections of your site, one for members and the other public. My question is how would you be able to protect a page from being viewed if your not logged in. Meaning if someone knows the direct link to a member page, how would you stop them from viewing it if their not a member? (redirect them back to a homepage). how would this kind of thing work? Thanks a million btw new to the forums NetGD After the "marital status" and "sex" are selected, I want to assign a default value to the "Title" field. I think I am calling the function DefaultTitle incorrectly because I am not even seeing the initial alert box. Any suggestions? function DefaultTitle(strng,x) { alert("Checking Title."); var Sex=documet.PatientEntry.personal_sex.value; var MaritalStatus=strng; if (Sex=="Female" && MaritalStatus=="Married") {document.PatientEntry.personal_Title.value="Mrs."; HighlightWhite(x); Return; } if (Sex=="Male") {docment.PatientEntry.personal_Title.value="Mr."; HighlightWhite(x); Return; } if (Sex=="Female" && MaritalStatus=="Single") {document.PatientEntry.personal_Title.value="Miss"; HighlightWhite(x); Return; } if (Sex=="Female") {document.PatientEntry.personal_Title.value="Ms."; HighlightWhite(x); Return; } } Sex: <SELECT name="personal_sex" id="personal_sex" tabindex=7> <OPTION>Male</OPTION> <OPTION>Female</OPTION> </SELECT> Marital status: <SELECT name="personal_MaritalStatus" id="personal_MaritalStatus" onmouseout="DefaultTitle(this.value,this.id)" tabindex=8> <OPTION>Married</OPTION> <OPTION>Single</OPTION> <OPTION>Separated</OPTION> <OPTION>Divorced</OPTION> <OPTION>Widow(er)</OPTION> </SELECT> Title: <SELECT name=personal_Title tabindex=9> <OPTION>Mr.</OPTION> <OPTION>Mrs.</OPTION> <OPTION>Ms.</OPTION> <OPTION>Miss</OPTION> <OPTION>Dr.</OPTION> </SELECT><BR> Hi all, need ur help.. I make a web template in Fireworks and export it to HTML, then I open the file in Dreamweaver. Strangely, when I preview the file in IE, the link in it not work. But it works in Firefox. Anyone please give me advice many thanks mol Hows it goin everybody.. I'm just starting to get involved in web design. I have a quick question. I have the template and have modified it to fit my needs. I understand it uses the images from the pack/bundle I D/L'd. I want to load it into geocities and I copied and pasted the code over , but it comes up with just blank with text and a grey screen. I loaded the images into my yahoo account but its not sourcing them. i believe they still have the path that was on my comp. What path would I use to load them off off a remote server (i.e. yahoo) ??? Thanks in advance. I'm sure this could of been worded more efficiently but I'm still very new to this. below there is a piece of code with slideshow (I took it from http://www.ricocheting.com/code/java...mage-slideshow). I can see only the first picture, not the rest. Can someone help me? <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>try5</title> </head> <body> <script type="text/javascript"> // Author: ricocheting.com // Description: slideshow that allows visitors to flip through a series of images on your website var x=0; function rotate(num){ fs=document.ff.slide; x=num%fs.length; if(x<0) x=fs.length-1; document.images.show.src=fs.options[x].value; fs.selectedIndex=x;} function auto() { if(document.ff.fa.value == "Stop"){ rotate(++x);setTimeout("auto()", 5000);}} </script> <form name="ff"> <table style="border: 1px solid black; border-collapse: collapse;" cellpadding="3"> <tbody> <tr> <th align="center"></th> </tr> <tr> <td align="center"><img src="IMG0.JPG" name="show"> </td> </tr> <tr> <td style="border: 1px solid black;" align="center"> <select name="slide" onchange="rotate(this.selectedIndex);"> <option value="IMG0.JPG"></option> <option value="IMG1.JPG"></option> </select> </td> </tr> <tr> <td style="border: 1px solid black;" align="center"><input onclick="rotate(0);" value="ll<<" title="Jump to beginning" type="button"> <input onclick="rotate(x-1);" value="<<" title="Last Picture" type="button"><input name="fa" onclick="this.value=((this.value=='Stop')?'Start':'Stop');auto();" value="Stop" title="Autoplay" style="width: 75px;" type="button"> <input onclick="rotate(x+1);" value=">>" title="Next Picture" type="button"><input onclick="rotate(this.form.slide.length-1);" value=">>ll" title="Jump to end" type="button"> </td> </tr> </tbody> </table> </form> </body> </html> this issue has been solved So just draw on AP divs and maybe also a bit of tweaking, can you "get away" with this? Biggest problem i see is that IE and FF tend not to always format things exactly the same .... ALSO, if i want to line up say an input text box with a search button gif(25px x 24px) at the side of the input then this works in firefox, Note that this is an AP div. <div id="apDiv3"> <input type = "text" size = "26"/><img src = "images/search.gif" /> </div> #apDiv3 input{float:left;height:16px;padding:2px;} Gives this is FF, Whereas in IE there is a small gap between the right end of the input and the gif, and also the input field is smaller I have to say i don't really undertsand the css there, i got it form the web. Why is there a gap and why is it smaller? Does anyone know how to get a .html file with javascript to work in a .tpl file? |