HTML - Stylesheet For Menus (duplicate Thread)
As some may know I have been trying tom gte my nav menu code ina style sheet, which I thought would be relatively straightforward with a bit of help.
I approached the support of my program Serif WebplusX5 yesterday and said; "Please look at http://www.brand-newhomes.co.uk/page134.htm I want to get all the nav code intop an external stylesheet. The page will load faster (better for SEO) Every page wont contain the 120 links (better for SEO - google penguin!) and it will be easier for me to manage and edit without re loading the whole site every time. All in all it is a must have for me! I was advised on the forum that X5 would let me do this and that X5 had external stylesheets. I just need some help with the script and javascript files and links to them. I have with some help managed to do the CSS ones. Can you also tell me where the "Optimise your sites for search engines and speed" is located in X%? I have looked in Site Properties and that is not much better than WP10 that I had been using". This was the reply i got fobbing me off - so much for "support" "Stylesheets are used in WebPlus, but only as far as listing text styles. This doesn't to extend to fully fledged CSS stylesheets I'm afraid. The navigation bars in WebPlus use Flash and in some cases JavaScript. As the nav bars are in this format, you would wee need some form of 3rd party tool / coding to convert this into a CSS stylesheet. I'm afraid as we are essentially modifying the code that WebPlus provides, here in technical support would not be provide help or support on making a stylesheet from a nav bar - my sincerest apologies for this. "Optimize your sites for search engines and speed", as advised on the forum, as a catch all term for a number of different parts of the program. the site checker can detect any problems in the site such as long loading times and the Search section of the Site Properties will help you cerate robots.txt file for SEO purposes, amongst other tools." THIS IS WHY I AM DESPERATE FOR A BIT OF GUIDANCE ON MY OTHER POST AT: http://www.htmlforums.com/html-xhtml...ml-147517.html Similar TutorialsThere are three pragraphes. The first one is "Start", When I click it, it should disappear, then the second pragraph will move from left to the right. The third pragraph will move from right to left. But it doesn't work. Please help me. Thanks Code: <html> <head> <title>DOM</title> <script type="text/javascript"> var left; var right; var p2; var count = 10; function run() { document.getElementById("p1").innerHTML = ""; window.setInterval("slide()",100); } function slide() { count += 5; if ( ( count % 200 ) == 0 ) { p2.style.color="red"; p2.style.left = count; p2.innerHTML = "TEST"; } } </script> </head> <body> <p id = "p1" style="color:blue" onclick="run()">Start!</p> <br> <br> <br> <p id = "p2" style = "position: absolute; left: 0; top:50;width:30%;"> Hello! This is me. A graduate student major in Computer Science. I am looking for an intern opening in the summer.Would you please provide some information? </p> <p id = "p3" style = "position: absolute; left: 600; top:50;width: 40%"> Student development services: counseling, leadership development, student housing and student activities, student governance and community service to help students find "a sense of belonging, responsibility, and achievement." </p> </body> </html> Detete This Plz Sorry for being so lazy, but I wanted to ask if you could show me any one especially execellent posts that I should read first, so I can get involved here?because my moto first read and first reply to every post i like sleek systms dot net because my mission quickly reply to all post I'm fairly sure that this is a quite a common thread, yet on doing a quick search of the forums couldn't find anything that matched my exact needs. So..... My site looks great in FF but not in IE and i need some help. http://tp.eyeoftime.co.uk/index.php (there is no php in the file yet, despite the extension) Ok, thats my site, as you can see there are problems with tables and images here. The site as viewed in firefox, is what i want the site to look like, the site as viewed in IE is how IE thinks i want the site to look like .Although i'm not a beginner with html, I am rather new at trying to get real cross-browser compatability. So, yeah, any help much appreciated. PS i know the page contains xhtml errors (fails validation), its still a work in progress. Here's a Q&A thread for people who make tables out of div tags with CSS. I am pretty inexperienced and I'll start with a question I have: Is it possible to use the colspan property with div tables? I've tried and it doesn't work. What am I doing wrong? Here's what I have: <div style="display: table; width: 500px"> <div style="display: table-row" colspan="2"> <div style="display: table-cell"> Blah blah blah... </div> </div> <div style="display: table-row"> <div style="display: table-cell; width: 100px"> Nav bar goes here. </div> <div style="display: table-cell"> Blah blah blah... </div> </div> </div> Please help! Hello! I am working on updating a website a bit with some new features and one of the new features is "latest thread". I've seen it before on other sites, but I'm not sure how to do it myself. So, how would I code in an area that lists the 5 latest threads from my phpbb3 forums? Thanks for your time! Hi, I'm the webmaster of http://english.eduhope.net/ (or rather webmuppet, as a glance at the site will tell, but I haven't found any one else willing to do it). My browsers are rendering the text in most files in verdana, but for all the files in the "news" folder, the text now looks scruffy a**, some Korean sans-serif font that has no business with the latin alphabet. I have no idea why, as all the files use the same stylesheet. The other style elements work fine - is this because they're class level? Perhaps The Webmaster of the parent eduhope.net has changed some php thing? I can't ask him, as we don't share a language, either programming or human. Feel free to insult me, the coding, or the design, but I need help with this. I can't submit links to union news sites dressed like this. Thanks. Can someone tell me how to do stylesheets for html and javascript. I know how to do the files copy in notepad but I need to know what to save them as and what code to use in the head code for the links to the files. I have done one for css with help from here. I was wondering if it is required to use the following in XHTML. This: HTML Code: <?xml version="1.0" encoding="UTF-8"?> Instead of: HTML Code: <meta http-equiv="Content-type" content="text/html; charset=UTF-8" /> And... This: HTML Code: <?xml-stylesheet href="style.css" type="text/css"?> Instead of: HTML Code: <link rel="stylesheet" type="text/css" href="style.css" /> Also, what charset do you recommend and should I use XHTML 2.0 instead of XHTML 1.0? Thanks! - Jason - hey guys, i am working on a project for school and trying to go above and beyond the assignment by placing a srollable table data cell in my table. the web page i am trying to make is for "customer contracts" and i would like to have a "description" section but i dont want a lengthy description making my table huge. if someone could tell me how to turn a <td></td> into either a scrollable data cell or maybe even a clickable link that brings up a seperate bigger text box (if its not too much coding) that would be great. heres the code Code: <xsl:stylesheet version='1.0' xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" version="4.0" omit-xml-declaration="yes" /> <xsl:param name="group" select="//person" /> <xsl:template match="/"> <br /> <br /> <table width="370" cellspacing="0" cellpadding="2"> <tr> <th colspan="5">Contract List</th> <th id="total">Total: <xsl:value-of select="format-number(sum($group/amount),'$#,##0')" /> </th> </tr> <tr> <th>Sign Date</th> <th>Start Date</th> <th>Name</th> <th>Address</th> <th>Job Description</th> <th>Amount</th> </tr> <xsl:apply-templates select="$group"> <xsl:sort select="signDate" data-type="text" order="descending" /> </xsl:apply-templates> </table> </xsl:template> <xsl:template match="person"> <tr> <td width="70"><xsl:value-of select="signDate" /></td> <td></td> <td width="100"><xsl:value-of select="last_name" />, <xsl:value-of select="first_name" /> </td> <td width="130"> <xsl:value-of select="street" /><br /> <xsl:value-of select="city" />, <xsl:value-of select="state" /> <xsl:value-of select="zip" /> </td> <td></td> <td width="70" align="right"> <xsl:value-of select="format-number(amount,'$#,##0')" /> </td> </tr> </xsl:template> </xsl:stylesheet> the code i need to modify it the empty <td></td> tags below <xsl:value-of select="zip" /> thanks in advance for any help and if you know of a link that will help me feel free to post that instead of a lengthy response. Hi, I have a final project due in 3 hours for javascript class. I need to use cookies to change a stylesheet on a page and keep it consistent on every page until the user changes it. The link is http://www-scf.usc.edu/~javery/itp204/finalproject.html Its a dumb page about my cat. Anyway if you view the source, a lot of the javascript is for the style switch. The user is supposed to switch styles and click Save Style and then it sets that style for every other page. The code is in the other pages too. The style switches but it doesnt save. If anyone can help me it'd be much appreciated! Joel Hi all, In need of some advice if possible! Myself and a friend are putting together a website, we have little knowledge and I've came across a layout issue. The site looks good in Firefox but within IE the formatting is lost in one small section see below; I need the 'read more' box to be in the same location as the Firefox one when viewed IE. The page can be viewed here http://www.jeffkingsland.com/test3/aboutme2.html Any constructive advice is really appreciated. I'm aware of typos and colouring issues I am creating my first website I want to include the same code in multiple pages but only list the code in one place Is this possible? I want to put simple text message/alert up top my page simple text file/db with A,B,C,D,E,F So on refresh B will show up and if i hit it again C will show up and so on. Just rotating text on every visit by anyone or on refresh by a single user Hi I have codes which are the same in a few HTML files. I'm wondering if there's an easier way to include the codes in every file without having to copy and paste them. I'm looking at a similar way, like ASP files, to include similar codes in asp files. Hi, Quite some time ago I was faced with putting a website together for the first time for a local community group (my wife nominated me!). Rather than tell you all what it contains and how it looks, it is probably easier for me to give you the link which is the Friends of Clifton Park based in South Yorkshire, UK. This website consists of eight html pages. The first is the index, second is the welcome page and the rest are linked pages via links on the left. On every of the "linked" pages, only the main body changes, with the exception of each link showing in Caps and link disabled. The problem I'm having is that every single one of the linked html pages are the same, except the displayed text. 90% is the page set-up. So my question is: Is it possible to "import" the required text information when a link is clicked on straight into the main body of ONE html page? btw, you'll notice that the page height isn't fixed, it expands depending on amount of information in it. I have tried IFRAME but don't really seem to be getting anywhere as I can't seem to make the height auto-adjust. A specified height value has to be entered for each "page". This is no good as more information will be needed to be put on. So basically what I am trying to do is: Keep the index.html Change the welcome.html to display the main page (graphics/images, etc) Import text into main body into the welcome.html page when a link is clicked on. Thus reducing the need of duplicate html pages and just having text files containing the main body text. The main reason for wanting to do this is a) stop all the duplication of page set-up in each html file, and b) make it easier for the guy that wants to add information where needed, straight into notepad (txt file) and upload it to the website. I hope all the above makes sense and if anyone requires further information, I will only be to happy to provide it! Thank you. I am trying to add a popup menu to a button on my header that will have two options. I added a hotspot to the button image in Fireworks and made the menu etc, but when I place it in my html page nothing happens. Below is the line of code that displays my button. <a onmouseover="image2.src ='images/Header/OurServices_On.png';" onmouseout="image2.src='images/Header/OurServices_Off.png';" href="OurServicesIndivid.htm" target="_top"><img src="images/Header/OurServices_Off.png" name="image2" width="129" height="22" border="0"></a></TD> PS The button image is 'OurServices_On' or "OurServices_Off", basically the "On" button is shaded darker and it will apear when you hover over it. On a secondary note, I tried to add a popup menu with the dreamworks hotspot tool. I can add the hotspot fine, but everytime I hit "Ok" on the add-popupmenu dialog box, I get a error that states the following. Anyone know the answer to either of these problems? First off, I have designed one site ever and it's still in progress. I also have no basis in computer training other than graphic design. I am a total beginner, but the site I'm designing is for my personal business, so I'm continually updating it with new features I like. I was hoping to use hover menus (I have no idea if that is the technically correct term, but when you put your mouse over a link, it gives you a drop down menu) on my site, but really have no clue how to do that. Is it possible in HTML or would I have to use javascript or flash? If so how would I incorporate the code into a generally HTML based site? Thanks! :-) Hello, I have started working for a company, and with little experiance i am gradually tecaching myself how to HTML in ordwer to update our website. I've got to the point where i need some help. So please if you could help me in the most basic language that would be great. How can i create a drop down menu or navagation bar. vertically The website in question is www.hyspeedbroadband.com I would also like it to stay in the same style as it already is. As a little side question also. I changed the navagation bars position, now when you click on different pages the navagation bar does not underline which page you are on. If I could have some assisstance on how that can be corrected that would be great to. Thank you for any help and replys |