HTML - Div Moves When Link Clicked
when i click on a link on my "test page" the div with my links in it moves up...but when i click back to the "home" page it moves back down take a look at the attached file to see what i'm talking about...is there any way of fixing this...it does this on both FF and IE 8.
can someone help me with this...if it's something that i simply have to deal with then that's fine...just thought that maybe something was wrong and could be fixed. Similar TutorialsI've got a page of results, and at the bottom it has page numbers and a link for next page etc all head in a div. Sometimes it is display correctly with 20px margin-top, but other times, it has no margin-top, but will move down to its correct position when you try click on it. Anyone had this sort of thing before? Thanks I am attempting to put an amazon link on my web site. I have found the position I want but when I minimize the screen the link moves over to the other text. If you want to see exaxtly what I talking about go to: http://www.mullady.com/mortgages.html Here is the exact code I am using the BOLD is the problem area <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>MuLLady.com - Mortgages</title> <meta http-equiv="Content-Language" content="English" /> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <meta content="MuLLady Financial Solutions" name="description" /> <meta content="mullady, mortgage, finance, credit, real-estate, realestate, asset protection, insurance, credit repair" name="keywords" /> <meta content="index,follow" name="Robots" /> <meta content="sNews 1.5" name="Generator" /> <link media="screen" type="text/css" rel="stylesheet" href="style.css" /> <link title="RSS 2.0" type="application/rss+xml" rel="alternate" href="rss/" /> <style type="text/css" > .post { font-size: 16px; } </style> <style type="text/css"> iframe { position:absolute; top:400px; left:200px; } </style> </head> <body> <div class="content"> <div id="top"> <div id="icons"><a title="Home page" href="index.html"><img alt="Home" src="images/home.gif" /></a> <a title="Contact us" href="contact.html"><img alt="Contact" src="images/contact.gif" /></a> <a title="Sitemap" href="sitemap.html"><img alt="Sitemap" src="images/sitemap.gif" /></a> </div> <h1>MuLLady.com</h1> <h2>Financial Solutions</h2></div><!-- end of the Top part --></div> <div id="lowercontent"> <div id="lower_wrap"> <div id="lower_pic"><a title="Trident Financial 244 information request" href="TF244apply.html"></a> <div id="lower_slogan"> <div class="post"> <iframe src="http://rcm.amazon.com/e/cm?t=mu05-20&o=1&p=8&l=as1&asins=0316044695&fc1=000000&IS2=1<1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFF FFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="20" marginheight="0" frameborder="0"></iframe> <h4 class="title">Mortgage information </h4> <p>We have access to the premier companies in the mortgage industry...and that is saying something.</p> <hr /><img alt="" src="images/mortgagelogos.jpg" /><br /> <hr /> <p>We have thrived in this ever-changing industry, gaining the strength and respect necessary to provide our clients with the best possible mortgage experience. Perhaps it's because we know where our priorities are.</p> <br /> <p>We help make home ownership a reality. We help buyer, borrowers and loan officers build a life they can be proud of. We know what's important.</p> <br /> <p>We have access to the premier lenders in the mortgage industry. Our mission is to provide our clients--both the consumer and our partners--with the best possible financing options available in today's mortgage lending environment.</p> <br /> <p>We were born out of a solid business concept to offer a better way for the mortgage professional to serve the home buyer on a local level, while having the power of a national mortgage bank behind them. By providing our branches with the benefit of a nationwide network, they are able to offer better personal service, more competitive rates, and faster closing times than their competitors. Our concept is to have all of our offices working together to bring the best possible service and products to home owners. We have offices all over the country, each one locally staffed and operated. Our Loan Officers live in your neighborhood. They drive on your streets. They're your neighbors--and, they root for the home team.</p> <br /> <p>Our goal is to provide the home buyer with the most experienced loan experts, the lowest rates possible, unbeatable customer service, and a worry-free experience, whether they are buying a new home, refinancing an existing loan, or getting a home-equity loan. Our system not only benefits our various national branches, it benefits borrowers all over the country. By giving our branches the autonomy to make decisions on the local level, the power to lend within a multi-billion dollar mortgage banking institution, and the technology and tools to do it quickly, efficiently, and accurately, we have given them the opportunity to truly excel in customer service.</p> <br /> <p>We have experienced record growth, and an ever-expanding branch network. We have partnered with many mortgage professionals, and we are continuing to grow. Our partners have the size to command respect in the market place, funding billions of dollars in mortgages each year. This respect is carried to the branches, who, in turn, offer it to our customers</p> <br /> <p>There are few joys more rewarding than helping a friend into a home. Homes build neighborhoods, communities, and friendships. This is the passion and joy behind our Branch Partners. We help individuals and families across the country achieve their dream of home ownership.</p> <br /> <p><a title="Mortgage Information Request" href="244form.html">Click Here To Request Assistance</a></p></div> <div class="post"> </body> </html> Hi guys, I'm looking for a script or some code that would change the name of the link once clicked. Say I have a link that says: CLICK HERE TO SEE MAP Once I click it, the link says: BACK TO DESCRIPTION And once I click this one, it goes back to: CLICK HERE TO SEE MAP Any ideas? Hey guys, I was wondering if there was a possible way to make a link disapppear after it is clicked, and for it to stay that way until the link is changed. Help? Thanks i know.. stupid question.. i should know how to do this.. but i dont.. how do i make a layer appear when i link is clicked? i want to have [?] next to something, and when clicked, a layer becomes visible that shows some text, then when an X on the layer is clicked, the layer becomes invisible again i know it has to do with visible=true/false.. but idk what to do.. help please Hi, i want some help regarding HTML links. I have a table containing topic and topic id. and another table having topic_id, sequence_no and Replies columns. I have a php + mysql script which show all the topics as html links. Now what i have to do is when any of link is clicked it should get identified and all the corresponding Replies should be displayed sequencially. I dont know how to identify and fetch topic_id on which i have clicked. Please help. Thanks, Jaas. Hey guys I need some help regarding a website I made from a template. you can view the site at http://www.goosetrailbnb.com/ The problem is that when you click on the links in the bottom navigation bar, it will only show the page for a second (not properly aligned) and then redirect back to the index.html automatically. If you click the links on the menu up top in the flash header, the links work fine. I am using iframe....so my pages are index.html, iframe_0.html, iframe_1.html, iframe_2.html and so on. I have the links set as iframe_0.html etc for the links in the bottom navigation bar. Any help would be appreciated!!! Thanks Hello Guys, I use Named Anchor to navigate within my webpage. Is there any way how one can navigate back to the clicked link from the destination? Normally the backspace works. But I would like to add a link at the destination and clicking this link would take me back to the clicked-link. Is this possible? I hope I made myself clear. If any of you can give me some advise about this issue, it would be much appreciated. Thanks in advance, Chuma P.S - I read in a site that using the <li> tag can do this. I am unsure how that works either. If any of you have any idea about this, please let me know. Thanks. Website - http://www.jakobmetzger.com/misc/sites/kindlingeffects/ CSS - http://www.jakobmetzger.com/misc/sit...stylesheet.css The CSS that is related to the rollover images in under /*-- Features Rollover Image--*/ Whenever someone clicks one of the features on that page in firefox it leaves a grey box around it. Is there a way I can remove that box or somethign I can do to hide it? I have had this problem on almost all the websites I've made and I'm too picky to let it go... When I make the navigation images/buttons for a website, I set the border to zero as usual and link each image to its respective page. But, when I click on the image to take me where it's supposed to, this pesky dotted border appears around the edge of the image after it has been clicked and it remains there until I click on something else on that page. (This also happens to text links when clicked, but I'm not too worried about the text links.) For the websites I've made that go to an entirely new page after an image link is clicked, the dotted line appears around the linked image after it's clicked and before the next page has loaded, but then after the new page loads the dotted line is gone. But, for websites I have built that utilize frames, because the new page that loads is in an iframe, and because the page the navigation buttons are located on never changes, the dotted border stays around the image after its been clicked and, like I mentioned earlier, doesn't go away until I click on something else on that same page. An example of this can be seen when you click the images in the navigation column along the left side of a website I built located at the following URL: http://www.djprogress1.com/ This border problem could be specific to my website browser (I use Firefox), but I am not sure. And the border could be added entirely by the browser and there may be no way to get rid of it through coding, but again, I am not sure of this. So, does anyone know if anything can be done to fix this or am I stuck with these dotted borders? Thanks, Jase Hi All... I'm building a website in Dreamweaver 8. I have one layer in the site that contains a form field for collecting email addresses. The layer is placed on top of an image. When I horizontally resize my browser window the layer moves. When I resize the browser vertically it stays in place. I've tried switching the layer properties from relative to absolute and back again but it doesn't make a difference. Could someone please have a look at the page and see if they have any suggestions? The link is http://www.sweetdivinemusic.com/storycollective This is the last piece I need to fix before taking the site live. Thanks a ton folks! Robert I created a layout in photoshop that was in 1024x768 res and then I put it into Dreamweaver and got the layout aligned but when I insert text it stays where I want it but then when I change my res the text moves. I used "Draw Ap Div" in Dreamweaver to create the text over the image sliced layout. Is there any way of keeping it where I want it at every res? Hi there, I am currently making an iPhone/Touch website, and would like to know how I can make it so the top banner stays at the top, while the main body of the site scrolls up and down below it. Can you help? Josh In this code I'm using, on the index page is a log-in box. Once a user logs in the log-in box disappears and the container below the log-in box moves up to the log-in box spot. The reason I want to change this is that it leaves a blank space below the moved-up container. Can this code below be changed to, instead of the log-in box disappearing, it is replaced by an equal sized text box, thereby not allowing the below container(news flash) to move up? Any help will be appreciated. Thanks. Code: <!--Begin Right Column--> <div id="column-right-1"> <!--Begin Login Box--> <div id="login-box"> <!--[onload_300;block=div;when [var.show_login_box]=1;comm]--> <form action="login.php" method="post" accept-charset="UTF-8" class="middletext"> <ul> <li><label><font class="font4_13">[var.lang_user_name]:</font></label><span class="username"><input type="text" name="user_name_login" size="16" style="width:138px;" /></span></li> <li> </li> <li><label><font class="font4_13">[var.lang_password]:</font></label><span class="password"><input type="password" name="password_login" size="16" style="width:138px;" /></span></li> <li> </li> <li> <input type="submit" value="[var.lang_login_now]" class="button-form" /> </li> <li> </li> <li> <a href="login.php">[ [var.lang_password_reminder] ]</a> <b>|</b> <a href="[var.register_menu_link]">[ [var.lang_register_today] ]</a> <input type="hidden" name="submitted" value="yes" /> <input type="hidden" name="remember_me" value="remember_me" /> </li> </ul> </form> </div> <!--End Login Box--> <!--Begin News Flash--> <div class="header-narrow">Welcome</div> <div class="container-narrow"> This is for your content.Lorem ipsum adipisicing elit, sed do eiusmod ut labore et dolore magna aliqua <ul class="content-list-narrow"> <li><!--[var.newsflash;htmlconv=no;comm]--></li> </ul> </div> <div class="container-narrow-bottom"></div> <!--End News Flash--> </div> <!--End Right Column--> What could be wrong with my html or dreamweaver settings? I have code similar to following: Code: <div id="mydiv"> <span id="myspan"> <p>Some <em>text</em> here</p> <p>Some more text here</p> </span> </div> If I select the word 'text' in Design view and make it not-emphasized/Italics, the code changes to: Code: <div id="mydiv"> <p><span>Some text here</span></p> <span> <p>Some more text here</p> </span> </div> So it's decided to remove the id attribute from the span and move the span inside the paragraphs, and since there's two paragraphs, there's an extra span as well. The result is the same even if the span is outside the div. Even if the code is wrong, why is dreamweaver fixing it when I'm just trying to do something unrelated. (The em tag is not the only one that causes this to happen.) Hi guys, All of my pages are centered in the middle of the screen except my contact_us.html page which shifts half a centimeter to the right (still in the middle of the page but it moves slightly). This page contains a form inside a table. Why does it move?? I can put code up if the answer cannot be resolved from the info provided Thanks, Raggy Hi I have made a Website for my Dad but am experiencing problems. I have put all the texts in a layer and when i view the website on my screen (1024 by 768) all is fine but when I look at the website on my dads PC (1280 by 1024) the words are not centered and are too far of to the side. how do to keep text aligned on different screen resolutions browser how do i anchor the layer/textbox so when the resolution increases the text stays where i want it to stay. Does anyone know of maybe a Java script or some something that anchores the layers (makes the layers stay in the middle even if the resolution changes). Because i have a website (http://israelat60.zxq.net) and when i look at it in a resolution higher then 1024 by 768 the text is not in place. Thanks for you time and help I was wondering if someone could give me the javascript to make text change color or size or make bold when mouse moves over. Thanks for the help! Hi Anybody know where I can get a free bit of code that will show how many times a thumbnail has been clicked?? I ant to show viewers how many times thumnails have been clicked by showing the number of clicks under each thumbnail. Leroy |