CSS - Css Not Working In Firefox?
Hi, everyone!!
I am going crazy with my external stylesheet. I have 3 of them...the 2 "minor" stylesheets are functioning as expected. However, my "main" stylesheet is not working (unfortunately, I cannot post the site...it is hosted locally). The problem with the stylesheet: my dd classes are not working (indenting) in firefox. They do indent in IE. In firefox, I get a standard bullet all the way down, no indentions. I'm sure it's something silly, but my eyes are blurry by now...lol... Could someone please take a look at this code? Suggestions? body { overflow-x:hidden } a { text-decoration:none } img { border: none; } p { font-family: arial; font-style: normal; font-variant: normal; font-weight: lighter; font-size: x-small; word-spacing: normal; letter-spacing: normal; text-decoration: none; text-transform: none; text-align: left; text-indent: 0ex; } dd { font-family: arial; font-style: normal; font-variant: normal; font-weight: lighter; font-size: x-small; word-spacing: normal; letter-spacing: normal; text-decoration: none; text-transform: none; text-align: left; text-indent: 0ex; display: list-item; list-style-type: square; } d1 { font-family: arial; font-style: normal; font-variant: normal; font-weight: lighter; font-size: x-small; word-spacing: normal; letter-spacing: normal; text-decoration: none; text-transform: none; text-align: left; text-indent: 2ex; display: list-item; list-style-type: none; } dd.2 { font-family: arial; font-style: normal; font-variant: normal; font-weight: lighter; font-size: x-small; word-spacing: normal; letter-spacing: normal; text-decoration: none; text-transform: none; text-align: left; text-indent: 5ex; display: list-item; list-style-type: none; } dd.3 { font-family: arial; font-style: normal; font-variant: normal; font-weight: lighter; font-size: x-small; word-spacing: normal; letter-spacing: normal; text-decoration: none; text-transform: none; text-align: left; text-indent: 7ex; display: list-item; list-style-type: square; } dd.4 { font-family: arial; font-style: normal; font-variant: normal; font-weight: lighter; font-size: x-small; word-spacing: normal; letter-spacing: normal; text-decoration: none; text-transform: none; text-align: left; text-indent: 9ex; display: list-item; list-style-type: none; } dt { font-family: arial; font-style: normal; font-variant: normal; font-weight: bold; font-size: x-small; word-spacing: normal; letter-spacing: normal; text-decoration: none; text-transform: none; text-align: left; text-indent: 0ex; } thanks in advance! ~Erin Similar TutorialsI am desperate. I think I found a bug in Firefox, and I'm not sure how to work around it. The following code works in everything (IE 8, Chrome, Safari, Opera) except Firefox (version 3.6.3). Am I doing something wrong, or is this a bug in Firefox? You can look what happens to the drop-down menu's on Menu 2 and 3 live by going to my site (deenfoxx dot com slash firefox-bug dot html). css Code: Original - css Code #main-nav { background-color: black; height: 40px; } #nav { position: relative; margin: 0; padding: 0; } #nav li { position: relative; float: left; display: table; width: 99px; height: 40px; border-right: 1px solid white; text-align: center; font-size: 10px; } #nav li:hover { background-color: darkred; } #nav a { display: table-cell; vertical-align: middle; line-height: 11px; font-weight: bold; text-decoration: none; color: #fff; } #nav li ul { position: absolute; padding: 0; background-color: gray; top: 40px; left: 0px; } #nav li ul li { width: 98px; border: 0; border-top: 1px solid white; } #main-nav html4strict Code: Original - html4strict Code <div id="main-nav"> <ul id="nav"> <li id="m1"><a href="#1">Main Menu 1</a></li> <li> <a href="#2">Main Menu 2</a> <ul> <li><a href="#2a">Sub-Category 1</a></li> <li><a href="#2b">Sub-Category<br/>with multiple lines</a></li> </ul> </li> <li> <a href="#3">Main Menu 3 with multiple lines</a> <ul> <li><a href="#3a">Sub-Category 2</a></li> </ul> </li> <li><a href="#4">Main Menu item which has a really long name on it</a></li> </ul> </div> <div id="main-nav"> The problem appears to be that "#nav li" happens to have position:relative; and a display:table; and "#nav li ul" is position:absolute;. Normally, absolute positioning requires its parent or ancestor position to be set, but when used with the table display, it doesn't work normally on Firefox--but it does on other browsers. Can someone help me with a workaround that does not involve altering the HTML? If I must, I will accept a workaround that requires changing the HTML, but I'll have to do some heavy duty recoding of Magento's core menu generation. Anyone that knows Magento knows I want to avoid that like the plague--my example is a very simplified version of the problem. Hello, I'm new to CSS. The like script or css I have seem to work fine in IE but not in FireFox. Actually its not doing anything in FireFox. how can i code it or script it so that it works in both browsers equaly. this is what i have in a file called public.css .class1 A:link {text-decoration: none; color: white} .class1 A:visited {text-decoration: none; color: white} .class1 A:active {text-decoration: none; color: white} .class1 A:hover {text-decoration: underline; color: white} any help you can give me would be greatly appreciated I am using the following css, can someone please show me how to get it to work in firefox it works fine in IE. Thanks Tim PHP Code: body {margin: 0px;} #header {width:100%; height:65px; padding:0px; margin:0px; postion: absolute; top:0px; left:0px; text-align: center; background-image:url(greenback.gif)} #line {width:100%; height:2px; background-color:black; padding:0px; margin:0px; float:left;} #bbar { width: 98.5%; position: fixed; bottom: 0px; background: #000000; text-align: center; } td.tab {background-color: #D52031;} #frame {width: 960px; height: 400px; padding: 0px; margin: 0px; float: left} #line {width: 100%; height: 5px; background-color: #E1A63A; padding: 0px; margin:0px;} td.tab {background-color: #D52031;} #wrapper {width: 100%; height: 100%; padding: 2px; margin: 2px; float: left;} #ad1 {width: 200px; height: 60px; border: solid 1px black; float: left; background-color: #E1A63A; font-size: 8pt; font-family: tahoma; color: white; padding: 1px; margin: 1px;} #ads {width: 200px; height: 200px; border: solid 1px black; float: left; font-size: 8pt; font-family: tahoma; color: white; padding: 1px; margin: 1px; font-size: 10pt; color: black; font-family: tahoma;} #sidebar {width:200px; height: 100%; padding: 0px; margin: 0px; float: left;} #hspace {width: 20px; height: 400px; float: left; padding: 0px; margin: 0px;} #news {width: 500px; height: 100%; padding: 0px; margin: 0px; float: left;} #nheader {width: 100%; height: 18px; border: solid 1px black; background-color: #008000; font-size: 12pt; font-family: tahoma; color: white; padding: 2px; margin: 2px;} #nbox {width: 100%; height: 150px; border: solid 1px black; padding: 2px; margin: 2px;} #rbar {width: 220px; height: 100%; float: left;} #subscribe {width: 100%; border: solid 1px black;} #subhead {width: 100%; height:18px; border-bottom: solid 1px black; background-color:#B92422; padding: 0px; margin: 0px; font-size: 10pt; font-family: tahoma; color: white;} #subnews {width: 100%; height:55px; padding: 1px; margin: 1px; font-size: 10pt; font-family: tahoma; color: black; #nobox-inner {width: 100%; height: 100%; padding: 1px; margin: 1px; float: left;} #nobox-img {width: 150px; height: 100%; padding: 1px; margin: 1px; float: left;} #nobox-links {width: 350px; height: 100%; padding: 1px; margin: 1px; float: left;} #test1 {visibility: hidden;} a:link {font-size: 8pt; font-family: tahoma; color: white; text-decoration: none} a:visited {font-size: 8pt; font-family: tahoma; color: white; text-decoration: none}a:active {font-size: 8pt; font-family: tahoma; color: white; text-decoration: none} a:hover {font-size: 8pt; font-family: tahoma; color: #000000; text-decoration: none} a.ad:link {font-size: 8pt; font-family: tahoma; color: white; text-decoration: none} a.ad:visited {font-size: 8pt; font-family: tahoma; color: white; text-decoration: none} a.ad:active {font-size: 8pt; font-family: tahoma; color: white; text-decoration: none} a.ad:hover {font-size: 8pt; font-family: tahoma; color: black; text-decoration: none} a.tab:link {font-size: 12pt; font-family: tahoma; color: white; text-decoration: none} a.tab:visited {font-size: 12pt; font-family: tahoma; color: white; text-decoration: none} a.tab:active {font-size: 12pt; font-family: tahoma; color: white; text-decoration: none} a.tab:hover {font-size: 12pt; font-family: tahoma; color: black; text-decoration: none} a.tab2:link {font-size: 8pt; font-family: tahoma; color: black; text-decoration: none} a.tab2:visited {font-size: 8pt; font-family: tahoma; color: black; text-decoration: none} a.tab2:active {font-size: 8pt; font-family: tahoma; color: black; text-decoration: none} a.tab2:hover {font-size: 8pt; font-family: tahoma; color: red; text-decoration: none} .mainframe {width:100%; height:400px; padding:0px; margin:0px; float: left;} .innerframe {width: 800px; height:300px; padding:0px; margin:0px; float: left;} font.head {font-size:12pt; font-family: tahoma; color: black;} font.head2 {font-size:12pt; font-family: tahoma; color: white;} font.copy {font-size:8pt; font-family:tahoma; color:white;} .subscribe {width: 180px; height: 100px; border: solid 2px black; position: absolute; right: 5px; top: 115px; font-size: 8pt; font-family: tahoma;} .business {width: 180px; height: 100px; border: solid 2px black; position: absolute; right: 5px; top: 235px;} .general {width: 180px; height: 100px; border: solid 2px black; position: absolute; right: 5px; top: 355px;} .subhead {width:180px; height:18px; background-color: black; padding: 0px; margin: 0px; float: left; font-size:10pt; font-family: tahoma; color: white;} .news1 {width: 470px; height: 75px; border: solid 2px black; padding:2px; margin: 2px;} .news2 {width: 470px; height: 75px; border: solid 2px black; position: absolute; top: 225px; left: 300px;} .news3 {width: 470px; height: 75px; border: solid 2px black; position: absolute; top: 330px; left: 300px;} .newshead {width:470px; height:18px; background-color: black; padding: 0px; margin: 0px; float: left; font-size:10pt; font-family: tahoma; color: white;} td {font-size: 8pt; font-family: tahoma;} input {font-size: 8pt; font-family: tahoma; color: black; border: solid 1px black;} textarea {font-size: 8pt; font-family: tahoma; color: black; border: solid 1px black;} OK, I have NO hair left and a bruise on my forehead from banging my head against the wall. I'm creating my html in php, and sending it to a table for display. A cell looks like: <td><input id="usersalonrow" type="text" name="Title[]" value=' . '"' . $_SESSION['SalonEntryData'][$i]['Title'] . '"' . ' /></td>' . The CSS looks like: #usersalonrow { text-align:left; background-color:#ffffff; width:100%; color:#000; font-size:14px; border:0px; } This works FINE in IE8, Firefox, and Chrome..... I presume it'll work pretty much everywhere. BUT, in an error situation, I want to display the EXACT same line with a red background: <td><input id="errorusersalonrow" type="text" name="Title[]" value=' . '"' . $_SESSION['SalonEntryData'][$i]['Title'] . '"' . ' /></td>' . so I changed "usersalonrow" to "errorusersalonrow". That's the ONLY CHANGE.. And the CSS looks like: #errorusersalonrow { text-align:left; background-color:#ff0000; color:#000; width:100%; font-size:14px; border:0px; } Works FINE in Firefox. In IE I get no red background, my font changes to a smaller size, and there's a border around the entry....... BUT, if I TAKE the exact set of entries OUT OF THE CSS and embed them in the line: '<td><input style="text-align:left; background-color:#ff0000; color:#000; width:100%; font-size:14px; border:0px;" type="text" name="Title[]" value=' . '"' . $_POST['Title'][$i] . '"' . ' /></td>' . it AGAIN works fine in all the browsers... Red background and so on.. WHAT have I messed up THIS TIME? Hi! I have simple page, it has 600X400 no repeat static background, and 3 flash windows positioned over it correctly. In IE all shows fine. But Firefox completely ignores margin commands, and absolution position of third flash window, while in IE all show correctly, as well as in dreamweaver. Where the problem might be? Here is the full code: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <style type="text/css"> <!-- body { font: 100% Verdana, Arial, Helvetica, sans-serif; background: #666666; margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */ padding: 0; text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */ color: #000000; } .thrColEls #container { width: 600px; /* this width will create a container that will fit in an 800px browser window if text is left at browser default font sizes */ background: #FFFFFF; margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */ border: 1px solid #000000; text-align: left; /* this overrides the text-align: center on the body element. */ background-image: url(basic.png); background-repeat: no-repeat; height: 400px; } .flashtop{ margin-left: 224px; margin-top: 39px; }; .flashleft{ margin-left: 29px; margin-top: 20px; position: relative; }; .flashright{ position: absolute; left: 296px; top: 0px; }; .thrColEls #sidebar1 h3, .thrColEls #sidebar1 p, .thrColEls #sidebar2 p, .thrColEls #sidebar2 h3 { margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */ margin-right: 10px; } .thrColEls #mainContent { margin: 0 12em 0 12em; /* the right margin can be given in ems or pixels. It creates the space down the right side of the page. */ } /* Miscellaneous classes for reuse */ .fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */ float: right; margin-left: 8px; } .fltlft { /* this class can be used to float an element left in your page */ float: left; margin-right: 8px; } </style> <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script> </head> <body class="thrColEls"> <div id="container"> <div class = "flashtop"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="149" height="50"> <param name="movie" value="radio/nativeradio.swf" /> <param name="quality" value="high" /> <embed src="radio/nativeradio.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="149" height="50"></embed> </object></div> <div class = "flashleft"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="245" height="245"> <param name="movie" value="radio/nativeradio.swf" /> <param name="quality" value="high" /> <embed src="radio/nativeradio.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="245" height="245"></embed> </object> <div class = "flashright"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="245" height="245"> <param name="movie" value="radio/nativeradio.swf" /> <param name="quality" value="high" /> <embed src="radio/nativeradio.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="245" height="245"></embed> </object> </div> </div> </div> </body> </html> Hey Guys, I made a website but I am having a problem with the CSS. http://www.gc69.com The website previews great in firefox. However, when I open it in IE, the navigation and header messes up so badly. Also, the footer is also spanning 100% accross the screen, but its meant to be just like the top navigation in firefox. Help please. Edit/Delete Message Hi there! My website (Yes.. I'm aware I use tables. Sue me. :P) has been driving me crazy CSS-wise. width:100% doesn't seem work right! Well, I know it does... but it hasn't been, and I have no idea why. As you can see in that page (and the forums too....) the black-bordered table underneath each subheader stretches too far in everything but Firefox. In Opera, not only does the black-bordered table stretch too far, but the subheading stretch... too little. O_o I am at a complete loss for words at this. Also, might I point out that when you visit a song on the site, the file type navigation (#sheetNav in the CSS file) works just fine? Any help would be GREATLY appreciated. For your convenience, here is the CSS file. Yes, it's something of a mess... forgive me. http://apollomix.com/master.css Thanks a lot! I'm new to this so probably made a horrible mistake, but somehow my CSS is FUBAR. The goal is to format a series of divs to replicate a table layout for my DB output in a manner that looks nice when printed out. In Firefox my layout looks correct, it is nearly identical to the version using tables. However when I try to print Firefox locks up! In IE it looks like ***. The first "column" is correct, the rest are not aligned correctly at all. It seems like this should be really simple (doesn't everything!) and yet I've managed to complete screw it up. Here is the CSS: Code: body { background-color: White; color: Black; } div.main { text-indent: 5px; font-weight: bold; border-bottom: 1px dashed Black; color: #000000; padding: 1px; float: left; clear: both; width: 500px; background-color: #FAF0E6; } div.sub { text-indent: 45px; border-bottom: 1px dashed Black; padding: 1px; background-color: #FAA0E6; width: 500px; float: left; clear: both; } div.tty { text-indent: 45px; border-bottom: 1px dashed Black; font-style: italic; float: left; clear: both; width: 500px; background-color: #FAFFE6; } div.subx2 { text-indent: 70px; border-bottom: 1px dashed Black; font-style: italic; float: left; clear: both; width: 450px; background-color: #FAF0A6; } div.email { color: #000000; padding: 1px; border-bottom: 1px dashed Black; width: 150px; float: left; background-color: #FAF006; } div.location { color: #000000; padding: 1px; border-bottom: 1px dashed Black; width: 150px; float: left; background-color: #AAF0E6; } div.mailstop { color: #000000; padding: 1px; border-bottom: 1px dashed Black; width: 150px; float: left; background-color: #FAAFE6; } div.phone { color: #000000; padding: 1px; border-bottom: 1px dashed Black; width: 150px; float: left; background-color: #FAF066; } Please note that a lot of that is in there for testing to make the divs more visible as I moved them around! (hence the godawful color scheme). I have been trying to create a page from my layout that uses an imaga gallery with on CSS using Ref Web page . When I try to use it on my page IE 6 works but Firefox doesn't. (The text below the image div doesn't stay in the conntent div. My Web Page Also, with the image gallery how do I keep Image text information (ie description/title of photo with the current one. It only displays when I use the mouse over, but I want both if possible (one hides when hovering) Any help would be great. Thanks Matt Gods I hate IE. I test this in IE6 and it comes out completely wrong. Here's the CSS: Code: body { font: 90% Verdana, Arial, Helvetica, sans-serif; background: #666666; margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */ padding: 0; text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */ color: #000000; background-color: #FAFBFB; background-image: url(images/mainbackground.gif); } /* Tips for Elastic layouts 1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate. 2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this. 3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing. */ .twoColElsLtHdr #container { width: 100%; /* this width will create a container that will fit in an 800px browser window if text is left at browser default font sizes */ background: #FFFFFF; margin: 0px; border: 0px; text-align: left; /* this overrides the text-align: center on the body element. */ background-image: url(images/mainbackground.gif) } .twoColElsLtHdr #header { background: #DDDDDD; padding: 0px; background-image:url(images/bg.jpg); width: 100%;} .twoColElsLtHdr #header h1 { margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */ padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */ } /* Tips for sidebar1: 1. Be aware that if you set a font-size value on this div, the overall width of the div will be adjusted accordingly. 2. Since we are working in ems, it's best not to use padding on the sidebar itself. It will be added to the width for standards compliant browsers creating an unknown actual width. 3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".twoColElsLtHdr #sidebar1 p" rule. */ .twoColElsLtHdr #sidebar1 { float: left; width: 200px; background-image:url(images/bg.jpg); padding-left: 5px; /* top and bottom padding create visual space within this div */ height:400px; } .twoColElsLtHdr #sidebar1 h3, .twoColElsLtHdr #sidebar1 p { margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */ margin-right: 10px; } /* Tips for mainContent: 1. If you give this #mainContent div a font-size value different than the #sidebar1 div, the margins of the #mainContent div will be based on its font-size and the width of the #sidebar1 div will be based on its font-size. You may wish to adjust the values of these divs. 2. The space between the mainContent and sidebar1 is created with the left margin on the mainContent div. No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. 3. To avoid float drop, you may need to test to determine the approximate maximum image/element size since this layout is based on the user's font sizing combined with the values you set. However, if the user has their browser font size set lower than normal, less space will be available in the #mainContent div than you may see on testing. 4. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs that may occur. */ .twoColElsLtHdr #mainContent { margin: 0 1.5em 0 13em; /* the right margin can be given in ems or pixels. It creates the space down the right side of the page. */ margin-top: 0px; margine-right: 400px; padding-top:0px; position:absolute; left: 50px; top: 145px; max-width: 700px; min-width: 700px; background-color:#d5d4b5; padding:10px; border-color: #420000; border-style:solid; border-size: 5px; min-height: 380px; } As you can see, I am mostly working off of modified DW scripts. If you can help me solve this problem, I will definitely appreciate it. The code: Code: <body class="twoColElsLtHdr"> <div id="container"> <div id="header"> <img src="images/banner.jpg" width="986" height="122" /> <table width="100%" height="26" border="0" cellspacing="0" cellpadding="0"> <tr> <td background="images/linething.gif"> </td> </tr> </table> <!-- end #header --></div> <div id="sidebar1"> <table width="200" border="0" cellpadding="0" cellspacing="0" background="images/bg.jpg"> <tr> <td><img src="images/home.gif" width="75" height="39" /></td> </tr> <tr> <td><img src="images/gallery.gif" width="91" height="43" /></td> </tr> <tr> <td><img src="images/Pricing.gif" width="98" height="42" /></td> </tr> <tr> <td><img src="images/request_quote.gif" width="179" height="45" /></td> </tr> <tr> <td><img src="images/care.gif" width="61" height="41" /></td> </tr> <tr> <td><img src="images/faq.gif" width="80" height="49" /></td> </tr> <tr> <td><img src="images/tutorials.gif" width="114" height="45" /></td> </tr> <tr> <td><img src="images/about_us.gif" width="116" height="47" /></td> </tr> <tr> <td><img src="images/contact.gif" width="125" height="41" /></td> </tr> </table> <h3> </h3> <!-- end #sidebar1 --></div> <div id="mainContent"> <p class="style1 style1 style1 style1 style1 style1">First and foremost, welcome. Here resides Valdyr Fenrisdottir, custom mascot and fursuit designer. It is my personal desire to help people obtain a wonderful costume and make dreams come true. It is with this desire that I have started Fenrir Productions, my contribution to the world of fursuit creation.</p> <p class="style2 style2 style2 style2 style2 style2">Whether you seek a mascot for your school or organization, a mask for an event or game, or a partial or full fursuit for yourself or a friend, I devote myself to making a high-quality product to fit your specific needs. I will even make smaller peices, like ears, paws, feetpaws, and tails for those interested in accessories for a cosplay or Halloween costume.</p> <p class="style3 style3 style3 style3 style3 style3">Please feel free to browse around the website, and be sure to check back for more updates. Questions and comments are always welcome, so if you need anything, please e-mail or contact me.<br /> <br /> </p> <div align="center"><span class="style4 style5 style5 style5 style5 style5"><strong>News and Updates:</strong></span> <!-- end #mainContent --> </div> </div> <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" /> <!-- end #container --> </div> </body> </html> And the website link, as I forgot it, so you may view the problem: http://fenrirproductions.com/anim/index.html Hi, Ive created this website - if you type in solfex limited in google - the address is solfex.co.uk (sorry i cannot post url as im a new user and it works wonders in IE but it goes horribley wrong in firefox I used css to create the website, Im not a firefox user so i have no idea how to fix this I really need help here is my css - CSS Code: Original - CSS Code body { /* for IE; otherwise, BG isn't fully stretched */ margin: 0px; } #bg { position: fixed; margin: 0px; border: 0px; padding: 0px; left: 0px; top: 0px; width: 100%; height: 100%; overflow: hidden; z-index: 0; } #bg img { width: 100%; } #body { position: absolute; left: 0%; top: 0%; width: 98%; height:98%; padding: 1%; z-index: 10; } #title {font-family:"Myriad","Arial","Times New Roman",; font-size:14px; color:#FF6A0A; font-weight: bold; margin-top:-65px; margin-left:25px; } #title1 {font-family:"Myriad","Arial","Times New Roman",; font-size:14px; color:#FF6A0A; font-weight: bold; margin-top:-205px; margin-left:10px; } #title2 {font-family:"Myriad","Arial","Times New Roman",; font-size:14px; color:#FF6A0A; font-weight: bold; margin-top:-125px; margin-left:5px; } #title3 {font-family:"Myriad","Arial","Times New Roman",; font-size:14px; color:#FF6A0A; font-weight: bold; margin-top:-150px; margin-left:5px; } #text { margin-left: -30px; margin-top: 6px; font-family:"Myriad","Arial","Times New Roman",; font-size:13px; color:#000; font-weight: bold; text-align: center; } #text1 { margin-left: 3px; margin-top: 6px; font-family:"Myriad","Arial","Times New Roman",; font-size:13px; color:#000; font-weight: bold; } #text2 { margin-left: 30px; margin-top: 5px; font-family:"Myriad","Arial","Times New Roman",; font-size:13px; color:#000; } #table{ margin-left: 90px; margin-top: -10px; font-family:"Myriad","Arial","Times New Roman",; font-size:13px; color:#000; font-weight: bold; text-align: center; } #table1{ margin-left: 90px; margin-top: -100px; font-family:"Myriad","Arial","Times New Roman",; font-size:13px; color:#000; font-weight: bold; text-align: center; } .underlinemenu{ font-weight: bold; font-family:"Myriad","Arial","Times New Roman",; font-size:15px; width: 100%; height:74px; margin-top:-60px; margin-left:-90px; background-image:url('images/footer.jpg'); } .underlinemenu ul{ /*6px should equal top padding of "ul li a" below, 7px should equal bottom padding + bottom border of "ul li a" below*/ margin-left: -2px; margin-top: 20px; text-align: center; //set value to "left", "center", or "right"*/ } .underlinemenu ul li{ display: inline; } .underlinemenu ul li a{ color: #fff; padding: 0 0 0 0; /*top padding is 6px, bottom padding is 4px*/ margin-right: 20px; /*spacing between each menu link*/ text-decoration: none; } .underlinemenu ul li a:hover, .underlinemenu ul li a.selected{ color: #000; } .underlinemenu1{ font-weight: bold; font-family:"Myriad","Arial","Times New Roman",; font-size:15px; width: 100%; height:74px; margin-top:110px; margin-left:-90px; background-image:url('images/footer.jpg'); } .underlinemenu1 ul{ /*6px should equal top padding of "ul li a" below, 7px should equal bottom padding + bottom border of "ul li a" below*/ margin-left: -2px; margin-top: 20px; text-align: center; //set value to "left", "center", or "right"*/ } .underlinemenu1 ul li{ display: inline; } .underlinemenu1 ul li a{ color: #fff; padding: 0 0 0 0; /*top padding is 6px, bottom padding is 4px*/ margin-right: 20px; /*spacing between each menu link*/ text-decoration: none; } .underlinemenu1 ul li a:hover, .underlinemenu1 ul li a.selected{ color: #000; } .underlinemenu2{ font-weight: bold; font-family:"Myriad","Arial","Times New Roman",; font-size:15px; width: 100%; height:74px; margin-top:-77px; margin-left:-90px; background-image:url('images/footer.jpg'); } .underlinemenu2 ul{ /*6px should equal top padding of "ul li a" below, 7px should equal bottom padding + bottom border of "ul li a" below*/ margin-left: -2px; margin-top: 22px; text-align: center; //set value to "left", "center", or "right"*/ } .underlinemenu2 ul li{ display: inline; } .underlinemenu2 ul li a{ color: #fff; padding: 0 0 0 0; /*top padding is 6px, bottom padding is 4px*/ margin-right: 20px; /*spacing between each menu link*/ text-decoration: none; } .underlinemenu2 ul li a:hover, .underlinemenu2 ul li a.selected{ color: #000; } #container{ height: 400px; width: 100%; position: relative; margin-top: 32px; margin-left: -12px; } #background{ position: absolute; } #content{ z-index: 2; position: relative; top:315px; left:80px; } #content1{ z-index: 2; position: relative; top:315px; left:5px; } div#navbar2 { height: 30px; width: 100%; background-color: #ccc; margin-top:50px; margin-left:25px; } div#navbar2 ul { margin: 0px; padding: 0px; font-family: Arial, Helvetica, sans-serif; font-size: small; color: #000; text-align:center; line-height: 30px; white-space: nowrap; background-color: #ccc; } div#navbar2 li { list-style-type: none; display: inline; background-color: #ccc; } div#navbar2 li a { text-decoration: none; padding: 7px 10px; color: #000; background-color: #ccc; } div#navbar2 li a:link { color: #000; } div#navbar2 li a:visited { color: #000; } div#navbar2 li a:hover { font-weight: bold; color: #000; } #slantedmenu{ font-weight: bold; font-size: 100%; font-family:"Myriad","Arial","Times New Roman",; width:100%; margin-top:50px; margin-left:310px; } #slantedmenu:after{ /*Add margin between menu and rest of content in Firefox*/ content: "."; display: block; height: 0; clear: both; visibility: hidden; } #slantedmenu ul{ text-indent: 10px; padding: 3px 0; text-align: center; /*set value to "center" for example to center items*/ width:100%; } #slantedmenu ul li{ display: inline; } #slantedmenu ul li a{ color: #494949; padding: 3px 0; padding-right: 20px; margin: 0; text-decoration: none; background: transparent url(images/slantdivider.gif) top right no-repeat; } #slantedmenu ul li a:visited{ color: #494949; } #slantedmenu ul li a:hover{ color: #0033CC; } div#link {font-family:"Myriad","Arial","Times New Roman",; font-size:12px; color:#000; text-decoration:none } div#link a:link { font-family:"Myriad","Arial","Times New Roman",; font-size:12px; color:#000; text-decoration:none } div#link a:visited { font-family:"Myriad","Arial","Times New Roman",; font-size:12px; color:#000; text-decoration:none } div#link a:hover{ font-family:"Myriad","Arial","Times New Roman",; font-size:12px; color:#336699; text-decoration:none } div#link a:active { font-family:"Myriad","Arial","Times New Roman",; font-size:12px; color:#000; text-decoration:none } #link5 { color: #666; text-decoration:none; font-size: 13px; font-family:"Myriad","Arial","Times New Roman",; font-weight: bold; margin-left: 1px; } #link5 a:link, #link5 a:visited { color: #666; text-decoration:none; font-size: 13px; font-family:"Myriad","Arial","Times New Roman",; font-weight: bold; } #link5 a:hover { color: #0033CC; text-decoration:none; font-size: 13px; font-family:"Myriad","Arial","Times New Roman",; font-weight: bold; } #link5 a:active { color: #666; text-decoration:none; font-size: 13px; font-family:"Myriad","Arial","Times New Roman",; font-weight: bold; } body { Thanks Ruksana I've started roughing out a redesign for my site, which is a very graphics-intensive, table-intensive site. I want to redo the whole thing in CSS, but I admit my CSS is quite rusty and I've been spending the last several days trying to go at it with some steel wool to remember how to do it. I haven't had to use much CSS since I worked at a dot-com back around 2000. I got the base design working the way I wanted in Firefox (my default browser) but then looked at it in IE and it's a mess. I spent awhile working on it until it was *mostly* there, but it still looks pretty bad in IE. I hope that perhaps someone can give me some pointers as to how I can fix this issue. It's at www. breedlist. com/personal/newsite/index.html (sorry, there is a rule about new posters not being able to create URLs, but I don't know how else to show the problem. This is an attempt to rework my site, breedlist). ...Barb I am using the following stylesheet code to format an input box and it works fine in internet explorer but doesn't in firefox, how do I fix it so it works in firefox? Tim PHP Code: input.pin {font-size: 7pt; font-family: tahoma; background-color: white; border-top: dotted lightgrey 1; border-bottom: dotted lightgrey 1; border-left: dotted lightgrey 1; border-right: dotted lightgrey 1} I dont understand the purpose of Browser that behave differently from each other. Couldn't the browser makers just make it result consistently? This is my code to make my line spacing bigger or padding. I try to do other style changes and it also has the same problems. In Firefox, doing it this way works but in IE, nothing happens. Code: h1 { font-size: 10px; font-weight:bold; line-height:50px; padding:10px 10px 10px 10px; } Code: h1 { font-size: 10px; font-weight:bold; padding:10px 10px 10px 10px; } Then on my web page I put this in on the text I want to customise. Code: <h1>Sample Text</h1> h1 text is inside my little div box. Am I doing this wrong to achieve what I want? On the mouseover of text in one table/cell, I'm looking to change the background color of a cell in a different table. The code below works in Chrome & IE 8 but not Firefox (3.6.2) I tried it with javascript also. Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <style type="text/css"> .hlt { background-color: yellow; color: black; } #testtag { color: #666; position: absolute; top: 44px; left: 0px; text-align: center; } #maintag { color: #000; position: absolute; top: 100px; left: 0px; background-color:#CC6 } </style> <script type="text/javascript"> function mouse_event(obj, newClass) { obj.className = newClass; } </script> </head> <body> <div id="maintag"> <table width="900" height="37" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="150" id="cellone"> </td> <td width="150" id="celltwo"> </td> <td width="150" id="celltre"> </td> <td width="150" id="cellfour"> </td> <td width="150" id="cellfive"> </td> <td width="150" id="cellsix"> </td> </tr> </table> </div> <div id="testtag"> <table width="900" height="37" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="150"><a href="#" onmouseover="cellone.className = 'hlt';" onmouseout="cellone.className = '';">Data 1.1</a></td> <td width="150"><a href="#" onmouseover="celltwo.className = 'hlt';" onmouseout="celltwo.className = '';">Data 1.2</td> <td width="150"><a href="#" onmouseover="mouse_event(celltre, 'hlt');" onmouseout="mouse_event(celltre, '');">Data 1.3</td> <td width="150"><a href="#" onmouseover="cellfour.className = 'hlt';" onmouseout="cellfour.className = '';">Data 2.1</td> <td width="150"><a href="#" onmouseover="cellfive.className = 'hlt';" onmouseout="cellfive.className = '';">Data 2.2</td> <td width="150"><a href="#" onmouseover="cellsix.className = 'hlt';" onmouseout="cellsix.className = '';">Data 2.3</td> </tr> </table> </div> </body> </html> Hey any idea why submit button at this page is not working??? http://www.ajilanyureq.com hi, i am using a navigation bar at the top of my pages (http://sa-ewb.org.uk ) that has been designed with CSS and java (thanks to http://www.gazingus.org ). I have set it up so that visited links have no decoration and do not change colour in the navigation, as opposed to the main body of text where they do behave as normal links. i.e. a:visited {.......normal behaviour and a.actuator:visited {.......no changes to appearance this works fine in firefox (gotta love it!) but in internet explorer, for some reason, it ignores the 'a class="actuator"' and uses my normal link rules. (gotta... errr... not love it!) any ideas? many thanks, jim. Hi, I want to put a background image for a div section of my site. It works fine in i.e. but i can't get it to show up in firefox. Does anyone know why? CSS: Code: body { font-family : Arial, Helvetica, sans-serif; font-size: 16px; background: #330000; text-align:center; margin: 0; padding: 0 } #mainarea { background-image: url('alexandertea_bg_v03.jpg'); width: 719px; height: 650px; } HTML: Code: <body> <div class="topbar"> <img src="images/lemonreghome.gif" id="home"> <img src="images/lemonregstory.gif" id="story"> <img src="images/lemonregwheretobuy.gif" id="wheretobuy"> </div> <div id="mainarea"> Hellow </div> </body> I have a problem that I have never seen before. I am using css to set the background properties of the body tag. Works just fine in IE but no background at all shows up in Firefox. css code for the body tag is: body { background-color: #0d005e; background-image: url('images/bgmain.jpg'); background-repeat: repeat-x; } Any thoughts? This code works in IE but not in FF. Does Firefox not support these? <style type="text/css"> <!-- A:link { text-decoration: underline; color:"#ffffff"; } A:visited { text-decoration: underline; color:"#ffffff"; } A:active { text-decoration: underline; color:"#ffffff"; } A:hover { text-decoration: none; color:"#fffffff"; } Body { background:url(http://n0madism.tripod.com/mbg.jpg); background-color:#000000; background-repeat: no-repeat; font-family:Georgia; color:#ffffff; font-size:10 pt; text-align:left; scrollbar-face-color : #000000; scrollbar-highlight-color : #000000; scrollbar-3dlight-color : #000000; scrollbar-shadow-color : #000000; scrollbar-darkshadow-color : #000000; scrollbar-track-color : #000000; scrollbar-arrow-color : #FFFFFF; } td { font-family:Georgia; color:#ffffff; font-size:10 pt; } --> </style> |