HTML - Making Two Divs, One Above The Other
is it possible to have div #1 which is 500 x 500 and div #2 which is also 500 x 500 directly above div #2 (rather than below or next to it)?
i am thinking of using the z-index to making this happen... am i on the right track? so div #2 will have a z-index which is greater than that of div #1 Similar TutorialsHi I need to make a table to display data(obviously), but i only want to use divs. It needs 11 columns and a flexible amount of rows as i will be adding to it. I attempted to make one myself, but when i end and div tags, it goes straight to a new line. I dont want to use tables, it needs to be valid XHTML 1.0 transitional and cross-browser compatible. Can anyone help me? Thanks in advance, Chris I was wondering if there was any specific code that i could use to mkae a thumbnail of an image that leads to a larger image, without having to make 2 separate images. Hi there, I am building a website for my products and want to create some tap-like buttons for the product description. Please see the details on this sample site: http://www.christiedigital.com/AMEN/...stieHD10KM.htm So the content has been classfied into "Description", "Overview", "Specifcation", etc on the same HTML page. Does everyone know how to create this feature in HTML coding? Or is there any tool to make this feature? Any suggestions are very welcome. Thanks. Hi I've found a nice template of a website online (free). But i couldn't find a way to fully make the template RTL. Could anyone assist be with some basics? I could even upload the template. Thanks, I've been working for a long while on this script, and I can't get it to work. I'm mostly doing it to learn, because I stink at HTML and pretty much any scripts.. What I'm basically trying to do is make a page with two screens on at once, like a split browser. Since I have practically no experience in HTML, I still haven't figured out how to make the top bar (address bar) stay no matter what site I am on. Help.. please? Address bar code below, may need some work Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>ItsJareds</title> <script language="javascript"> <!--// function findworld(form) { server = '<frame src="' + form.server.value + '">' document.write('<html>') document.write('<frameset cols=* rows=" frameborder=0 border=0>') document.write(server) document.write('</frameset>') document.write('</html>') } //--> </script> </head> <body bgcolor="748269"> <div style="position:fixed"> <form name="worldselector"> <TABLE WIDTH="100%"> <right> <TR> <TD valign="middle"><font color="3B5E2B" size="4"><strong>Address: </strong></font></TD> <TD valign="middle"> <input type="input" name="server" size="40"> <input type="button" value="Load Page" onclick="findworld(this.form)"> </TD> </TR> </right> </table> </form> </body> </html> Hi, I made a div into a link by making the "a" tag into a block element. Now that I did that, I added text and images to the div, and now the link only works around the text, but fine over the image. How do I get the link to work over the entire div? Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" > <title>Website</title> <style type="text/css"> .bbodytext { margin:0; position:absolute; left:90px; top:40px; font-family:Arial; font-size:9pt; color:#7B7B7B; width:212px; height:43px; } .bheadtext { width:200px; height:20px; left:90px; position:absolute; top:17px; font-family:Arial; font-weight:bold; font-size:10pt; color:#404040; margin:0; } .link { display:block; top:0; left:0; width:333px; height:100px; position:absolute; } #bright { top:0; left:666px; position:absolute; background-color:#FFFFFF; width:299px; height:66px; padding:17px; } #bright:hover { background-color:#ECEFEF; } #bcenter { top:0; position:absolute; background-color:#FFFFFF; left:333px; width:298px; height:66px; border-right:1px solid #DBDEDE; padding:17px; } #bcenter:hover { background-color:#ECEFEF; } #bleft { top:0; left:0; position:absolute; background-color:#FFFFFF; width:298px; height:66px; border-right:1px solid #DBDEDE; padding:17px; } #bleft:hover { background-color:#ECEFEF; } #bottom { height:100px; width:999px; position:relative; box-shadow:rgb(168, 171, 171) 0px 2px 5px; -webkit-box-shadow:rgb(168, 171, 171) 0px 2px 5px; -o-box-shadow:rgb(168, 171, 171) 0px 2px 5px; -ms-box-shadow:rgb(168, 171, 171) 0px 2px 5px; -moz-box-shadow:rgb(168, 171, 171) 0px 2px 5px; top:128px; } #wrapper { height:635px; width:999px; top:0; position:absolute; left:50%; margin-left:-499.5px; } body { background-color:#DEE1E1; margin:0; padding:0; } </style> </head> <body> <div id="wrapper" > <div id="bottom" > <div id="bleft" > <a class="link" href="http://www.google.com" ></a> <img src="images/icon.png" alt="" > <p class="bheadtext" >Lorem Ipsum Dolor</p> <p class="bbodytext" >Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent nec dapibus odio.</p> </div> <div id="bcenter" > <a class="link" href="http://www.google.com" ></a> <img src="images/icon.png" alt="" > <p class="bheadtext" >Lorem Ipsum Dolor</p> <p class="bbodytext" >Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent nec dapibus odio.</p> </div> <div id="bright" > <a class="link" href="http://www.google.com" ></a> <img src="images/icon.png" alt="" > <p class="bheadtext" >Lorem Ipsum Dolor</p> <p class="bbodytext" >Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent nec dapibus odio.</p> </div> </div> </div> </body> </html> Well i'm a total newby at this and i was wondering if you guys could help me out with this i want a form with a textbox so someone can put something in the textbox and click a sumbit button and then what ever they put in the textbox can be stored and the submit button redirects them to another page... is this possible? Hi guys, I am building a site for a new company and they need a page with a form on it that a user can fill out, that gets sent to the company, which they use to send back a quote. So obviously the form will require fields for the users name and other important details. As for the actual info needed to make the quote, there are three different types of quote (so maybe three different forms would work?) The forms are as follows: Marine Type of boat: Length: Height to antifoul line: Hull: Material: Antifoul re-application: (yes/no) Marina location: Automotive Make: Model: Year: Type of strip: Condition: Rust: Blast location: Home location: Swimming Pool Type of pool: locaton: Size (m squared): Depth: Shape: Tiled: (yes/no) Re-paint: (yes/no) Blast location: This excel file also shows the forms required: http://www.mediafire.com/?33oxx0zf6tac8ap I would greatly appreciate it if someone showed me how i can make these forms using HTML. Thanks On my HTML file i am trying to get the border to stay as it is and only get the middle bit to change when i click. The reason for this is that in the border there is alot of information which will be changed often and if i dont single pages it would require me to change each and everypage correct? So i was wondering weather i can make a panel to go in the middle which would change everyimime the user clicks on a new Link from the top bar. This Is What It Looks Like: Thanks hi please check my site www.yourdesign.org and please could somebody tell me how i can stop it going all weird in IE, it looks fine in firefox cheers guys n gals hi every one i thought some one can help me i no HTML but i want to make a online web gaming site like vicecitywars,forcewars,metrowars and 2453thegame. and i would like how no to make it and what to use and what els to know and explain well cos im beginner and i realy want to no how to so plz help ????? thank you for time I want to make a table with two rows But i want to make sure that the data in the 2nd column is always align to the right.....Like this Data1 Data2 Data2 Data3 And not <tr><td>Data1<\td><td I want this side of the row to always be align to the right..>Data1</td></tr> Data2Data3 I know this is easy...But i am not quite sure how to do.... I know about tables, but are there advance programming for certain condition? I mean if I want certain cells to certain lengths and so on? im just wondering if any1 uses programs other then google adsense... i have seen a few not many that look too promising... does any1 know any CPM (cost per 1000 hits) sites... i would like to have @ least 1 of those if i could find a decent site for them... Thanks... Hello knowledgable HTMLforum gurus. I have a client that would like a blog feature on her site, so that she can update one of the pages with announcements, etc. Is there some free code anywhere that I can use to accomplish this? I'd like the code to be able to archive old entries and have a search function if possible... Also, I need to have the blog section fit into the same design scheme as the rest of the site that I will be creating, so outsourcing to blogspot or something like that is out of the question. Does anyone know of any freeware that can accomplish this? Thanks in advance, hous edit: please forgive the placement of this thread - not sure where this belongs. http://img91.imageshack.us/img91/335...idealolza9.jpg Hey anyone out there willing to help, i'd like my site to look like this but have no idea of how to do it LOL. That would be the main page, the images would be different of course, and then i would hyperlink the 'about us,' 'contact,' and 'news' to another page, but i'll worry about those later. So for now, any idea of how to do it? Hello all. I am kinda a noobie at this, so dont get mad at me! How would i make a bkg not tiled? Im not exactly sure. Please help. I am very new to html coding and so I don't no if this is even possible. But what I want to do is have a user click on an image or a button and have another image or text or whatever appear on the same window. I no about the onclick action and understand a little bit about forms. However I am at a real wall on this one. thank you Is there a way to make an image or image map link to 2 different places when clicked? Thanks in advance hey i wanna put an add next to my site chat box but i do the align thing and it goes under heres my codes without any changes <embed src="http://www.xatech.com/web_gear/chat/chat.swf" quality="high" bgcolor="#000000" width="600" height="500" name="chat" FlashVars="id=29774756&gn=CinemaSite" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://xat.com/update_flash.shtml" /><br><small><a target="_BLANK" href="http://xat.com/web_gear/chat/embed.php?id=29774756&GroupName=CinemaSite">Get CinemaSite chat group</a> | <a target="_BLANK" href="http://xat.com/CinemaSite"> Goto CinemaSite website</a></small><br><img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/CIMP/bT*xJmx*PTEyMTE1MTYzNzI2NDkmcHQ9MTIxMTUxNjQwMTU2NSZwPTUzMTUxJmQ9Jm49Jmc9MQ==.jpg" <!-- Begin: AdBrite --> <script type="text/javascript"> var AdBrite_Title_Color = '0000FF'; var AdBrite_Text_Color = '000000'; var AdBrite_Background_Color = '808080'; var AdBrite_Border_Color = '333333'; var AdBrite_URL_Color = '0000FF'; </script> <script src="http://ads.adbrite.com/mb/text_group.php?sid=707068&zs=3132305f363030" type="text/javascript"></script> <div><a target="_top" href="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=707068&afsid=1" style="font-weight:bold;font-family:Arial;font-size:13px;">Your Ad Here</a></div> <!-- End: AdBrite --> what do i add to make the add on the right side of the chat ???? |