CSS - Strange Blue Links In Site
Hi All,
I have created a site in pure html and one of very strange behaviour i have ever seen is blue lines just like the a href links are coming ,Please can any one help there.They come on site first time and again on refresh they got disappear and its coming on Mozilla firefox and netscape not on IE. Site name: http://tedje.com/ Thanks in advance or any suggestion. Similar TutorialsOn my test website that i make designs on I am having a very strange problem with the styles of my links. i am trying to change the style of the title for the posts to have a blue color and the turn light blue on hover. however i have this problem where I change the style on the title, and there are also random links in the sidebar that follow that style as well. i dont know if it is bug or what, but is begining to give me a headache. Right now i colored the links pink so that are easy to see. This happens in both opera and firefox for me. the url is nverted.net I've created a stripped down version of the page he http://www.brovizion.com/testlabaudrey I want the navbar to work in ie the same way it does in firefox. Here is the html: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Testlab Audrey</title> <link href="stylesheets/brolayout.css" rel="stylesheet" type="text/css" /> <link href="stylesheets/brostyle.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="page"> <div id="outerwrapper"> <div id="header"> <div id="title"> <h1>Testlab Audrey</h1> </div> <div id="title_image"> </div> </div> <div id="wrapper"> <div id="navigation"> <ul id="menu"> <li class="current_page_item"><a class="first_menu" href="#">link01</a></li> <li class="page_item"><a href="#" title="design">link02</a></li> <li class="page_item"><a href="#" title="development">link03</a></li> <li class="page_item"><a href="#" title="marketing">link04</a></li> <li class="page_item"><a href="#" title="hosting">link05</a></li> <li class="last_menu"><a class="last_menu" href="#">link06</a></li> </ul> </div> </div> </div> </div> </body> </html> Here is the first CSS file (layout): Code: * { margin: 0; padding: 0; } #page { text-align: center; background: url(../images/page_bg.gif) center #7F7F7F repeat-y; } #outerwrapper { width: 800px; margin: 0 auto; } #header { width: 800px; margin-right: auto; margin-left: auto !important; /* stupid ie... */ margin-left: 1px; padding: 0; } #wrapper { width: 780px; margin-right: auto; margin-left: auto !important; /* stupid ie... */ margin-left: 1px; margin-left: 11px; padding: 0px; text-align: left; } #navigation { margin: 0; padding: 0; background-color: #FFCC99; } #content { width: 510px; margin: 0; margin-left: 5px; padding: 0; float: left; background: #FFFFFF; } #sidebar { width: 240px; margin: 0; margin-right: 5px; padding: 0; float: right; background-color: #FFFFFF; } #footer { width: 800px; margin-right: auto; margin-left: auto !important; /* stupid ie... */ margin-left: 1px; background: url(../images/page_bottom.gif) bottom center transparent no-repeat; padding-top: 5px; padding-bottom: 15px; } Here is the second CSS file (everything else): Code: /* Basic Styles -----------------------------------------------------------------------------*/ body { font-size : 90%; font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif; } hr { display: none; clear: both; } h1 { } h2 { } p { } a { color: #515151; text-decoration: none; } a img { border: 0 none; } /* Advanced Styles (by area) -----------------------------------------------------------------------------*/ /*------HEADER------*/ #title { background: url(../images/header.gif) top #7F7F7F no-repeat; height: 76px; margin: 0; padding-left: 25px; clear: both; text-align: left; } #title h1 { color: #c9e45a; padding-top: 25px; font-size: 3em; letter-spacing: -.1em; } #title_image { margin: 0; text-align: left; display: block; height: 95px; background: url(../images/header_image6.jpg) center center transparent repeat-y; } /*------NAVIGATION------*/ #navigation { } #menu { list-style-type: none; background: url(../images/menu_bg.gif) 50% 0 #515151 repeat-x; margin: 0; padding: 0; height: 80px; width: 780px; border-top: 1px solid #FFFFFF; overflow: hidden; } #menu li { background: none; padding: 0; display: table-row; vertical-align: middle; float: left; height: 80px; } #menu li.last_menu { float: right; } #menu li a { color: #FFFFFF; line-height: normal !important; line-height: 80px; display: table-cell; vertical-align: middle; height: 80px; padding: 0 10px 0 10px; background: url(../images/menu_triple_lightblue.gif) top left transparent repeat-x; } #menu li a:hover, #menu li a:active { background-position: center left; color: #FFFFFF !important; } #menu li.current_page_item a { background-position: bottom left !important; color:#1F3700 !important; } #menu li a.first_menu { padding-left: 35px; background-repeat: no-repeat; background-image: url(../images/menu_start_triple_lightblue.gif); } #menu li a.last_menu { padding-right: 35px; background-repeat: no-repeat; background-image: url(../images/menu_end_triple_lightblue.gif); background-position: top right; } #menu li a.last_menu:hover, #menu li a.last_menu:active { background-position: center right; } #menu li.current_page_item a.last_menu { background-position: bottom right !important; } /* Basic Lists -----------------------------------------------------------------------------*/ ul, ol { list-style-type: none; list-style-position: outside; padding: 0; margin: .2em 0 .2em 0; } ul li, ol li { background: transparent url(../images/puce.png) 2px .4em no-repeat; padding-left: 15px; } ul ul li, ol ol li { background: transparent url(../images/bullet.gif) 0px .5em no-repeat; padding-left: 8px; } /* Advanced Lists -----------------------------------------------------------------------------*/ #content ol li { list-style-type: decimal; list-style-position: inside; background: transparent; padding-left: 0; } #content ol li li { padding-left: 2em; } I have a problem with a site, first mistake i made was i built it to firefox, without testing along the way (please dont hurt me im new to web design) so i found a lot of problems in ie. So i fixed for ie7,8,9 but in 6 i get some two divs from the content area stacked one on the other at the top of the screen but when a link inside the problem div(s) is hovered they go to where they should be. any ideas about that? As you can see, the image that says view all clients has a blue border on top and to the left also. There are no borders set for this image so I am not sure why its there. It does not show up on safari, just firefox. (I am not sure about IE since I am on a mac). Here is the code: .view_all_projects{ width:245px; height:63px; position:absolute; overflow:hidden; margin: 550px 0 0px 0; } And here is the html: <div class="view_all_projects"><a href="http://www.bestdropshipper.net/order.html"><img src="images/more_project.gif" alt="Best Dropshipper"/></a> </div> This image is also clickable. Any ideas why the strange blue border? Hi, I am trying to make a link's text black with a blue underline. Is this possible? Here is my code, which produces black text with a black underline: Code: .link{ text-align:left; color:#000000; font-size:14.5pt; font-family:times new roman,serif; font-weight:normal; text-decoration:underline color:#09328a; } heys all, so im trying to get rid of that input:focus blue 'border' or 'outline' that happens in safari browsers. determined that if you apply a opacity: 0.99 to only the safari browsers, then it won't do that. however, this is only a fix for safari MAC. any thoughts on safari PC? thanks. Simple question, but i'm trying to create a decent sized space in between my links, and make them white. I can make my links white, but can't seem to change the space inbetween them. HTML Code: div id="bar-links"> <center> <div class="content box1"> <table width="500" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td colspan="4"><img src="images/barlist_01.gif" width="500" height="23" alt=""></td> </tr> <tr> <td background="images/barlist_02.gif" width="20"></td> <td background="images/barlist_03.gif" width="456"> </p> <div id="bar-links"> <h4><a href="#" title="Riley's Pub">Riley's Pub</a> <a href="#" title="Ho Down Bar"style="color: #fff">Ho Down Bar</a> <a href="#" title="Depot Square"style="color: #fff">Depot Square Bar</a> <a href="#" title="Egans Pub"style="color: #fff">Egans Pub</a> </h4> </div> </td> <td background="images/barlist_04.gif" width="24"></td> </tr> <tr> <td colspan="4"><img src="images/barlist_05.gif" width="500" height="27" alt=""></td> </tr> </table> </div> CSS Code: #bar-links { text-indent:inherit; text-align:left; } i have the following CSS Code: #logoOuter{ width:155px; height:90px; background-color:#336699; position:relative; float:left; } #logo{ bottom:0px; position:absolute; } html>body #logo{ margin-bottom:-5px; } #globalNavOuter{ margin-left:155px; background-color:#00CC99; } #globalNavTop{ height:19px; } #globalNavBottom{ height:71px; } and this XHTML Code: <div id="header" > <div id="logoOuter"> <div id="logo"> <img src="images/logo.gif" border="0" /> </div> </div> <div id="globalNavOuter"> <div id="globalNavTop">globla Nav Top</div> <div id="globalNavBottom">global nav bottom</div> </div> </div> The problem is there was a 5px gap at the bottom of the image in moz/FF and in IE when i took the whitespace out (the CR's) of the html the space went away in IE bot not MOZ/FF so i added a -5px margin to the bottom of that div and that did the trick in FF but it over did it in IE thus the sub selector > hack. [EDIT] I just took the image away and that fixes it. So it looks like it's the image causing it. doing a - vertical alignment seems to fix it but I still dont understand why... Gary perhaps you can explain this to me...i just dont get it Some days tables just seem so much easier........ I have learned a lesson, To look in F.F as well as I.E6 to make sure all layout is showing as it should be, it is to a point. I had three errors when I looked in validator. Learned also yesterday that there is also CSS validator heaven forbid. I had this random image script that shows all images in posts. The link colors are what were different in F.F. Right color iin I.E. I have took that out now because when it showed images from the posts and the sidebar randomly the image over shot the sidebar when it shows both same images as the script found the posted images. I may have the answer to that by another random image to pull from a directory instead. On the F.F last year I had a site that had 100 errors lol so I wanted to check everything as I go this time around. If anyone has Opera please could they check out my Wordpress please? My link is in my profile as I saw yesterday there are rules about links with good reason. S how come the border was different color in F.F thats my question? Thanks! http://www.wwu.edu/~swing/newswingsite/index.html I'm relatively new at this, but I've been trying my hardest to learn how to do all of this while conforming to web standards. I've got my page looking almost (see below) like I want it to in Firefox, but in IE I get these ugly gaps. I used to get them in the inset box too, but I figured out a way to make them go away. I can't figure out how to make it go away in the header though. So my questions, so that I can actually learn something here, are these: What causes that big gap? How do I get rid of it? Is there a better/cleaner/simpler way to style the inset box so as to avoid the gaps? Also, you can see that there's one pixel missing in the gold border. That's from the blue top border so as to blend the rounded top border gif. Is there an easier way to add the rounded top? When I simply had no top border, things got screwy. Thank's for any help/insight you can give! Hi all, Please see http://www.jaysonsgroup.com/ztest/ntc/zcontact.html It's full of tests, but here's the problem.. The "Do you need more than one NTC Card" text at the bottom, needs to be followed by the text "(To share the Modem with friends)?*" IMMEDIATELY below it... Unfortunately, in IE, there is a spacing problem - see the link below for 2 screenshots for what I mean: http://www.jaysonsgroup.com/ztest/ntc/zie.gif The code is simple: Code: <div class="fieldname_long">Do you need more than one NTC Card</div> <div class="fieldvalue">(input field will come here)</div> <div class='spacer_1px'> </div> <div class='fieldname_text'>(To share the Modem with friends)?*</div> The CSS: Code: .spacer_1px { clear: both; height: 1px; overflow:hidden; background: blue; } .fieldvalue { float: left; background: #ccc; display: inline; margin: 0; } .fieldname_long { float: left; width: 120px; line-height: 13px; padding-right: 15px; color: #B30000; font-weight: bold; background: #eee; display: inline; margin: 0; } .fieldname_text { color: #B30000; font-weight: bold; } Note - I justr added "display:inline" and "margin:0" above to 'fieldname_long' and 'fieldvalue' but it doesn't fix anything in IE In the test link above, you can see that the blue line is the spacer_1px and that line should be touching the fieldname_long (light grey box). This happens in Firefox. But in IE, there's a gap which I need to remove. Sorry this is a really small thing but I just can't figure it out! Any ideas? Many thanks! I have been designing for a few years now, and never come across this error when I use w3c CSS validation, but when I attempted to validate my CSS for a wordpress theme I've created, I received the following error: Quote: Parse Error Lexical error at line 1, column 3. Encountered: "D" (68), after : "<!" My CSS is valid, as I keep it really simple, but from a quick Google search, it would seem that w3c CSS validation is attempting to validate my XHTML before my CSS? Does anyone have any suggestions (aside from pasting the CSS directly into the validation page)? Here is my CSS: Code: body { background : #003 url(images/bground.png) repeat-x; color : #fff; font-family : Arial, Helvetica, Georgia, Sans-serif; font-size : 11px; margin : 0; padding : 0; text-align : center; } a { color : #66f; text-decoration : none; } p { line-height : 14px; margin : 0; padding : 0 0 8px 0; } h1 { background : url(images/h1-logo.png) no-repeat; color : #300; font-family : Arial, Helvetica, Georgia, Sans-serif; font-size : 48px; height : 48px; margin : 0; padding : 0 0 0 56px; } #index-header { height : 48px; margin : 0; padding : 24px; text-align : left; } #index-header h1 a, #index-header a { color : #300; text-decoration : none; } .hdr1 { float : left; } .hdr2 { float : right; } .hdr2 ul { font-size : 12px; font-weight : bold; list-style : none; } #navigation { background : url(images/navbar.png) repeat-x; height : 32px; } .nb { float : left; } .nb2 { float : right; } ul#navbar { height : 16px; margin : 0 12px; padding : 0; } ul#navbar li { float : left; font-size : 13px; font-weight : bold; line-height : 16px; list-style : none; margin : 0; padding : 8px; } ul#navbar li a { color : #333; text-decoration : none; } form#searchform { float : right; margin : 0; padding : 6px; } form#searchform #s { background : inherit; border : 1px solid #333; } form#searchform #searchsubmit { background : inherit; border : 0; color : #333; font-family : Arial, Helvetica, Georgia, Sans-serif; font-size : 13px; font-weight : bold; } #index-wrapper { border : none; margin : 0; padding : 12px; width : 100%; vertical-align : top; } #slideshow { background : url(images/Natural-Wonders.gif) no-repeat; height : 300px; width : 400px; } #recentposts { padding : 0 0 0 12px; text-align : justify; width : auto; vertical-align : top; } .index-post { background : #306 url(images/post-h2.png) repeat-x; margin : 0 0 12px 0; padding : 6px; } .index-post h2, .index-post h2 a { border-bottom : 1px solid #666; color : #fff; font-size : 16px; font-weight : bold; margin : 0 0 4px 0; padding : 0; text-decoration : none; } .postmetadata { border-top : 1px solid #666; color : #666; font-size : 10px; } .tags { margin : 0; padding : 0; vertical-align : top; width : 400px; } #footer { border-top : 1px solid #666; margin : 12px 0; padding : 12px 0 0 0; } #footer a { color : #999; text-decoration : none; } And just for good measure, here's the portion of the <head> tag that it is referring to: 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 profile="http://gmpg.org/xfn/11"> I have a DIV on my page with the style 'bottom' applied to it. It is coloured red so you can see it. I would like it at the bottom outside of all the other divs/containers. The DIV with the red background should be at the very bottom of the page, under the large DIV. This is the HTML placing it on the page: HTML Code: Code: <!-- InstanceEndEditable --></div> <div class="bottom">bottom</div> </body> You can see it is the last DIV on the page. Yes I am using Dreamweaver templates. Here is the CSS for the bottom class: Code: Code: .bottom { margin: 0px; padding: 0px; background-color: red; border: 0px solid #999999; height: 20px; width: 100%; } It appres in different places on different pages. 'bottom' DIV at the top of the page: http://www.jfwebdesign.co.uk/photog/ 'bottom' DIV almost at the bottom of the page: http://www.jfwebdesign.co.uk/photog/about.php 'bottom' DIV at the top of the page: http://www.jfwebdesign.co.uk/photog/work.php 'bottom' DIV at the top of the page: http://www.jfwebdesign.co.uk/photog/contact.php Here is a link to the CSS file: http://www.jfwebdesign.co.uk/photog/styles.css Can anyone explain why? Many thanks. I have a strange css bug in IE 6 and 7 while making a simple two column structure. In firefox both the left and the right columns are top aligned properly but in IE the right column has around 15px of space on top of it. I can't seem to figure out why this space is coming. This seems like the IE peekaboo bug but can't be fixed using the line-height hack. Instead giving the IE proprietary ZOOM property to the UL we can fix this bug in IE. But I want to know is there any other method to fix this issue which uses valid css. Doctype for the HTML is xHTML transitional Here is the css code. #gdsrView{width:456px;} #gdsrView .srchGrpMod{} #gdsrView .grpResHdr{} #gdsrView .grpPagination{} #gdsrView .srCnt{clear:both;float:none;} #gdsrView .srCnt ul{list-style-type:none;margin:0;padding:0;} #gdsrView .srCnt ul#lstView li{clear:both;float:none;border-bottom:1px solid green;padding-bottom:5px;} #gdsrView .srCnt ul#lstView .grpPic{width:75px;height:75px;overflow:hidden;float:left;} #gdsrView .srCnt ul#lstView .grpInfo{background:#cacaca;margin-left:83px;} #gdsrView .srCnt ul#lstView dl.grpMLnk{font-size:1.1em;} #gdsrView .srCnt ul#lstView .grpInfo dl.grpMLnk dt{display:inline;} #gdsrView .srCnt ul#lstView .grpInfo dl.grpMLnk dt a.actLnk{font-size:0.8em;} #gdsrView .srCnt ul#lstView .grpInfo .grpDes{font-size:1em;} #gdsrView .srCnt ul#lstView .grpInfo .tStamp{font-size:0.9em;} #gdsrView .clearFl{margin-top:1px;} HTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "(URL address blocked: See forum rules)"> <head> <title>IE bug</title> </head> <body> <div id="gdsrView"> <div class="srchGrpMod"></div> <div class="grpResHdr"></div> <div class="grpPagination"></div> <!-- Begin: group results list view --> <div class="srCnt"> <ul id="lstView"> <li style="background:red;zoom:100%;"> <div class="grpPic"> <img src="../images/pic.jpg" alt="Group Image" width="75" height="75" /> </div> <div class="grpInfo"> <dl class="grpMLnk"> <dt><a href="#">Lorem Ipsum dolor amet consectectuer...</a></dt> <dt><a class="actLnk" href="#">Request Invitation</a></dt> </dl> <p class="grpDes">Lorem ipsum dolor sit amet, consectetuer adipiscing elit.Donec mattis urna eget magna. Nam cursus ipsum sit amet.lorem. Vestibulum ante ipsum primis in faucibus orci luc..</p> <p class="tStamp">Updated 55 Minutes ago</p> </div> <div class="clearFl"></div> </li> </ul> </div> <!-- End: group results list view --> </div> </body> Hi. I have noticed a strange behavior with my CSS and I cannot figure out a way to fix it. I have some css to override the body tag style. It sets the font family and size. I need to do this. However, when I use the font-size in the body, it adds extra pixels to a set of span tags that I use. (see attached picture). Here is my code. Does anyone know how I can include the font-size in the body, but not have that extra space in my div tags? Note: the sample image contains images on the edge of the tabs, but their presence has no effect on the issue. Also, this is for IE 6 on Windows. Thanks, Dave Code: <html> <head> <style> body { font-family: Tahoma,Verdana,Arial,sans-serif; font-size:11px; /* with this line, extra space appears */ } .tab_off { height:17px; overflow:hidden; cursor:hand; } .tab_off_text { background:#ACA899; height:15px; font-size:10px; border-top:1px solid #aaaaaa; border-bottom:1px solid #ECECEC; padding-left:4px; padding-right:4px; vertical-align:middle; } .tabbed_panel { background:#ECE9D8; border-left:1px solid #666666; border-bottom:1px solid #666666; border-right:1px solid #666666; width:400px; height:400px; } </style> </head> <body> <div id="pnlTabs"> <span class="tab_off"> <span class="tab_off_text">Tab One</span> </span> </div> <div id="pnlContent" class="tabbed_panel"></div> </body> </html> I have been tearing my hair out trying to figure out what is causing this artifact. I am assuming that it's a rendering issue with IE6, but wanted to ask here to see if anyone can think of what is causing it. Here is a screenshot: http://www.chimericdream.com/downloads/indexv_v35_ie6_bug.jpg And here is the HTML/CSS markup for that part of the page: HTML Code: <div id="findHelp"> <h3 id="findHelpHeader">Find the help you need!</h3> <form id="findHelpForm" action="" method="post"> <fieldset> <label for="subject">Subject</label><br /> <select name="subject" id="subject"> <option value="">Search all subjects</option> </select> </fieldset> <fieldset> <label for="grade">Grade</label><br /> <select name="grade" id="grade"> <option value="">Search all grades</option> </select> </fieldset> <fieldset> <label for="type">Type of help</label><br /> <select name="type" id="type"> <option value="">Search all types</option> </select> </fieldset> <fieldset id="last"> <br /><input type="submit" value="" id="findSubmit" /> </fieldset> </form> <!-- #findHelpForm --> <div id="featuredTeachers"> <h3>Featured Teachers</h3> <div class="teacherBox"> <img src="images/photo_Lisa.jpg" alt="Lisa Yang" /><br /> Lisa Yang <img src="images/browseWidget_btnPromo.png" alt="Button" /><br /> <strong>Advanced Chemistry Prep</strong><br /> <small>9th grade - 12th grade</small><br /> <img src="images/rating_starActive.gif" alt="Gold Star" /><img src="images/rating_starActive.gif" alt="Gold Star" /><img src="images/rating_starActive.gif" alt="Gold Star" /><img src="images/rating_starActive.gif" alt="Gold Star" /><img src="images/rating_starInactive.gif" alt="Blank Star" /> </div> <!-- .teacherBox --> <div class="teacherBox"> <img src="images/photo_Drew.jpg" alt="Drew Hamlin" /><br /> Drew Hamlin <img src="images/browseWidget_btnPromo.png" alt="Button" /><br /> <strong>Proper CSS/HTML Coding</strong><br /> <small>College</small><br /> <img src="images/rating_starActive.gif" alt="Gold Star" /><img src="images/rating_starInactive.gif" alt="Blank Star" /><img src="images/rating_starInactive.gif" alt="Blank Star" /><img src="images/rating_starInactive.gif" alt="Blank Star" /><img src="images/rating_starInactive.gif" alt="Blank Star" /> </div> <!-- .teacherBox --> <div class="teacherBox"> <img src="images/photo_Joey.jpg" alt="Joey Flynn" /><br /> Joey Flynn <img src="images/browseWidget_btnPromo.png" alt="Button" /><br /> <strong>Natural Sciences Overview</strong><br /> <small>6th grade - 8th grade</small><br /> <img src="images/rating_starActive.gif" alt="Gold Star" /><img src="images/rating_starActive.gif" alt="Gold Star" /><img src="images/rating_starInactive.gif" alt="Blank Star" /><img src="images/rating_starInactive.gif" alt="Blank Star" /><img src="images/rating_starInactive.gif" alt="Blank Star" /> </div> <!-- .teacherBox --> <p><a href="#">See more teachers</a></p> </div> <!-- #featuredTeachers --> <div id="adobePlayer"> <h4>We've got something better for you.</h4> <p>For an interactive search experience, please download Adobe Flash Player.</p> <a href="#"><img src="images/browseWidget_btnGetFlash.gif" alt="Get Adobe Flash Player" /></a> </div> <!-- #adobePlayer --> </div> <!-- #findHelp --> CSS Code: #findHelp {width: 743px; height: 313px; background: #fff url('images/browseWidget_background.png') top left no-repeat; position: relative; margin-bottom: 1em;} #findHelp #findHelpHeader {position: absolute; top: 15px; left: 25px; font-size: 1.3em;} #findHelpForm {position: absolute; top: 45px; left: 25px; width: 718px;} #findHelpForm fieldset {float: left; width: 27%; margin-right: 10px;} #findHelpForm fieldset label {font-weight: bold;} #findHelpForm fieldset select {width: 100%; border-width: 1px; border-style: inset;} #findHelpForm fieldset#last {width: 10%;} #findSubmit {width: 88px; height: 23px; background: #fff url('images/browseWidget_btnSearch.gif') top left no-repeat;} #featuredTeachers {position: absolute; bottom: 35px; left: 20px;} #featuredTeachers p {position: absolute; bottom: -20px; right: 15px; font-size: 90%;} .teacherBox {width: 175px; float: left; text-align: center;} #findHelp #adobePlayer {width: 150px; position: absolute; bottom: 30px; right: 20px;} #findHelp #adobePlayer h4, #findHelp #adobePlayer p {color: #777; margin-bottom: 1em;} #findHelp #adobePlayer p {font-size: 85%;} Any help would be greatly appreciated. HI all, I've a problem. When my page is on hard drive it works fine. When I upload it to server, some characters screw up, such as three dots in a row.. and other punctuation. Take a look at the popup: http://www.mustsh.com.cn/testingdim.html Also.. any suggestions? My design is fairly whack.. Hi, I've designed a site that looks excellent on IE and Firefox on a PC, as well as (as far as I've been told) Safari. However, I've seen a couple of instances on IE on a Mac where the menu doesn't render correctly. The page can be viewed here. On the problem browsers, the top menu items will be displayed in two stacks, rather than across the bottom of the image. If anyone out there has any idea why this is happening, I'd appreciate the help. The menu code in the HTML: Code: <table border="0" width="665" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0" cellspacing="0"> <tr> <td width="100%" align="center" valign="top"> <ul class="topmenuul" id="dmenu"> <li class="topmenuli"><a href="home.htm" class="topmenutitle">H O M E</a> </li> <li class="topmenuli"><a href="weddings.htm" class="topmenutitle">W E D D I N G S</a> </li> <li class="topmenuli"><a href="#" class="topmenutitle">P O R T R A I T S</a> <ul class="submenuul"> <li class="submenuli"><a href="authors.htm">Authors & Artists</a></li> <li class="submenuli"><a href="families.htm">Families</a></li> <li class="submenuli"><a href="musicians.htm">Musicians</a></li> </ul> </li> <li class="topmenuli"><a href="solo.htm" class="topmenutitle">S O L O</a> </li> <li class="topmenuli"><a href="#"class="topmenutitle">E M M A</a> <ul class="submenuul"> <li class="submenuli"><a href="bio.htm">Bio</a></li> <li class="submenuli"><a href="press.htm">Press</a></li> <li class="submenuli"><a href="contact.htm">Contact</a></li> </ul> </li> </ul> </td> </tr> </table> The CSS for the menu: Code: .topmenuul{ list-style-type:none; margin: 0px; padding:0px; } .topmenuli{ list-style-type:none; float: left; margin-left: 10px; /* border-left:1px solid #000000; */ /* border-right:1px solid #000000; */ padding: 0px; color: #000000; } .topmenutitle{ display:block; color:#000000; } .topmenuli a:link { color: #000000; } .topmenuli a:visited { color: #000000; } .topmenuli a:hover{ display:block; padding-top: 1px; padding-bottom: 1px; text-decoration:none; color:#cccccc; background:#fff; width: 120px; } .submenuul{ list-style-type:none; position:absolute; margin: 0; padding: 0; display:none; color:#000000; } .submenuli a{ display:block; padding-top: 1px; padding-bottom: 1px; width: 120px; text-decoration:none; color:#000000; background:#fff; margin-top: 1px; } li:hover ul, li.over ul{ /* lists nested under hovered list items */ display: block; } #dmenu li>ul { top: auto; left: auto; } #content { clear: left; } --> #dmenu { font-family: Georgia, Helvetica, Sans-Serif; font-size:10px; text-align:center; font-color: #000000; } .topmenutitle { background:#fff; text-indent:0px; text-decoration: none; padding:0px; padding-top: 1px; padding-bottom: 1px; color:#000000; width: 120px; } .submenuul { background-color:#fff; background-position: top left; } .submenuli a{ text-decoration: none; color: #000000; padding-top: 3px; padding-bottom: 3px; } .submenuli a:link{ color:#000000; } .submenuli a:visited { color:#000000; } .submenuli a:hover{ text-decoration: none; background:#fff; color: #cccccc; padding-top: 3px; padding-bottom: 3px; } Hi, i have just noticed a very strange cross browser issue. On several of my sites, i have applied simple css styling to my select boxes / drop down menus... some of this styling has been simply changing the color of the text in the drop down menu. The styling is fine in IE7+, FF (PC), Opera (PC), Chrome (PC), FF (Mac), Safari (Mac), Opera (Mac) BUT NOT ON Chrome (Mac) I can't understand how you can't apply simple css such as text color to Chrome on a Mac Has anyone else noticed this or found a solution to this... thanks in advance for your help now, i'm posting this after i've scoured the forum here and i have yet to find a posted resolution. The problem i'm having is pushing the footer to the bottom of the page, as opposed to the bottom of the window. The #footer is as follows: Code: #footer { position: absolute; bottom: 0px; (border/font/background/padding properties) width: 310px; margin-top: 8px; clear: both; } you can view the full style sheet here. if the page has enough information to push past the window height, teh footer remains at the bottom of the window, and is placed on top of the stacking order. The strangest part is that if you scroll, the footer scrolls with the page. To see what i'm talking about, go to the page and try resizing the window. |