HTML - Problem With Css Style Sheet And Index.htm
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> Similar Tutorialshello, 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. Im 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 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? 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 Here is what I'm dealing with: http://kr3t3n.com/premiership/ Look at the left sidebar, where the Arsenal links are. I need to put that 10t in the right side, i have used: < li >< a href="http://www.arsenal.com" >1. Arsenal< p style="float:right;width:25px;height:16px;margin:0;padding:0;display:inline;" > 10t < /p > < /a >< /li > but it seems to be wrong, can you please tell me where I'm wrong?!?! Hi! I have a problem with select elements ... on every browser without exception... I have form elements that have tooltip assigned to them... and if I go to a select element and open it so it's options are visible, leave it opened and then hover on another form element to make it's tooltip to appear ... and surprize the tooltipdiv apears under the opened options ... The strange thing is that the select element is hidden under the tooltip div, only it's options are over the tooltip. Does anyone have a suggestion? Hi I have a requirement. i have an image with float:left style. I have a text following that and an line just below the text spanning entire width of column(not just width of text). I tried 2 ways of displaying it, but the underline was displaying below the floated image not just below the text. Can you please help me here? Two ways 1) Image: float:left, Text and <HR> 2)Image:float:left, Text and dot image spanning entire width of column and height 1 pixel Thanks rakesh I finally figured out how to add text to my index and now I have another question. In my website template There is Heading 1 and a Heading 2 so my question is how do I delete any sections or headings that I don't need to make it go away on my home page. There is so much and I don't think I need all of it..... Thanks in advance 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. Hi there, I was reviewing the web site of the organization I work for and I noticed that some of the html code is included in the following tags: <!--BeginNoIndex--> and <!--EndNoIndex--> Between these tags there's the page title and the site's navigation included. I have been searching on this subject but I can't seem to find the right answers. I would say you would want your page title and navigation to be indexed by search engines. Or in what cases you wouldn't want it to be indexed? The web site is public and serves mainly an informative purpose. I would be happy with anything that could help me, also resources where I can read about it for example. Kind regards! I've got a drop down menu (#howto) that works fine in every browser but IE7. The issue: when activated, the menu options appear behind the divs below (#wrapper and #branding). I've tried several z-index combinations, but haven't hit upon one that works. With 13% of my user base still on IE7, I'm stressing out! URL: http://wdm.ca/index_new_dwt.htm HTML Code: <!--Start How To Menu--> <div id="howto" style="top: 3em; right: 0em;"> <img alt="" src="imagesindex/down-triangle.gif" style="float:right; margin-top:0.3em; margin-left: 0px; margin-right: 1em;" height="10"/> How to...<br /> <hr width="80%" style="text-align: left;" /> <!-- Start How To drop-down menu --> <a href="membership/index_new.htm">become a member</a> ... <a href="contact_new.htm">contact a <abbr title="Western Development Museum">WDM</abbr></a> <!-- End About drop-down menu --> </div> <!--End How To Menu--> CSS Code: body{ background-image:url('imagesindex/background_attempt_fade.jpg');background-position:left;background-repeat:repeat; font-family: Arial, Helvetica, sans-serif; } /* START topper */ #topper{ height:4.5em; width:50em; margin: 20px auto 0 auto; position:relative; z-index:100; } #topper a.contact{ position:absolute; ... display:block; z-index:100; } /* START howto Menu */ #howto{ width:15em; background-color:#FFF; padding-left:2%; float:right; border:thin gray groove; position:absolute; line-height:1.4em; height:1.4em; overflow:hidden; z-index:100; } #howto:hover { height:auto; cursor:pointer; } #howto a { display:block; width:100%; line-height:1.4em; color:#000; text-decoration:none; } #howto a:visited { display:block; width:100%; line-height:1.4em; color:#000; text-decoration:none; } #howto a:hover { color:#000; background:#ddd; } /* END howto Menu */ /* END topper */ #wrapper{ width: 50em; background-color:white; margin: 5px auto 0 auto; border-color:#98B539; border-style:ridge; border-width:thin; z-index:0; } /* Make branding a positioned element, but don't move it */ #branding{ position:relative; border-bottom:thin #98B539 solid; z-index:0; } Here's my problem: I'm a subsciber with GeoCities/Yahoo, and had my html files stored. When I try upload my stuff to a certain forum I get a "File Not Found" msg. By looking around I learned that the problem might be the "index.htm" file, which needs to for each subdirectory separately. An example of such a file: http://www.geocities.com/d48uga/dice_tutorial09.html Could u help? Tnx hey wondered if anyone could explain how on my website I can get the "index of" to show? eg http://rofl.wheresthebeef.co.uk/ cheers! so i want to have my navigation hover over my content, so when i scroll through my content it flows underneath the navigation.. i am putting the navigation div at z-index:3 and the content at z-index:1 but it wont slide beneath.. help pls here's my site: all css is done on the page so u can see it. http://levisternberg.com/joomla16/ Do possible somehow open folder/archive were is a index.html. I wan't to run auto index.html or any default .html .php... I want open folder and browse from files. ??? Okay so recently I updated my website so the URL for my home page is now: http://www.benellett.com/index.php However I would either like to somehow make that page show up as just the base website: http://www.benellett.com/ or have the benellett.com page forward to the /index.php page. Preferably I want benellett.com/index.php to be the "home" page like it would be if it were index.html (like my old website in the link). Thanks a lot! |