HTML - Question About Position
i want the blue bar stay at the top of <div
if i used scroll of div code of div PHP Code: <style type="text/css" media="all"> #boxtable { /*the chat div container*/ text-align:left; margin:0 auto; margin-bottom:10px; padding:1px; background-color: #f0f0f0; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; border-right: 1px solid rgba(9, 9, 9, 0.125); height:400px; width:910px; overflow:auto; } </style> PHP Code: <div id="boxtable" > <div id="blueBarHolder" class="slim"> <div class=" fixed_elem" id="blueBar"> </div></div> Work closely with Development team to ensure timely completion of deliverable.<br> WorkcloselywithDevelopmentteamtoensuretimelycompletionofdeliverableorkcloselywithDevelopmentteamtoensuretimelycompletionofdeliverableorkcloselywithDevelopmentteamtoensuretimelycompletionofdeliverable Analyze, design, develop, implement, and maintain moderate to complex computer programs and subsystems<br> </div> i have tried PHP Code: <style type="text/css" media="all"> .slim #blueBar{ height:37px;} #blueBar{background-color:#3b5998;min-width:981px;width:100%;z-index:300} .fixed_elem{position:absolute; } </style> it worked but ****ed up the style.. picture in attackments thx for help Similar TutorialsHi Folks, I have multiple objects which are positioned relative to one another. The position of the first object is fine but the subsequent ones reference the position of the previous one. Is there any way I can make a hidden "base" object and position relative to that without re-creating it for each object? Thanks! Hi all =) I have a page at: http://bartending.com/online_courses...newsletter.php The footer won't go to the bottom of the page. Can somebody please tell me what's wrong with this page? Thank you =) Light and Love and Healing to you, -Patrick Arden McNally Howdy all, I have three scrolling divs that i want to be the height of the page, so i'm guessing position:absolute and height:100% will do that just fine. But i want these three scolling divs to be inside a position:fixed element so that they stay put when scrolling down the page. Is this possible? I dont think a pos:absolute will work nested inside a pos:fixed. How could i work around it? thanks! Hi I' try to work with div tag for the first time and I would lke to know how do I pu div tag in the center of the page. Margin-left it's not the rigt solution. Any other idea? Code: <div id="slideshowContainer"> <div id="imagecontainer"> <script type="text/javascript"> changeslides("initial") </script> </div> <div id="numberDiv"> <script type="text/javascript"> createnumbers() </script> </div> <div id="backforthbuttons"> <div><a href="javascript:goforward()" style="float: right"><img src="../images/buttons/foward.gif" border="0"></a> <a href="javascript:goback()"><img src="../images/buttons/back.gif" border="0"></a> </div> </div> </div> Hey guys I am trying to build a website and I have an image I am trying to write over top of,so I have used a div tag and positioned it and it works. The only problem is when I view the site on another computer that has a different size computer the text is placed completely wrong but on mine it is perfect. Any way to fix this? Code: <div class="style1" style="position:absolute; margin:3px; padding:3px; left:850px; top:154px; width: 50px; height: 25px;"> <a href="page1.htm>1</a></div> Hi all. I have a page at: http://bartending.com/forum/page.php?page=joke&type=1 My div entitled "Featured" is not lining up. Can any body tell me why? Thank you =) Light and Love and Healing to you, -Patrick Arden McNally I have never been good with this... I cannot get an iframe to be positioned correctly on more than one computer. http://www.e-lusively.com I am using Firefox with 1280x800 and it looks fine for me. Ugh how can I get it to look good in any resolution? Please help... Hello All, I have a problem with div position in my html page. I need two divs position=relative aligned with a single div. Basically I have a header panel, content panel (have two vertical column height changed dynamically) and a footer panel. So Content panel vertical column needs to align with header panel. I need all div tags position relative, so when every div increases in height bottom div sifted down automatically. I have this http://www.arunverma.info/webmaster_help/ Can sombody help me to short it out. Thanks in advance Sunil Hello everyone, I've go this code here for positioning the "comments and frieands" together in in a scroll box at the bottom of the page. But I'd like to put it in a sertante position. Could anyone plaese help me find out were and what to put in this code. And for more information this is a code I want to put within a "div" image and place it in relation to were the image is (0,0) not were the page starts (0,0). -------------------------------------------------------------------------------------------------------- <i class=i> <a href="http://xiii.us/ms/center-friends-and-comments"</a>scroll center friends and comments</a></i> </td></tr></table> </td></tr></table> </td></tr></table> <div class="myDClassFC"> <table><tr><td> <table class="off"><tr><td> <table><tr><td> <style> .i {display:none;} div.myDClassFC {height:400px; overflow:scroll; overflow-x:hidden} </style> <i class="i">!-END Block to put Friends and Comments in a Scroll Box-! </i> ----------------------------------------------------------------------------------------------------- Well I appreciate everyones thought. Hey, im working on a site for my School final project worth 30% of my mark.lol Anyways i made a simple table with a picture in it plus a heading. Everytime i make a table, it just it just stays right underneath my navigation. it never moves and i dont know how to move the entire table as a whole. Im new to coding so im not sure how to fix this problem. here is an example of my html and css code. -------------------------------------------------------------------------------------------------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Welcome to my Web Portfolio Site</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <link rel="stylesheet" type="text/css" href="Home1.css" /> </head> <div id="header"> <p><img src="Web Photos/banner.jpg" class="feature" width="450" height="90" /></p> </div> <body id="Home"> <div id="navigation"> <ul id="tabnav"> <li class="Home"><a href="Home.html">Home</a></li> <li class="About Me"><a href="#">About me</a></li> <li class="Application"><a href="#">Application</a></li> <li class="Careers"><a href="#">Careers</a></li> <li class="Links"><a href="#">Links</a></li> <li class="Gallery"><a href="#">Gallery</a></li> </ul> </div> <TABLE class="home" border="0" RULES=GROUPS > <THEAD> <TR> <TH>Welcome</TH> </TR> </THEAD> <TBODY> <TR> <TD><img src="Web Photos/banner2.jpg" class="feature" width="760" height="200" /></TD> </TR> </TBODY> -------------------------------------------------------------------------------------------------------- body { color: #000000; } #header p { text-align: right; padding-right: 2px; padding-left: 10px; } ul#tabnav { list-style-type: none; margin: 0; padding-left: 20px; padding-top: 0px; padding-bottom: 30px; border-bottom: 1px solid #7d7d7d; font: 20px Tahoma, arial, sans-serif; } ul#tabnav li { float: left; height: 20px; margin: 2px 2px 0 2px; padding: 4px; } #navigation a { text-decoration: none; } table.home th { text-align: left; color: #7d7d7d; font-family: 7px Tahoma, Verdana, Arial; } table.home th, table.home td { border: 1px solid #7d7d7d; padding-top: 5px; } a:link { color:#7d7d7d; } a:visited { color: #7d7d7d; } a:hover { text-decoration: none; color: #FFFFFF; } a:active { color: white; background-color: none; } -------------------------------------------------------------------------------------------------------- Hi, As a newbie html can be a little overwhelming just because of the many different ways a task can be achieved. I'm looking for some advice on the best method to achieve something like this: I have 7 pieces of information about a site user, they are; Avatar 60 x 60px ScreenName DateJoined UserAttribute1 UserAttribute2 UserAttribute3 UserAttribute4 All bar the avatar are text. I would like the outcome to display something like this: Avatar ScreenName DateJoined UserAttribute1 UserAtteribute2 UserAttribute3 UserAttribute4 I'm unsure as to whether to put the avatar and text in 2 divs(left and right), and whether to use spans or lists for the text. Any advice would be appreciated. Thanks in advance. Hi, I am looking for the easiest and reliable solution to make the "View on Google Maps" image to look like here http://www.dublinbynumbers.com/troubleshooter.html instead of here http://www.dublinbynumbers.com/categories/cinemas The solution should work in both IE/FF and any screen resolution. Thanks in advance for your help, Sorin Hi Comparing this code <div style="border:1px solid black; width:120px;height:25px; padding-top:0px;">hello</div> in Internet Explorer 9 and FireFox 4 shows, that the word 'hello' is not at the same vertical position. Is there a method, to adjust this? Thanks for your information. Patrick In IE7, 6, and 5 and only in IE7, 6, and 5 my flash navigation menu jumps around a little bit from page to page (no more than half of an inch or so per page, minor, but irritating). Probably an easy fix, but how? Do I need to wrap in a div first or should I just apply the rule to the td with an ID? And, should I use absolute positioning, relative, or neither? And I know I know navigation menu not good - I am working on text links for the bottom. One of the pages in question is below, but just navigate around the site and you will see what I am talking about. Much thanks! http://www.buildingblockshomedaycare.com/parents.html I want to position my slideshow in the center of the side. the buttons are positioned with css. http://javascript.lima-city.de/ Who can help ? Please look at my source at http://www.n60.org and tell me how I can move my text over so it fits in the frame. I've been at this for hours. Hello! Ive been struggling with this for a few hours. http://oliviergraphics.se/uneven/index.html The background pic is in the right position in every browser (I think) and the right size on all type of screens. The problem is that if I add a extra div, it takes different positions on different sizes of screens. On my 13" screen, my site is perfect. On a 17", not a chance. I can send you the codes and so on. The main problem is that, the divs don't get the same positions on every screen. Wich ruins my design, here are the whole html: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <title>K R E O N [Debut album this year. 2011]</title> <link rel="stylesheet" type="text/css" href="style.css" /> <meta http-equiv="imagetoolbar" content="no" /> <link rel="shortcut icon" href="favicon.gif"> </head> <body> <div id="holder"> <div><img style="width: 1920px;" alt="" src="tok.jpg" /></div> </div> <div id="body"> <div id="twitterfeed"> @<a href="http://twitter.com/KreonSweden">KREON:</a> <div id="twitter_update_list"></div> <script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script> <script type="text/javascript" src="http://twitter.com/statuses/user_timeline/kreonsweden.json?callback=twitterCallback2&count=1"></script> </div> <div id="video" style="position:absolute; bottom:20%; left:70%; margin-left:-156px;"> <iframe src="http://player.vimeo.com/video/24798537?title=0&byline=0&portrait=0&color=ffffff" width="400" height="300" frameborder="0"></iframe><p><a href="http://vimeo.com/24798537"> <div id="links" style="position:relative; margin: -10px auto; left:18%;"> <a href="https://www.facebook.com/unevenstructure"><img src="facebook.png" title="Join us on Facebook!" /></a> <a href="http://www.twitter.com/unevenstructure"><img src="twitter.png" title="Follow us on Twitter!" /></a> <a href="http://www.soundcloud.com/unevenstructure"><img src="lastfm.png" title="Listen to us on Soundcloud!" /></a> <a href="http://basickrecords.com"><img src="myspace.png" title="Visit our label BASICK Records!" /></a> </div> </div> </div> <script type="text/javascript" src="scaler.js"></script> </body> </html> PLEASE help me, i'm desperate. I am having a real problem with keeping the text located at the top of the page right below the navigation. for some reason the text and photos just drop down the page in IE. No problem in Safari though. This seems to only be happening with images on the page. http://www.musicbridgesinternational.com please help I have no idea what the problem is here. thank you! I am trying to create an inline frame that loads a website but at a certain pixel position in that website...such that when the webpage loads in the frame it will load for example 100 pixels from the left edge... thanks so much... |