HTML - Div Tags To Table...
Hello
I am new here... I have been looking all day... and come across some interesting posts around the internet. I have a website design... made with div tags. I need one page to be made in table tags... I have the page in div... is there away i can change the html into div tags? I am "new" to div tags... I dont really like them... but can use tables so much easier... I have found people that "claim" to be able to make table tags into div tags with software... If this is not possible... can someone slice my psd file into a table tag html page? Similar TutorialsOkay, so I have a table and for some row I want to actually display text like <html> and other HTML tags, but obviously when I have that within a table it will treat all HTML tags as data and not text... any suggestions? Example: <head> <title>Title</title> <style> table{color:FFFFFF} </style> </head> <body> <table border="1"> <tr> <th>Blah</th> <th>Blah 2</th> </tr> <tr> <td>Random text</td> <td><html></td> </tr> <tr> <td>CreateFile</td> <td><body></td> </tr> </table> </body> </html> Hello, I am very new to HTML. With that said here is my issue. I want to post meta data within the head tags of my html. However, when i do this the table i created in the body of the code ceases to work. I created a very simple intro page. all that exists there is a logo of my bussiness then underneath a splash page embeded. When i enter the meta data the logo and splash area are off center. Currently I took the meta tags out of the html, but I really want to place them back. Ever heard of this happening before? Can you help? Thanks, Matt My page is www.skelniktoday.com if you want to take a look and view the source. Who knows maybe you just need a laugh at the level of novice my html is. i'm looking for a cheap way out of making collapse/expand code. i've learned a lot of 'ghetto' techniques n thought mayb i can use something similar to the html tricks i've learned in the past. the theory i have is.. i use the title of the collapse/expand text as a link to the text below it to open and close by using the navigating tags: Code: <a name="content">opening/closing text here</a> and the title above the content: Code: <a href="#content">Title</a> to open the area of text. now my idea of a shortcut around the whole css/html/javacript combo is to make the text below it use a Code: <font size=0>content</font> at default and have the href title link change the font size to the default 9pt but I don't know if that's even possible. Is it possible with the Code: <div> tags? and if so, using that, would i still b able to make a link like that? Is it possible to trigger the action of a form with a submit button that's outside the form tags? If so, how should this example be rescripted to make the input tag work outside the form tags? [/code] <html> <body> <form name="input" action="html_form_action.asp" method="get"> First name: <input type="text" name="FirstName" value="Mickey" /><br /> Last name: <input type="text" name="LastName" value="Mouse" /><br /> <input type="submit" value="Submit" /> </form> </body> </html> [/code] Hello there, I need some help with my DIV tag as it isnt doing what I tell it to do. Heres a screenshot of it: And here is the CSS code: Code: body{ background-image: url(img/bg.gif); font-family: verdana, arial; font-size: 12px; color: black; } #content{ height: 100%; width: 750px; background-color: #afafaf; margin-left: auto; margin-right: auto; border: medium; border-color: red; border-style: solid; padding-left: 5px; padding-top: 5px; } #copyright{ height: 20px; width: 740px; background-color: #9f9f9f; margin-left: auto; margin-right: auto; padding-left: 5px; padding-bottom: 15px; border: medium; border-color: black; border-style: solid; } Its the "copyright" one that is messing with me, as you can see the red border is there. But the small div tag wont center in the div tag. I hope you understand what I mean Hi I'm currenty learning how to use div tags I was wondering if anyone had any resources on the attributes of the div tag, havent came across anything that relates to the code i am currently working on. HTML Code: <div style = "z-index:2;left:40px;top:100px;position:absolute;color:red;text:white;font-size:30pt;border:groove"> <p> Division 1 </p> </div> <div style = "z-index:2;left:00px;top:250px;position:absolute;color:red;text:white;font-size:30pt;border:groove"> </div> Does div tags generally just handle borders or can u fill a division with colour as in make a rectangle or whatever? Heres some code i have been presented by my lecturer, I can read the attributes well i think but if someone could explain it i would be greatfull just to check my understanding Thanks CW First post on here, but I'm not really new to HTML. I just have a problem with the placing of a picture on a page. My website is www.fcumania.co.uk, which was created mainly with the use of a website designer - though these days I just edit it through Notepad. I have a problem whereby I need to add a small picture in the box where the crude "Hi-Resolution pictures" form is located. I can't seem to be able to edit the code, and the div tags in order to do this. I know it has something to do with the CSS, and so presuming you can view the source code on the main site, the CSS files are located he www.fcumania.co.uk/index_p.css www.fcumania.co.uk/index_g.css I'm sure all of you on here will be able to resolve this, and TIA if you can. Alastair. Hi all, I'm working on a wordpress site with nextgen plugin (not really important) My problem is this: Let's say i have this structu HTML Code: <p> <a href=""> <img src="" /> </a> </p> Now if my img is 100px height, the <p> still stays 0px, and i think that's because of the <a> tag. But the <p> has to adjust its height to whatever height the <img> is. How can i achieve this? I hope you understand what i mean here Thanks already. hello, I have a html file that contains many lines. I want add a tag in every line so that I can display them with different color. How to do it? Thanks I was doing reading and practicing at the w3 site and came along the <pre>/</pre> tag section. I find it easier using these tags instead of the <p>/<p> tags as you don't have to insert <br> tags everytime you want to start a new sentence within your paragraph. Does it really matter as far as coding goes if you use this or is it just considered not proper coding techiques? Note: Also,i added a paragraph at the very end of my test page just using the <pre>/</pre> tags and the "Style/Type Attributes" did not apply to it.Why is this? Kindly, Texan Who can HELP ME with divs hi my name is salil. m working on a website completely in .jsp all the links are called in div containers. so just wanted to ask if is it possible to use the back button of the browser in that case... if yes how can we use it? currently when i click on the back button of the browser then i go to the previous visited site. thanking all of you for your feedbacks. salil Should be something simple to figure out, I know... but I'm having some trouble with the div tags in a section of my site. What I'm trying to do is place a few images side by side, 160 pixels from the top and center alignment. It places the images 160px from top but not in the center... This is the code I'm using: <div style=" top: 160; position: absolute; z-index: 1; visibility: show; align: center; "> Why won't it work??? i have a problem about using div tags in general and positioning layers on a page. i'm a beginner so forgive my way of asking but i would appreciate any help i could get in understanding it. Hi, I need to start this off by stating that I'm not an expert nor have I had any training but in general I can read HTML or CSS code and understand for the most part what is going on. I have been asked by my boss to migrate and update and old website and bring it onto the new php5 platform that is operating at our university. This has been a fairly straightforward task where I just copied and paste the old code into the new CMS form. But I have reach a point where using the old code and tweeking it where needed to account for the 'personality' of the CMS isn't working. This is a bilingual website translating between English and Turkish. Here is an example of how the site used to run: http://replay.waybackmachine.org/200...page/acemhoyuk In the new site I have made only minor cosmetic adjustments; font color and the side where the reduced translation sits. These changes were made in the CSS code and seem to work fine (once the css code is activated). I don't know what the correct terminology is but basicly the CSS appears to be hidden until you click your mouse on the text somewhere (both the English and Turkish translations are visible in the body of the text, not showing one and reducing the other as it is meant to). Once you click the mouse on the text then the page separates into the visible body of the text and the reduced translation on the right hand side (the correct formatting). This is an example of one of the pages doing the above: http://www.une.edu.au/cat/sites/ahlat.php Using this <div> code: Code: <blockquote> <div id="content"> <div id="container" class="left_border"> <div class="bilingual"> <div class="language_a" lang="en">English language section</div> <div class="language_b" lang="tr">Turkish language section</div> <div class="spacer"> </div> <!-- /bilingual --> <!-- /container --> <!-- /content --> </div> </div> </div> </blockquote> </div> I have been playing around with the code trying to fix this problem and by adding <div id="page" class="page_language_b"> to the beginning of the body I get the desired result so that both the text and the translation are visible from the start - but when you click on the translation to change the language everything moves into the reduced section leaving no body to the text. This page is an example of where I am achieving the above result: http://www.une.edu.au/cat/sites/acemhoyuk.php Using this <div> code: Code: <div id="page" class="page_language_b"> <blockquote> <div class="content"> <div class="container"> <div class="bilingual"> <div class="language_a" lang="en">English language section</div> <div class="language_b" lang="tr">Turkish language section</div> <div class="spacer"> </div> <!-- /bilingual --> <!-- /container --> <!-- /content --> </div> </div> </div> </div> </blockquote> </div> From my experimenting I think the problem is with the <div id="page"> but as I said before I not an expert in this so I'm not sure how to get it to do what I want. A lot of my solutions have been through trial and error. If someone could help me fix my <div> code I would be greatly appreciated. Cheers Kim I've encountered what to me seems a strange HTML quirk problem (though I'm very amateur so may not be a quirk at all). I recently used a free online tool to create the code for an image map linking to my social networking sights. It can be seen on the right hand side of my pages: www.zorandesigns.com What keeps happening now is every time I go to edit pages, the <area></area> tags keep duplicating exponentially. So any time I do any editing I have to make sure I redelete the duplicates. Even when I do when I resave 3 new tags will appear again. Next time I go to edit there are 6 tags and if I forget to delete them there will be 12 next time, then 24 and so on. At first I didn't realize this was happening and I had hundreds of duplicate area tags. I use go daddy html file editor to edit the pages. The section of troublesome code is below. Would appreciate any insight on how to resolve this problem as simply deleting clearly hasn't worked. <div style="text-align:center; width:189px; margin-left:auto; margin-right:auto;"><img usemap="#Image-Maps_6201201241459158" height="63" width="189" src="images/social networking icons.gif" border="0" id="Image-Maps_6201201241459158" /> <map name="Image-Maps_6201201241459158" id="_Image-Maps_6201201241459158"> <area coords="0,-1,60,58" target="_blank" alt="Facebook" shape="rect" href="http://www.facebook.com/pages/Zoran-Designs-Jewellery/221643324534776" title="Facebook"></area> <area></area> <area></area> <area></area> <area coords="65,-1,125,58" target="_blank" alt="Twitter" shape="rect" href="http://twitter.com/ZoranDesigns" title="Twitter"></area> <area></area> <area></area> <area></area> <area coords="127,-1,184,58" target="_blank" alt="LinkedIn" shape="rect" href="http://ca.linkedin.com/pub/maja-kogut/46/89b/929" title="LinkedIn"></area> <area></area> <area></area> <area></area> </map> </div> The code in a script I'm using shows this code on the main page: Code: <meta name="Description" content="[var.description;htmlconv=no;]"> <meta name="Keywords" content="[var.tags;htmlconv=no;]"> Shouldn't their be a line "meta tags=" for the keywords? Or will replacing the word "Keywords", in the code above, with some keywords, do the trick? Or do I need to add keywords elsewhere? Thanks What exactly do the Span and Div tags do? I've read definitions on the web: "defines a block of text," etc., but I don't see any examples of what the difference is from normal text to text that is used using the span and div tags. Could someone provide any examples? Thanks, Brad hello i dont no if i have written these meta tags correctly, because my website doesnt come up on google. Any Help? HTML Code: <head> <title>Dark-Host.net</title> <link href="style.css" rel="stylesheet" type="text/css" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="keywords" content="dark-host web hosting cheap affodable efficent webhosting free australian dark host " /> <meta name="description" content="Dark-Host.net, Cheap and Affodable Web Hosting! /> </head> |