Hi Matoca, take a look at this page: http://www.css-discuss.org/policies.html
There it says: "If you're asking for help with a problem, then remember this: A description of your problem is good. A URL to a page showing your problem is much, much better." And: "Do not send attachments to the list. Ever. Put whatever you were going to attach on a Web site and post the URL instead." Usually people put a link to the problematig page or site and a link to the css file (if it is a single file). So feel free to post that link, it will help everybody to analyze your problem and maybe find a solution. Best regards, Christian Editura GmbH & Co. KG Tempelhofer Damm 2 · 12101 Berlin www.editura.de <http://www.editura.de> AG Berlin-Charlottenburg · HRA 43189 B · USt.Id. DE217180548 Geschäftsführer: Ralf Szymanski Am 25.07.2010 08:19, schrieb PL: > Christian, > What are the rules regarding posting a link to a client's website on > this forum? I would like to post it, but I am unsure about that. > > This is the code for the top icon "logo" element on the top left page > and the title on the top right page. This is happening on every page. > (It is also happening to images used in a lightbox2 javascript in some > pages but fixing this problem with the icon would help immensely) > > <div id="topcontainer"><a href="index.php"><img src="img/Logo.png" > alt="Company Name" width="205" height="51" border="0" > style="margin-left: -8px;" title="Company Name"/></a> > > These styles apply to this: > body { > margin: 0px; > text-align: center; > background-image: url(../img/bodybg.jpg); > background-color: #C8C8A2; > background-repeat: repeat-x; > font-family: Trebuchet MS, sans-serif; > font-size: 14px; > line-height: 20px; > } > > #topcontainer { > width: 968px; > text-align: left; > margin: 0px auto; > border: 0px; > } > > a { color: #396552; text-decoration: none;} > a:visited { color: #396552; text-decoration: none;} > a:hover { > color: #FFF; > background-color: #3D6554; > } > > I wish I understood this better but I have reached a point where I am > tripping over the CSS and drawing a blank. I can usually figure things > out with brute force and experimenting. The more I experiment with this > the less I understand. I even tried to just remove the background color > from the a:hover. But then on other pages (where this also applies) the > email links text color turned to white when hovered and the text just > disappeared into the white background! So this bg color on the a:hover > has to stay. > > When you ask if there is padding, margin, line-height etc. set to the > the<a> or<img> does border="0" style="margin-left: -8px;" indicate > this? What would I alter in this? > Thanks > Matoca > > >> if the anchor element containing the image would be exactly as big as >> the image, and the image's position would not be offset in any way, then >> there shouldn't be any green backfround color visible. >> >> Is there a padding set to<a> elements, or a margin to<img> elements, >> or line-height or anything else? >> >> Is there a link to the website to take a closer look at the problem? >> >> Best regards, >> >> Christian >> > ______________________________________________________________________ > css-discuss [cs...@lists.css-discuss.org] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > List policies -- http://css-discuss.org/policies.html > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/