HTML - Weird Line Breaks Appearing In Ie
hi y'all.
my site looks fine in firefox (as usual) but ie is doing something weird. behavior is identical in IE 6 and 7, incidentally. the problem is in the sidebar. see the underlined titles for each section? in IE, a mysterious line break appears above each. what's going on? Similar TutorialsI 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! 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! 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? For some reason whenever I have an img tag it causes an automatic line break. I was wondering if anyone else has encountered this problem. Basically i'm trying to add an small icon to the left of an active link. So the code basically looks like this.. <img src="icon.jpg"><a href="link.html">text link</a> The end result is a icon on one line and the link rests below it instead of everything being on one line. This is the first time this has ever happened and i'm wondering if this is normal? I realize this may seem like a noob question but any help would be appreciated. Thanks. Hi I have the following code loading an external .txt file into a DIV <?php $content = file_get_contents($_SERVER['DOCUMENT_ROOT']."/text_files/about_text.rtf"); echo htmlspecialchars($content); ?> It loads, but the line breaks are ignored, so it appears as one continous string of words. How do I make the html display the text file's line breaks? Thanks for your time and info Shaun Hey guys, this may seem as an easy solution but I've been pulling hair over it. How do I get rid of the blank line breaks that appear before and after unordered lists? I attached a picture to this thread of what I am exactly talking about. Thanks in advance! hi, recently ive been doing a layout and something came across that i couldn't fix. In internet explorer, the "Search Archive" box's height becomes bigger, but when viewed in firefox, it looks okay... does any1 know how to fix this? link: http://blogremix.cjb.net Hi! I'm working on adapting a we-based system called OTRS (open ticket request system) for our offices here and I've just finished modifying all the headers and css and stuff for our needs. Now, I did it in Firefox and I'm brand spanking new to this game so when one of the header logos didn't appear in IE7, it took me about an hour to figure out maybe it was IE7 that was the problem, and it turns out it is... so would someone mind having a look at this below? It's very basic, but what's happening is that the picture 'HeaderCropped' isn't displaying, the border outlines don't even show, only that funny little graphic that appears when a picture is missing ( I don't know what it's called). Obviously I'd like to be able to see the picture in both FF and IE7, but will this take a major overhaul of this code? (It took me quite a while to do this little bit!) Thanking you in advance! -Emily _________________________________________________________ # include Copyright.dtl $Include{"Copyright"} # set some html variables #<dtl set $Env{"Box0"} = ">> "> #<dtl set $Env{"Box1"} = " <<"> # check refresh <dtl if ($Data{"Refresh"} ne "") { $Data{"MetaHttpEquiv"} = "<meta http-equiv="refresh" content="$Data{"Refresh"}">"; }> <html> <head> $Data{"MetaHttpEquiv"} <title>$Config{"ProductName"} $QData{"TitleArea"}</title> $Include{"customer-css"} </head> <a name="top"></a> <body> #<!-- start CI layout --> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="100%" class="header"><img style= width: 454px; height: 109px; "src="/otrs-web/images/Standard/HeaderCropped.jpg"> </td> <td width="100%" class="header" title="www.alliedpensions.com"><a href="http://www.alliedpensions.com"><img border="0" src="/otrs-web/images/Standard/APTLogo.jpg" width="150" height="100"></a></td> </tr> <tr> <td colspan="2"><hr align="left" width="100%" height="2"><!-- end CI layout --><!-- end header --></td></tr></table></body></html> Why favicon do not appear on this my page? http://www.astrosport07.webs.com/pakistancricket.html On some other pages of same website they appear, for example: http://www.astrosport07.webs.com/parcska2009.html Greetings, Goca Hi all-- Even this seems like a stupid question to me, but I can't seem to figure it out. I've been creating a site for awhile now, with many images. I've uploaded all the images to the server, but some of them still aren't showing up. I've checked and rechecked my paths, links, that the images are uploaded, etc. and I can't figure it out. There doesn't seem to be any rhyme or reason on images showing up or not. Here is one of the URL's: http://www.playdr.com/classicphotote...tanytease.html. (Keep in mind it is adult, but no nudity--I don't want to offend anyone) If anybody could give me ANY help at all, it would be greatly appreciated--this is driving me nuts. Also, I don't know if this is of any interest, but the server this is on just got updated, and I have had a little trouble with it so far, so I don't know if that might be a factor as well? Anyway, thanks again in advance for any help. I recently picked up some javascript code from an external site to set up a feedback form for the site I run; I did some messing about with it and came up with what is currently at the site: http://www.trekandromeda.com/Temp/feedbacktest.html . Trouble is, the left hand button (no matter which of the four is placed in that position) always appears as a very small one with no type on it. I have no idea what in the code might be causing this and would very much appreciate any help on this score. Thanks! Hey everyone, hope your having a good a day! My header on my wordpress blog is appearing twice and I don't know why. It's fine on my homepage but on the other two pages, it appears twice! I would love some help with this but would prefer to PM my blog address if that's ok with you? Thank you, I really appreciate this because I'm a COMPLETE newbie and have no idea about html ect. Thanks again! Steve Hey, I'm new here so I hope this is in the right forum. I am trying to make a program just to simply store information in a better fashion and presently cannot get an HTML file to appear in the right place. Also note that my experience in HTML programming is very basic, as in started-fooling-around-with-it-the-other-day-basic. Here is my code: Quote: <html> <head> <title>Title</title> <link rel="stylesheet" type="text/css" href="main.css"> </head> <frameset frameborder="0" border="0" framespacing="0" rows="100,*"> <frame marginwidth="0" marginheight="0" src="html/message.html" name="top" scrolling="no" target="text" noresize> <frame marginwidth="15" marginheight="15" src="html/home.html" scrolling="auto" name="main" target="text"> </html> The layout will as message.html appearing as a horizontal window at the very top of the screen just show the most recent news and topics, index.html will appear on the left hand corner of the screen allowing links for navigation, and home.html will appear every where else in the center to bottom right hand corner of the screen. I have the links up and running for the index.html and can bring up new files that appear in the index frame but I need them to appear in the home frame, what is the line the line of code for this. Thank you for any help. Hi all, I have been trying in so many ways now to make the favicon appear in IE 6. It works fine in FF but not in IE. I made sure the name was "favicon.ico". I tried clearing my cache and readding the bookmark. None of them seems to work. Can anyone give any suggestions as to why it is not working? If there are HTML errors on the page or if the image size is too big would that prevent it from working. If that is so then why would it work in FF? Also does it have to be in the root folder or in the same folder as the page for IE? Has anyone gotten it to work in IE with a link to the images folder like this... <link rel="shortcut icon" href="/images/public/favicon.ico" type="image/x-icon" /> This is what I have and it works in FF but not in IE. Thanks for any help, Jehan http://www.shiningstarwebdesign.com/pawcb/coaches.htm I used the design portion of Dreamweaver to put pictures in to the tables that say Competitor 1, 2, 3, and 4, and when opened in a browser, the pictures did not appear. I checked the HTML and couldn't find the problem. Does anybody know why these pictures are not showing up? Hi all - I've got a DIV on this site which needs to scroll horizontally. It was previously working, and then I messed around with the code and the scroll bar stopped working ... and now I can't get it back again. The scrollbar appears but is blank with no buttons. this is the link: http://www.gmbfilms.com/november/ebp...wesome%20Video you see the thumbnails - there are more in the div and before I could scroll to the right to see them. Now it doesn't work! hopefully this is an easy fix. Any help much appreciated! Thanks Hi everyone, my problem is that I have a table with a background, which shows in my html editor, but when I upload the page, in bluehost, the background image doesn't show. All other images are showing fine except the background images of any table. here's what I'm writing <table width="817" height="172" border="0" align="center" cellpadding="12" background="backsev.jpg" bgcolor="#CCCCCC"> <tr> <td><td align="right"><table width="480" height="145" border="0" cellpadding="0"> <tr> <td valign="left"><div align="justify"> </div></td> </tr> </table></td> </tr> </table> so in this case, after uploaded it only shows bgcolor is is not reading/showing background="backsev.jpg" any ideas? Have a very simple webpage but have noticed it has started setting off virus warnings now in some security software when loading the page. Warnings go off in Avast (my home computer) when I try to access the page, but not Trend Micro (work). Took a look at the coding and noticed that random "question marks" are appearing at the end of the page. I am not inserting these and have no idea where they are coming from. No one has access to my FTP but me. Here is a sample of the code at the end of the page: <td colspan="5" class="footer"></td> </tr> </table> </body> </html>??????????????????????????????????????????????????????????????????????????????????????????????? ???????????????????????????????????????????????????????????????????Z??????????<?????????????????Z??? ???????????????????????????????????????Z??????????????????????????Z???Z??????????????????????<?????? ?????????????????<?)????????????????????????????????????????????????????????????????????????Z??????? ??????Z??????????????????????????????????????????????????????????? Any idea what this is an how to get rid of it? If I delete the extraneous code and upload a new page it appears again after a few days. Thanks, TomPaz Hi all, I have 2 tr tags in table. For some reason a space seems to be appear in between these 2 tags when the page is displayed in the browser. The HTML is below... The space appears between the button and the "Para Espanol" link. Does anyone know why this could be happening? I want these link to be right under the button. Any help would be appreciated. Thanks, Jehan <table width="100%" border="0" align="left" cellpadding="0" cellspacing="0"> <tr> <td> </td> <td class="bodyMenuMajor">search for: </td> </tr> <tr> <td> </td> <td><FORM name="webSearchForm" method="post" action="/search/search_process.jsp" onfiltered="return checkbae()"><INPUT type="text" name="queryString" value="" size="15" maxlength="30"> <INPUT type="hidden" name="exactPhrase" value="true"> <INPUT type="hidden" name="hitsPerSet" value="10" > <input type="hidden" name="fromDays" value="~"> <input name="search" type="submit" value="go" class="button"> </form> </td> </tr> <tr> <td> </td> <td class="hfaSpanish"> <a href="/public/HFAEspanol.jsp" >Para Espanol</a></td> </tr> I've got the weirdest thing happening... An image on a site I'm working on doesn't appear on in Firefox on my computer when I view the site online. It's fine offline, and it's fine on other computers... including browsercam. It's also fine in IE on my system AND when I set up a guest system in VMWare I can see it in Firefox. So this probably isn't really an HTML question, just a "Have you ever seen this total weirdness?" question. I've rebooted repeatedly. The image is the photo of the sledders in the upper left corner at http://tourismwithkidsinnh.com. |