HTML - Beginner Question About Templates
How can I reuse templates to build my web site instead of copy paste the top in each single page ?
Is it possible only using an authoring software such as dreamweaver ? thanks Similar TutorialsIm trying to add pretty much 2 templates to my site. One for the index and the other for the rest of the pages. Both of them are pretty much the same they just have 2 different content text boxes(or whatever the hell you want to call them) where the main text goes. Since they have a few pictures different that have the same name they wont work right. Could I just rename the picture for the index and then change the name of the picture in the html file of the index? Greetings and good cheer... I have what I imagine to be an extremely basic question. My href codes doesn't work in firefox. They work fine in IE. Sample code: <a target="_blank" href="http://www.skateboardingbulldog.com/tyson_skating.WMV" ><font color="red" face="Trebuchet MS" size="2">5.20.04 Tyson</i> </font></a><br /> Is the problem in the "_blank" ? The "<br />" Is it somewhere else? All assistance greatly appreciated, and duly thanked in advance! ~p.l. Hey everyone, I just started learning HTML and I am working my way through "Head First HTML With CSS & XHTML". My question is why does the text in the <p> tags show up as it would in <h1> except for under "Mocha Cafe Latte"? Code: <html> <head> <title> Starbuzz Coffee Beverages</title> <style type="text/css"> body { background-color: #d2b48c; margin-left: 20%; margin-right: 20%; border: 1px dotted gray; padding: 10px 10px 10px 10px; font-family: sans-serif; } </style> </head> <center><body> <h1> Starbuzz Coffee </h1> <h2>House Blend - $1.49<h2> <p>A smooth, mild brend of coffees from Mexico, Bolivia and Guatemala. </p> <h2>Mocha Cafe Latte - $2.35 </h2> <p> Espresso, steaming milk and chocolate syrup. </p> <h2>Cappucino - $1.89 <h2> <p> A mixture of espresso, steamed milk and foam. </p> <h2>Chai Tea - $1.85 <h2> <p> A spicy drink made with black tea, spices, milk and honey. </p> </body></center> </html> Thanks in advance. Any way to make the potential links at the top and bottom of this page look a bit smoother, or fitting. Any help or suggestions in greatly appriciated. Code: <html> <style type="text/css"> ul { text-align:center; float:left; width:100%; padding:0; margin:0; list-style-type:none; } a { width:6em; text-decoration:underline; color:yellow; background-color:blue; padding:0.05em 0.3em; border-right:1px solid white; } li{display:inline} </style> <body bgcolor ="bisque"> <hr style = "color: green; height:3;width 50%"/> <ul> <li> <a href = "Menu.html" target="_top" style = "font-size:large;">Menu</a></li>     <li> <a href = "cater.html" target="_top" style = "color:blue;font-size:large;">Catering</a></li>     <li> <a href = "comment.html" target="_top" style = "color:blue; font-size:large;"> Comments/Suggestions</a></li>     <li> <a href = "http://www.mapquest.com" target="_blank" style = "color:blue;font-size:large;">Directions</a></li>     </ul> <hr style = "color:green; height:3;width 50%"/> <center><img src="logo.jpg" alt="image description" height="400" width="550"></center> <hr style = "color:green;height:3;width 50%"/> <a href = "Menu.html" target="_top" style = "color:blue;font-size:large;">Menu</a>     <a href = "cater.html" target="_top" style = "color:blue;font-size:large;">Catering</a>     <a href = "comment.html" target="_top" style = "color:blue; font-size:large;"> Comments/Suggestions</a>     <a href = "http://www.mapquest.com" target="_blank" style = "color:blue;font-size:large;">Directions</a>     <hr style = "color:green; height:3;width 50%"/> </body> </html> Hello everyone, I am newbie here. Can someone please tell me what is the HTML code for changing a color when my pointer point to the specific area? For example, when I point my pointer to the "Go back back one page" of Mozilla Firefox web browser, the color is changing from dark green into bright green. Thank you very much in advance Ahyoo Hi... I am using an application that delivers data in the form of HTML tags (example: ^vst843^). I use these tags in an HTX file which writes to an HTML web page. I'd like to use Ajax to update the tag values without refreshing the page, but from what I understand I must write in Javascript to use Ajax. Am I right about this? If so how can I use the HTML tags coming from my application in this way? Thanks. i have a website, http://www.what-the-news.com, and i am trying to get my medium rectangle ad to show up just to the right of my videos. Everytime i put in the align right code it drops down below the video like the leaderboard banner, which is currently there. Here are the codes i'm using: <p><div align="right"><script type="text/javascript"><!-- google_ad_client = "pub-8909561621860243"; google_ad_width = 200; google_ad_height = 200; google_ad_format = "200x200_as"; google_ad_type = "image"; google_ad_channel = ""; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></div> Any help will be huge, Mark My Html code is as follows: HTML Code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Services - Wellington Florida Lawn Salon and Service</title> </head> <body> <h1>Wellington Lawn Salon</h1> <header> <nav role="navigation"> <ul> <li><a href="filename">Services</a></li> <li><a href="filename">Pictures</a></li> <li><a href="filename">Contact Us</a></li> <li><a href="filename">History</a></li> <li><a href="filename">Testimonials</a></li> </ul> </nav> </header> <article> <h1>Services available:</h1> <section> <h2>General and special lawn maintenance</h2> </section> <section> <h2>Landscaping</h2> </section> <section> <h2>Sod installation</h2> </section> <section> <h2>Irrigation</h2> <section> <h3>Installation</h3> </section> <section> <h3>Repair</h3> </section> </section> <section> <h2>Tree Trimming</h2> </section> </article> </body> </html> When I run the code through the HTML5 Oulliner I receive this: 1.)Wellington Lawn Salon 1.)Untitled Section 2.)Services available: 1.)General and special lawn maintenance 2.)Landscaping 3.)Sod installation 4.)Irrigation 1.)Installation 2.)Repair 5.)Tree Trimming My question is about the "untitled section". What part of the code is "untitled"? Why? How does it relate to your SEO? Also any other semantic markup tips, in general or specifically in regards to this example, are greatly appreciated. I'm not sure if this is in the correct section, but what is the use of a template in PSD form with all the layers in it? okay so i dont have dreamweaver or nething like that. i made a website template that is the home page. i want all the other pages to look like that as well except with different writing which i will want to edit with html when i want to my problem is im not sure how to make my template work and upload it to the web. i can do it as a jpeg but not as an actual template. if some one can help me i would greatly appreciate it thanks In my website I want to show several art projects. Each project page should look exactly the same, however have different pictures and text. Therefore is it possible to create some sort of html template which takes 4 pictures and some text and will output the right format. The reason for this is that if i decide I want to change the format of the project page, I only have to edit one template instead of several project pages. Thanks in advance Calypso Hows it goin everybody.. I'm just starting to get involved in web design. I have a quick question. I have the template and have modified it to fit my needs. I understand it uses the images from the pack/bundle I D/L'd. I want to load it into geocities and I copied and pasted the code over , but it comes up with just blank with text and a grey screen. I loaded the images into my yahoo account but its not sourcing them. i believe they still have the path that was on my comp. What path would I use to load them off off a remote server (i.e. yahoo) ??? Thanks in advance. I'm sure this could of been worded more efficiently but I'm still very new to this. Can any one direct me to a tutorial on coding xhtml editable templates. ( or give me advice) I used to use dreamweaver to build templates but I haven't bothered to up date it instead I am using HTML-kit. What I liked about dreamweaver was that you could build a template and apply it to every page so you only had to alter the template not every page. I am fine using css for style. its building a template for the repeating elements of each page like links etc and then adding editable regions. I would would like the freedom to build my own rather than use pre made ones. Thanks Hi. I need to find a way of displaying some thumbnail photos in a table cell across a bunch of different tempates. I put a new thumbnail in the group about once a week, but I dont want to edit every template I have. Is is possible to have code in the table cell that say's get thumbnails.htm and put them in this cell That way I can just edit thumbnails.htm and it will show up on all the templatess/pages I'm sure it can be done, but I'm not sure how to go about it. Thanks Leroy I need some button templates, i will be changeing the color, i just need some becic stuff. I'm trying to put together a website to sell my Wedding products...does anybody know of a website where I can find free wedding templates? Hi, not sure whether I'm in the right section but I have downloaded a template from a website which is the form of a e-commerce website, most of the files in the zip file that I downloaded were in php format. I downloaded this via FTP to my hosting file database but when I try going to the link of my doman it comes up with an error? Am I uploading the files properly or do they need to be done in a certain way? Thanks for any help does anyone know of any nice HTML/CSS templates that I could use for my ecommerce website? or would anyone like to help me design a nice layout? I would be most appreciative I have tried searching but unable to find anything nice. So I really am at the end of the barrel. Thank-you for your help. Hi there, I am using dreamweaver to make this website and I have got a little problem. I have got this template which has a top nav bar, and if it is selected it has a class="current" for CSS. I am using it in a template so when one updates they all do. This is where the problem occurs. I cannot set each one to current on the nav bar. I could make the nav bar and editable region, however I dont want to, as then if I update it, it wont up date any of the others. Is there a way to do a sort of IF statment saying if the url equals www.mydomain.com/aboutus.html class equals current? Thanks. Josh |