HTML - Bold And Italics Not Working
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?
Similar TutorialsHello everyone, I am trying to put a title in italics in a static page of my Tumblr blog, but Italics are not showing in Chrome or Mozilla. They do show in IE. When I save the text with <i> tags, they revert back to <em> automatically, and that doesn't seem to be triggering itals in the two browsers besides IE. Is there anything I could add to the theme code to make the <i> tags stick or to trigger itals in some way? The page in question is: http://stevenniles.tumblr.com/music I would like to italicize the words: L'Isle Joyeuse Thank you very much! Steven Well 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! 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 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 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; } 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? 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 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 i have installed IIS 5.1 in my XP machine but when i type http://localhost it shows a blank page. Hey all I have just joined these forums as I am learning HTML and CSS. However the book that I am following does not appear to be working. I have created a custom class in css called "Stewart" and a test page to test it however it does not appear as I have defined. Below is the code for the CSS page Quote: <!-- A CSS style sheet --> body { font-size: 10pt; font-family: Arial; color: black; line-height: 14pt; padding-left: 5pt; padding-right: 5pt; padding-top: 5pt; } h1 { <!-- ALso possible to define different classes see SAM's teach yourself HTML and CSS p59 --> background-color: pink; font-size: 14pt; font-family: Arial; font-weight: 20pt; color: red; } h2 { font-size: 12pt; font-family: Arial; font-weight: 20pt; color: red; } h3.silly {font: 36pt Comic Sans; } h3.serious {font: 8pt Arial; } p.subheader { font-weight: bold; color: green; } <!-- Custom Class, use the div heading to create a custom class --> DIV.stewart {font-size: 30pt; color: red; font-style: italic; } And here is the code for the test page Quote: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <link rel="stylesheet" type="text/css" href="styles.css" /> <!--The above is a link to the css file in this directory --> <title>CSS Test sheet</title> </head> <body> <h1> This is a test sheet for my css, it might possibly look different every time. </h1> <h3 class="silly"> Silly</h3> <p> The above text is silly class of heading 3</p> <h3 class="serious">serious</h3> <p> The above text is serious class of heading 3 </P> <p> <div class="stewart">This is my own custom style</div> </p> </body> </html> Can someone please explain where I am going wrong. I am using IE on WIndows 7. I'm new to this forum and was not quite sure where to post this but I am having some trouble putting this code I made into my myspace and making it work. It shows up correctly on the normal browser but when I go to add it to my page it doesn't work. Any help would be appreciated. HTML Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN"> <html> <head> <style type="text/css"> #picturebox { background: #transparent; background-image:url('http://img231.imageshack.us/img231/6485/tvphotosmallergs4.jpg'); background-repeat: no-repeat; position: absolute; top: 0px; left: 0px; width: 800px; height: 631px; } #moviebox { background: #FFFFFF; background-repeat: no-repeat; position: absolute; top: 120px; left: 168px; width: 400px; height: 300px; } </style> </head> <body> <div id="picturebox"> <div id="moviebox"> <object type="application/x-shockwave-flash" width="400" height="300" data="http://www.vimeo.com/moogaloop.swf?clip_id=721534&server=www.vimeo.com&fullscreen=1&show_title=1&show_byline=1&show_portrait=0&color="> <param name="quality" value="best" /> <param name="allowfullscreen" value="true" /> <param name="scale" value="showAll" /> <param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=721534&server=www.vimeo.com&fullscreen=1&show_title=1&show_byline=1&show_portrait=0&color=" /></object> </div> </div> </body> </html> Thank you! I have a code for div and the strange thing is that it is working in empty html code but if i put it in an existing html code then it will not work! please help!!! Hi guys, For some reason, in IE8, on product pages (Example) of my ecommerce site, the 'Size Chart' and 'Email to a Friend' popups don't work, and the product image lightbox won't work either. I have turned pop-up blocker off but they still don't work. These popups work in every other browser I have tested in, including IE7. It seems to only be IE8 that is having this problem. Upon looking at the page source, one thing I have noticed that both the 'Size Chart' and 'Email to a Friend' buttons have in common, is that the popups seem (I'm far from an expert) to be 'triggered' by a span element (class="more") within the HTML. For example: Code: <div class="row "> <label >Size: </label> <strong class="fl"><select name="size" id="size" onchange="checkstock(this.value)"><option value="">Select Size</option><option value="S">S</option><option value="M">M</option><option value="L">L</option><option value="XL">XL</option><option value="XXL">XXL</option></select></strong> <span style="text-decoration: underline;" class="size_chart more" title="size_chart1">+ Size Chart</span> <div style="display: none;" class="size_chart1 hide" > <div class="close"></div> <img src="http://www.projectdisobey.com/disobeyclothing/wp-content/themes/eCommerce3/images/size_chart.jpg" alt="" /> </div> <!-- size chart --> </div> Code: <ul class="fav_link"> <li class="print"><a href="#" onclick="window.print();return false;">Print</a> </li> <li class="rss"><a href="http://feeds.feedburner.com/DisobeyClothing">RSS</a> </li> <li class="emailtofriend"><span style="text-decoration: underline;" class="more" title="tellafrnd_div">Email to a Friend</span> </li> <li class="blank"><span id="tellafrnd_success_msg_span"></span></li> <li class="blank"><div style="display: none;" id="tellfrnddiv" class="tellafrnd_div hide"> <iframe src="http://www.projectdisobey.com/disobeyclothing/?page=tellafriend_form&pid=402" style="border: medium none ; width: 547px; height: 558px;" frameborder="0" ></iframe> </div> </li> <li class="share"> <div class="a2a_kit addtoany_list"><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.projectdisobey.com/disobeyclothing/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></div> <script type="text/javascript"><!-- var a2a_config = a2a_config || {}; a2a_config.linkname="Know Your Enemy"; a2a_config.linkurl="http://www.projectdisobey.com/disobeyclothing/?p=402"; a2a_config.color_main = "f3f3e7";a2a_config.color_border = "C0C88A";a2a_config.color_link_text = "332402";a2a_config.color_link_text_hover = "332402";a2a_config.color_bg = "7f6f2"; a2a_config.num_services = 14; //--></script><script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script> </li> </ul> I have no idea what could be stopping the lightbox from working. Anybody have any suggestions as to what the problem might be (and how I can rectify it)? If you need more info, let me know... Thanks! I've found a website that shows my Steam status every amount of time, just like the rest of other websites. This banner or gamecard should show if i'm online, what i'm playing and other stuff that is in the gamecard. The website has an option for yourself to put your own PNG image as the card's background. I entered the link correctly of the image and after that it gave me the codes to put them wherever i want. The problem is that when i submit the code wherever i want (Forums) the image doesnt show but the code in text itself. The PNG had transparent parts so i tried on a pure black background, didnt work either. Then i noticed the code has some different values/elements from the included images that the website comes with. This is the code of my custom PNG image: Code: http://steamsigs.com/steam.php?id=ik....png&tborder=1 And this is with the default image of the website: Code: http://steamsigs.com/steam.php?id=ik...rmal&tborder=1 I also tried different text borders and options. You can try yourself doing the gamecard he www.steamsigs.com You will need a custom Steam ID url, but you can use mine: ikamikaze15 And if it could be something wrong with the image, here it is: http://i1000.photobucket.com/albums/...ndoGR15/ua.png Thanks for helping. Hi Guys, I have this link: <a href="programs/XMLPoster.exe">programs/XMLPoster.exe</a> It works when i view it in Firefox, but gives me an error when i click it in i.e? Do you know why this is happening? Ideally i want to be able to launch the .exe file and not just ask the user if they want to save it? Thanks, Chloe ~X~ Hi, I'm a self-taught web designer with not a lot of experience and need some help please! This website shows up perfectly in Chrome + Firefox, but it completely fails in IE. http://fparchitectural.ca/beta/ I'm guessing it's a css/div issue. Hopefully it is a simple fix. Please Help. I'm new to all this. I have designed a Form (see attached ZIP file) that has many TEXT boxes. When the user clicks "Submit" I want to capture the info in the Text boxes and e-mail the results to me. I have no idea how to do this. Can you HELP? Another question: How can I verify data in the text box? For Example--the text box of Quantity, must be numeric. The other text boxes in the table must contain the letter "X" or be blank. The concept of the form I'm trying to do is like an "Order Form". Maybe there is an easier way to do this????? Any help on your part would be most welcome. Some idea of my background--I did some VB programming so I know "logic". I don't know any of the Web languages such as ASP, Java, etc. Thanks, Sam |