HTML - Css External Style Sheet
hello, html-ers; I should learn more about css so took a stab at my first tiny external style sheet. It has two problems as mentioned on that sheet.
My test page is http://www.sticksite.com/test.html and the stylesheet is at http://www.sticksite.com/mystyle.css Can anyone please tell me why I have those 2 problem? Thank you. Similar TutorialsIm trying to find the style sheet for this webpage http://www.opportunity.com/index.html any idea how? Thx guys! Matt I am using a frameset for the navigation in my site and am having trouble with the active state on the nav links. I can see that the active state is working when I am clicking on the link but not right after. The visited state is working fine. Here is my nav style from the external style sheet: .nav a:link {color: #484849; text-decoration:none; font-weight:regular } .nav a:visited {color: #999; text-decoration:none; font-weight:regular } .nav a:hover {color: #484849; } .nav a:active {background-color:#000; color: #ffffff; } and my frameset code: </head> <frameset rows="*" cols="230,*" framespacing="0" frameborder="NO" border="0"> <frame src="nav.html" name="nav" scrolling="NO" noresize border="0"> <frame src="Wasabi/index.html" name="main" border="0"> </frameset><noframes></noframes> </html> Here's the page: http://daniellehull.com/ : Thanks in advance if anyone is able to help. I am sort of new to web programming and used a free web template to design my homepage. In Dreamweaver it previews perfectly fine, and when I preview it in Safari it views fine. However, after uploading it to my server it shows up with an all white background, nothing is laid out correctly, text colors are incorrect. I assume this is because of the relationship between with html and the style.css sheet. I am using a seperate style sheet and it is in the same folder as my index. The beginning of the code is written like this and is followed by my <body> tags and regular stuff like tables and images: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <title>David Broderick | Denton Songwriter</title> <link href="style.css" rel="stylesheet" type="text/css" /> </head> I want to use conditional comments to load a style sheet for IE7. The site im designing for is : www.efficient-heat.net When I check the site in IE7 I see images for the content area being placed incorrectly. They are over to the right of the page when they should be in the middle. When I check the images with IE dev bar they have a position of absolute. However the ie_7style.css sheet has them with a position float left. When I link to the ie7style.css without conditional comments and load the page it works as intended. I believe the absolute positioning is coming from the style.css sheet which is intended for Firefox. It seems to me that the ie7style sheet isn't being implemented properly and is relying somewhat on the style.css to render the page. How do I resolve this problem? I want to be able to transfer all the code in my menu to an external stylesheet. The menu can be seen at www.brand-newhomes.co.uk/page135.htm Thus far I have: Made a file called "menustyle.css" and uploaded it to the root of my server. I then pasted the link:- <link rel="stylesheet" href="menustyle.css" type="text/css"> into the head code and no menu is displayed. I then cut and pasted the rest into a file and called it " stylesheet.js " and uploaded it to the root in my server. I then linked to this as <link rel="stylesheet" href="stylesheet.js" type="text/javascript"> into the body code. It didnt work. What have I done wrong? I have some data in my excel sheet and i want that,this data can be accesssed dyanmiaclly is it possible using html code?Please help me with this. Greetings! I'm trying to put sheet music into my webpage. However, whenever I add the notes via notepad, the outcome always looks like a complete mess. Example: Take a look at the sheet music on this page: http://www.ultimate-guitar.com/tabs/..._album_tab.htm How can I copy and paste this and keep an organized format when plugging it into my my website. ty Hi folks. I suspect this a total noob type question but I can't find anything in DW help or by searching so here goes. I have a page with frames. In one of the frames I want an external URL to be displayed rather than content from the mother site, if that makes any sense. I don't mean asa a link, I mean the actual content to be displayed. How do I do that? Something like... TopFrame = ./top.html LeftFrame = ./left.html BottomFrame = someother.domain/fred.html And they all get shown when the page is loaded. Ta muchly for your help! Simon. Is it possible to log the amount of times an external link has been clicked on your site? Could anyone please tell me the code to call an external html file? I need to refresh my memories! I have managed to get an external style sheet to work on 7 of my 8 pages. I cannot figure out why it will not work on the 8th page. The code was copied and then modified to fit the new page so there should be no reason it shouldn't work. http://ironhillsclan.com the forum page (rules.html) is the only on that doesn't work. Any ideas? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Dagorhir | Iron Hills Clan: Forum Rules</title> <link rel="stylesheet" type="text/css" href="style.css"/> <meta name="keywords" content="iron,hills,dagorhir,larp,sword,fighting,clan,ragnarok,battle,forum,rules"/> <meta name="description" content="These are the rules for our fourm, please abide by them for the sake of all."/> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Language" content="EN-GB"> <script type="text/javascript"> function show_confirm() { var r=confirm("By choosing yes you agree that you have read, understand, and will abide by the terms of use."); if (r==true) { location.href = "phpBB3/index.php" } else { location.href = "index.html" } } </script> </head> <body> ... </body> </html> I'm new to this forum, a complete newbie, but I was wondering how I can tell my html page to open another html page and read what is in the new page for that specific section. For example: I have google ads on the right side of my website, where I would put the ad, is there a way to link it to another html script without actually putting it in my html page? Kinda like a CSS sheet but the other way around. I don't want to have to go through every page to change the ad code, I just want to change an external sheet where the ad code is. I also want to do this for the body of my website where the content is. Can I link a external sheet that would input content into the body of the website? Hi I have a Flash and HTML version of my friends site at www.backlash.net.au On the main page, I have an ABOUT and NEWS section, that gets it's text from external .txt files. Problem is, the text gets formatted without line breaks in the HTML version, but fine in Flash. I was wondering if there is a better way to import the text, whilst only having one external source for each section, and still keeping the process simple (my friend isn't too computer savvy)? I thought of using a php include, and having my friend just enter the text in a simple HTML editor. I can set that up for HTML, but am unsure how to import the PHP page into Flash. Any ideas on the best way to tackle the problem? Thanks for your time and info. Shaun i have been asked to create a website for a friend i have the design up and running but i want to make it easy for him to edit the text is there a way of linking to an external file with the text required for the page that he can edit without the risk of damaging the template to give you an idea i need the text on the book pages on http://www.sabbathkeepers.000a.biz Hi, I am having some difficulty with the "datascr" tag for marquee and a few others, including div. Would anyone please upload 2 files the first being html with a maruqee or a div with exertnal data using the datascr="#asdasdf" formatdatas="text" tags. Because I have tried numerous times WITH NO SUCCESS!!!! I tried just about everything and it desen't cath the external file. Thanks in advance. How can get a free program that lets be use movies hosted on other site such as youtube and put them on mine while still hosted at the other site. Its kinda a set-up like on game websites but for videos. like this http://cruiseshipfan.webs.com/apps/videos/ the only ones i have been able to find have to be hosted at the site but i don't want that. hi, i'm quite new at the whole html stuff but excited about it. i'm making up a testnewsletter in html, and with the 'read more' function i would like to put up a link to an external anchor on the homepage. This way the reader jumps to the right location on the news menu on my homepage. I tried but it doesn't seem to work: in the html on my homepage i place: <a name="location1"></a> in the html in my newsletter: <a href= http://www.ecopuur.be/index.php?option=com_content&task=view&id=21&Itemid=40/#location1> something must not be quite right. thanks for advice I have an html application consisted of a number of html files, js files and css files. Is it possible to have an external property file where I can keep the name of the server so as to use a variable for the urls? For example to have something there like nameOfTheUrl=andreana and in the html file to have something like http://nameOfTheUrl/content/index.html My server has java but it is not a servlet container so I can not use jsp. Firstly sorry if this is not posted in the correct forum unsure of how this would/could be done. I am creating a website for a business and I want a page for "Directions." Is it possible to create a form where the customer can enter their address and on submission the form will open a new window with "multimap.com" with the fields already filled. Thanks in advance for any replies. gil |