HTML - 2 Styles On One Line, Possible?
hi some help please
i want to have 2 styles on one line, first text should be bold second text should be normal the following is from my template file: <div class='header'>BOLD TEXT <a href="user_fof.php" > normal text</a> </div> this stays in the same line but both are bold, i have tried adding a class="normaltextstyle" but the color changes but it still stays bold please assist, Similar TutorialsI have been making a website for some hours now, I started off making it comply to XHTML Transitional 1.0, however, this made it incredibly difficult for me to make the website appear how I wanted in both Firefox and Internet Explorer, so I downgraded to HTML 4.0.1 and decided to use iframes instead of objects to implement another webpage. However, there are two flash files on my website that are embedded using the object property: HTML Code: <object data="flButtons.swf" width="790" height="85" style="border-width: 0px;"> </object> And HTML Code: <object data="flSarah.swf" width="230" height="380"> </object> This works fine in firefox however, in internet explorer 7 it has a weird border like thing around it, and no matter what I try, I can't get rid of it. I initially had it on the iframe but i got rid of that using "frameborder=0".. this has no such attribute. The website is: http://www.geocities.com/s.cowperthwaite/index.html (temporary host obviously ) Any help will be appreciated : ) Thanks, matthew haworth Hi, I am somewhat new to the html/design... I have made websites but only the older style that you don't see nowadays. I'm looking to start learning about the newer layouts and whatnot... Could anyone tell me how I go about making a website like this (link below)? I"m looking to make one for my photography to put it online. thanks a lot http://www.portraitsbyjafa.com/ ok, so I'm taking a course in college and the question came up... basically, if I do this [p style = "text-align: right"][h3]Information[/h3][/p] It won't apply the right justifictation, though if I put the justification setting in the h3 tag it does it, or if I switch the h3 to the outside and put the style on it, it works as well. Does anyone know why this is? My guess was that the h3 resets the text's formatting properties and then formats it? Sorry, I'm a newbie How do I go about setting inline color styles for links? Yes I know use CSS but this is one case it will not work because the CSS is overriding certain links. So I just want to use inline styles for these certain links. How would I go about do that? -Thanks Hi, I am having a problem with a HTML email. When sent through to Outlook 2000 All styles within tags are being re-written with "defanghtml" this in turn is turning all the styles of within the email's HTML code. This is not happening for every recipient!? Has anyone encountered this problem? Do you know what causes it? Can it be stopped? I have this div: Code: <div> Last Name <input name="data[Provider][last_name]" type="text" class="input_style" maxlength="100" value="" id="ProviderLastName" /> <input class="submit_style" type="submit" value="Search" /> </div> The way it's being displayed is having the last name string first and then the input and submit (both of them) under that last name string. I would like for all of these values to be on the same line. How can I do that? <p> doesn't work, tried it. Anything I can do in CSS? I am trying to build a page using drupal CMS but I have a problem. Whenn add checkbox, text and submit button together, each of them gets in a different line. It looks like i use <br> although i don't. Adding content with a WYSIWYG editor seems to be working into the editor content area. But when I save it, it appears again in different lines,no matter in which place of the frontpage I add it. So I guess I guess the reason is the style.css file. But I can't find the exact line that damages my code. In pictures below you can see 1)the content correctly presented into WYSIWYG editor 2)The content in frontpage (awful) 3)The simple html i use 1) http://www.teicrete.gr/libsite/files...wyg_editor.JPG 2) http://www.teicrete.gr/libsite/files...page_error.JPG 3) http://www.teicrete.gr/libsite/files/3_simple_html.JPG Any help would be great... Thanks in advance! Forgive me for this rather elementary question...I'm a T-shirt printer and I've learned enough html to build my own website, but I have a lot more to learn about it...Anyway the problem I'm having is when I add an image and want the next paragrah, or headline to display below the image, I've been accomplishing it by adding line breaks until it appears below rather than off to one side. Sometimes I have to add as many as seven or eight <br />'s to achieve my purpose. Is there a better way to make something appear below an image? How make all of this on one line? (The div is the element that is not on the line) Thanks! HTML Code: <input type=image value="Click Me!" src="http://sites.google.com/site/sam01110011/Home/face-grin.png" id="butCount" onClick="buttonClicked()"> <input type=image value="Reset" src="http://sites.google.com/site/sam01110011/_/rsrc/1258518796363/Home/face-sad.png" id="butReset" onClick="resetCounter()"> <div id="content_div" style=""></div> Okay, so here's what I'm trying to do- This is a short excerpt of my page, the part that is causing the problem: HTML Code: <font color=#333333><b>Category: <div id="category" align="left">Category</div></b></font> I want to DISPLAY the Html code on my site, so I'm using < and > to achive this. Its working perfectly. Now, in the code that is being displayed- is an actual HTML code, that I want to turn into html. Here's where the problem is. As you can see- the actual Html code is: HTML Code: <div id="category" align="left">Category</div> I made sure not to change the tags, so that the browser will accept it as html. Now- my problem is that when I publish this on my site, an ugly page break appears before & after the real html code. I want to be able to copy the code that appears, and just simply paste it onto another part of the site- BUT, because of the line break that occurs, the HTML isn't displayed properly. Normally, a simple line break like this one won't affect anything- but I'm using WORDPRESS for my pages, and wordpress recognizes every time a line break happens, it makes a <br> code. So even if you press the enter key in HTML, it automatically ends up being a <br> code and breaks the whole html code. How will I make it so that the line break DOESN"T happen? TL;DR: I want to display HTML code on my site, but I want to have an ACTUAL HTML CODE inside the html code to be displayed. When I do this, a line break happens before and after the ACTUAL HTML CODE. How do I get rid of this? What my page currently looks like: HTML Code: <font color=#333333><b>Category: <div id="category" align="left">Category</div></b></font> Please help, everything is greatly appreciated! Hello all, I'm trying to do some simple table work for a webpage. The basic set up is this: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Team Funcom</title> </head> <body background="background.jpg"> <table border="1" align="center"; cellpadding="0"> <tr> <td width="100%" valign="top"> <table border="1" width="100%"> <tr> <td colspan="3" align="center"> STUFF </td> </tr> <tr> <td colspan="3" align="center"> STUFF </td> </tr> <tr> <td colspan="2"> STUFF </td> <td rowspan="2" align="center"> STUFF </td> </tr> <tr> <td align="center"> STUFF </td> <td align="center"> STUFF </td> </tr> <tr> <td colspan="3"> STUFF </td> </tr> </table> </td> </tr> </table> </body> </html> I'm using some CSS to do some transparancy and some JavaScript to change some menu images onmouseover, not shown here. The problem is that when I put the rest of my code into the above tables, things line up in Opera, but not in I.E. I am using a table within a table, so that I can line things up in the center of the page, and that seems to be causing the problem. In Opera the outer table centers and is only as wide as it needs to be, but in IE the outer table's width takes up the whole page. Also, as I make the page smaller in I.E., the tables seems to overlap. Firefox makes things line up a bit better, but there are still some problems. Any thoughts here? I've attached the full code I'm working with. I had to change it to .txt so that I could upload it as an attachment. Here's what the page looks like in Opera at the moment. Hey, as you can tell, I'm a new guy. And I'm having a bit of a problem... For some reason, in between 2 buttons I have on my site, there is a little, underscore line. I don't know why it's there, as it's not in my code, it's not a part of the image, and it wasn't there before I added the second button. It's hard to explain, it's easier to see it for yourself. http://nickisawesome.izfree.com/meec...igns/index.php Any help would be appreciated Hello can anybody help my with html about a vertical line with wat codeyo can make a vertical line for your website in html. Erwin I find the in-line frame to be a bit of a pain. What is the advantage of having two scroll bars--it seems to be confusing some people? What I like is that the in-line frame give me a neat smaller page, not using the whole screen (left to right) but when I make the in-line frame's height longer, it looks silly like on the home page and then on some of the links the scroll bar comes back. but I like when a link is clicked it goes to the in-line frame section. can this be done with using table (I know I can get the tables that size, but can I get the links to appear in the same spot if I eliminate the in-frame0? TIA I am setting up a non-profit web page and they are going to want a donation page for on line donation using credit cards. other than knowing that they need a "merchant account", is there some kind of software that interacts with the merchant account. I don't think it's necessary to go and set up a store, because of the cost and it seems like over kill. Hi: I'm a newbie and am designing my 1st screen using Transistional HTML. Without using CSS, is there a simple way to draw a horizontal line across the screen ? TIA -Mel Smith http://credmond8.awardspace.com/home.phtml How can I get "Site Theme" and "Time" on the same line? Hey everyone and thanks ahead of time for takin a look see at this! I'm working on creating a headline for one of my pages that I want to have some sort of 'text' decoration on each side of it like this: -----[blah blah]------ Now I want the title ('blah blah' in this case) to be in a <h1> tag...but not the decoration on the outside. However when I set it up like: Code: ----[<h1>blah blah</h1>]---- As you would guess the result is: -----[ Blah Blah -----] Is there someway I can keep these inline, but still have an <h1> tag wrapped only around the title? THANKS!! For the life of me, I cannot get rid of the small white line on either side of the dark blue in the following: http://www.toddcary.com/test/viewpoi...ew_design.html Any suggestions are welcomed! Todd I'm a complete newbie I have been told to edit a script in html editor on line No. 235. I put the script into an editor and it fills the page as one big paragraph and not in a line format. Is this a common thing Can it be changed? Neil |