CSS - Conflicting Issue With <a> Tag And Twitter Feed Using Css
Hi,
Hope you can help. I'm having trouble trying to figure out why the links in my twitter feed have the same Background color thats applyed to my navbar. (#9933CC. I'm certain I isolated the CSS to affect only the navbar. For some reason its affecting the twitter feed and I can work out why. Can you help?? My site is below. www. smartbod co.uk (Delete spaces in url as I cant post link as im new) Thanks in advance David Similar TutorialsHello! I have the site (w w w . s t e f a n t r e g o . c o m /wordpress) ... and I am trying to place a tv graphic I made under my twitter feed as an aesthetic effect. Currently I have: body { background-image:url('/Images/tregotv.jpg'); background-repeat:no-repeat; background-attachment:fixed; background-position:983px 400px; display:block; } This looks fine on my computer -- BUT -- when I go to my photo section, travels section, the format of the site changes. Therefore my background image and twitter feed don't align correctly. Is there any CSS way to correctly align the background image to always be positioned under my twitter feed without format issues? Or would I need to get assistance with an alternate code such as Java script, or PHP to position the picture so the twitter feed always fits inside the tv? I appreciate the help!! -Stefan twitter: @stefantrego w w w . stefantrego . c o m / w o r d p r e s s PS. Sorry for the spaced out web addresses -- due to being a new user I cannot post links right away. Hi, I've tried adding AdSense to my site, but it always messes up my page. This seems to happen only in Chrome and in Safari, but it works fine with IE & Firefox Here's a sample page I created to show the problem: http://www.deutsched.com/adsense.php Try displaying it with Chrome & Firefox, and you'll notice the difference I've tried tracking down the source of the error, and it seems to be that part of the CSS file, however I'm not that good at programming, so I'm unsure of how to fix it: Code: #header { position: relative; height: 85px; } Any help would be greatly appreciated. Thanks ! Hello, I am having an issue with positioning my drop-down menu properly on a test site I am making for a relative...which he told me last night needs to be done tomorrow. I am not really CSS-savvy, my CSS skills consist of copy and paste from open-source pages and editing them through trial and error and lots of page refreshing. I am trying to combine a CSS drop down menu with a CSS gallery template -- lyteforms.com/galtest.html THE PROBLEM: I can't get that drop down menu to be centered on the page -- I've tried html <center> tags, CSS position tags, and div align tags in every manner and place possible, but it doesn't seem to work. Could any kind soul view source the stubborn thing and tell me why I am failing miserably? http://www.deltatango5.com/TESTER6b.html this is the link to reference ....... once you select a menu item: SERVICES and chose a link it of course populates the paired windows ... BUT when you go to GIFT IDEAS for instance, the menu appears until you mouse over ..... there is some kind of conflict with the "content" window/div and the submenu ..... I for the life of me cannot find the issue--assistance is greatly appreciated. NOTE: it works fine with IE ... FIREFOX is the issue ... thanks in advance and happy new year! Hi, Ok I have a slight problem. I am using two different styles for my <ul>/<li> tags. This is how it works: Code: <td class="contentmain"> <p>This is some example text - here is a list: <ul> <li>Link 1</li> <li>Link 2</li> </ul> </p> <div id="menu"> <ul> <li><a href="../link/" class="linkmenu">Link 1</a></li> <li><a href="../link/" class="linkmenu">Link 2</a></li> </ul> </div> </td> Now, I need to use two different styles for the td "contentmain" cell and the div "menu". Now, I know I could just put a class to the list, but I am creating this site for someone who doesn't know too much about HTML so I need to make it simple. These are my two styles: Code: td.contentmain ul { color: #CCCCCC; list-style-type: none; padding: 20px; margin: 0px; } td.contentmain li { background: url(../_img/img_dot.gif); background-repeat: no-repeat; padding-left: 3em; padding-bottom: 3em; font-size: 0.95em; } Code: div#menu ul { margin-left: 0px; padding-left: 0px; font-size: 0.95em; } div#menu li { list-style: none; margin-left: 0px; padding-left: 0px; font-size: 0.95em; text-decoration : none; border-bottom: 1px solid #999999; line-height: 2em; } Unfortunately, the list in the div "menu" seems to take some of the td.contentmain style - any idea how to say, don't use it...if you know what I mean. I know it's because the div is inside td.contentmain but I have no idea how to sort it out. Cheers, Chris www.l33tmonkey.com/sun/index.html completely ignoring the image issues, which are next on the list to sort out, I have a problem. I've gotten hold of two seperate scripts with permission from the author, and they wouldn't wrk together so I linked them externally as two seperate files. Both scripts cater to IE and other common browsers using conditional comments and are reasonably tidy even after I've been playing with them So here's the problem, the horozontal menu, with the two drop down sub menus, needs to float to the right, the float attribute is already present within the menu script, however, the float attribute will only work when set to the left. I altered it to the right and the menu went haywire. the scripts and index source can be viewed freely. Any help on this would be really appreciated, I'm no expert on CSS Hey guys, I am in the process of adding a Twitter widget onto my website. I would like it to be very similar to that on http://www.spotify.com/us/about/what/. I am not sure how to edit the currently provided Twitter widgets to resemble that... Has anyone any idea? PS. I am looking for a programmer for my startup company. No cash, but rather equity. We need someone fluent in PHP. Hello, I am running wordpress and I have a Twitter Widget known as Twitter Widget Pro. What I've done is that I made a graphic (a little TV with a twitter bird on top) to serve as a background image but be positioned right behind my Twitter widget so the twitter feed fits inside the tv. I got this positioned correctly on the front page in my style.css sheet. But as I go to my other pages: photos, travels, etc. the format of my site changes and therefore the background image (tv) and the Twitter feed don't align properly. How can I code the background image of the tv and the twitter widget to align properly together on all my pages? Would I have to insert the image into the actual twitter-widget-pro code itself? My website is: (w w w.stefantrego.com) Thanks a lot for the help! -Stefan I am using weather.com's rss and rss2html to display 1 feed item from their feed on a site of mine. All i'm including is the description of the feed which includes a small thumb nail image of the current weather plus the temp and a little more text. Is it possible to re align the text to the top or left of the image using CSS by setting up a style and applying it to the cell / table it's in? Can any styles be created to affect all images in the current cell? Any advice would be appreciated Thanks I have changed the blog address for my site and need to change the RSS feed on the home page. I inherited the admin responsibilities of the site and am not sure how to make this change. My site can be seen at internetce com and the feed is on the bottom left. While looking for the source in DW I do not see anything and thought perhaps it was in the css, but I see different info when checking out the source code via IE/Chrome Anyone have any ideas? Many thanks WHAT IS THE TYPICAL CSS PROBLEM FOR THIS ISSUE? w w w. jaywayproductions . c o m/portfolio/work_history.html It suppose to look the way it looks in IE. It is a little off in Firefox. I have been try'n several things to solve this particular issue but cannot. It seems as if the bottom and top row stretches and makes the effect I was trying to accomplish look off in FF. You can understand what I'm sayin' when you view both. Does anyone know why it is doing this? Any help would be greatly appreciated! Hello I am having difficulties with a site I am working on. First, if you look at it in IE and roll your mouse to the right of the site the whole thing shifts to the left. No idea why it does this. Second: In Firefox it looks like a disaster! Help! http://www.tombraiders.net/katie/shelly/index.html User: letme Pass: in Thank you! Hi everyone, For years I've been using tables solely to position elements on web pages but it's come to my attention that this is now "frowned" upon in the web community so I figured if I'm going to start doing things the more common way (with DIVs) I might as well start now. I'm not a professional website developer (C programmer here...eek! haha), but I do part time web work for some important clients of mine. So I have a very simple layout done with DIVs/CSS to start (code at the bottom). The problem is when you render it you'll see a large gap between the bottom of the layout and bottom of the page. My hypothesis is that this is due to where the "DIVs" would normally have been, except I moved them around. It sounds very similar to the problem encountered he http://forums.devshed.com/css-help-116/how-to-remove-blank-space-at-bottom-554773.html but I don't see what he did to solve it. Note that ultimately what I want is only the "header" and "footer" to have a fixed width/height. The leftcol and content should have fixed widths, but height grow with what ever is in them. And it should be centered in the page the way it is now. I tried various "text-wrap" and "height: 100%" and a few different codes but no luck. I really don't want to have to give up on DIV's but I am finding them a tad frustrating . I've altered the code from here (http://www.devarticles.com/c/a/Web-Style-Sheets/DIV-Based-Layout-with-CSS/3/). I tried "floating" them but that didn't seem to help either or is messes up my centering, plus I don't want it expanding to different resolutions. Thanks in advance if you can give a DIV newbie a heads up. Code: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>TWO-COLUM FIXED LAYOUT WITH FIXED BOXES</title> <style type="text/css"> <!-- #header { background: #0f0; position: relative; z-index: 1; top: 0px; left: 0px; width: 800px; height: 100px; } #leftcol { background: #f00; position: relative; z-index: 2; top: 0px; left: -325px; width: 150px; height: 600px; } #content { background: #ff0; position: relative; z-index: 3; top: -600px; left: 75px; width: 650px; height: 600px; } #footer { background: #0f0; position: relative; z-index: 4; top: -600px; left: 0px; width: 800px; height: 100px; } --> </style> </head> <body style="margin: 0pt;"> <div align="center"> <div id="header">Header Section</div> <div id="leftcol">Left Section <p align="left"> Test </p> </div> <div id="content">Content Section</div> <div id="footer">Footer Section</div> </div> </body> </html> Hello Guys, I am trying to get the the css to work but having a hard time with it and need some help.. Here is the content lined up in fire fox. http://content.screencast.com/users/dank2009/folders/Jing/media/4198ca5c-6c75-4196-a2e7-ba1c423caca7/2011-08-22_1550.png Ad this is what it looks like in IE (See my issue) http://content.screencast.com/users/dank2009/folders/Jing/media/c9f0dcd6-19c9-48f6-83f8-9c55d7417fcc/2011-08-22_1551.png Here is the code Code: echo '<div class="listing"><img src="'.$listing_photo.'"><span class="listlink"><a href="index.php?content=subcats&id='. $listing_id.'">'.$listing_title2.'</a></span><br><span class="listbody">'.$listing_body2.'<span class="readmore"><a href="index.php?content=subcats&id='. $listing_id.'"> Read more</a></span>>>></div>'; Here is the CSS Code: .listing { width:560px; height:auto !important; margin: 0 auto; text-align: left } .listlink { float:left; margin-left: 10px; margin-top: 20px; position: absolute; text-decoration:underline; } .listbody { float: left; margin-left: 110px; margin-top: -30px; width:440px } .listingdiv{ border-bottom: 2px dotted #9EABB5; color:#FFF; } Please advise how to fix this.. Thanks for your help in advance.. Dan I'm having trouble pinning down an issue with just one part of a page. I can't seem to figure out if the issue is a css issue or an HTML issue. I have a tab that is under a picture that has a floating height and fixed width. Under the picture when the page first loads a div element that is supposed to be a css tab seems to float over it until I reload the page. When the page is reloaded the tab moves back to its static position. This only happens in IE7 by the way. I was fixing up an existing layout by doing a pretty simple task of adding a link and placing it above the containing box without moving the code. I successfully did that with changing the position and whatnot. The only problem is in IE 7 and 8 it thinks the link is inside of a li and copies that li's properties for some reason. Here's the layout, there is a box that is a span with li's with hover classes that contain a few spans and an anchor. Outside of the li's, but still in the span box is another span that contains the link that I was fixing, it's the very last thing in the main span. What happens is when I hover over the last li it also changes the span that has my link in it to the same properties as the li. Code and Image follows. The Issue CSS Code: #invitees {float:left; border:1px;border-style:solid;margin-bottom:10px;position:relative;margin-top:10px;} #invitees li {list-style:none;font-size:12pt;padding:10px;letter-spacing:.2pt;} #invitees li .email {min-width:300px;display:inline-block;} #invitees li .sentts {min-width:300px;display:inline-block;} #invitees li .hasvoted {min-width:100px;display:inline-block;} #invitees li:hover .header {} #invitees li.header{font-weight:bold;background-color:#EBEBEB !important; color:#3E4041 !important;} #invitees li.odd {background-color:white;} #invitees li.even {background-color:#EBEBEB;} #invitees li:hover{background-color:gray; color:#FFFFFF;} #invitees li:hover a{background-color:gray; color:#C9EA5A;} #invitees li a{font-weight:bold;} #invitees #sendall {position:absolute;top:-20px;left:0px;} #invitees #sendall a {font-weight:normal;color:#799712;text-decoration:none;} #invitees #sendall a:hover {background-color: transparent;} HTML Code: <!-- invitees --> <span id="invitees" class="clearfix"> <li class="header"> <span class="email">Invitations Have Been<br/>Sent To</span> <span class="sentts">Sent At</span> <span class="hasvoted">Did They<br/>Vote?</span> </li> <li class="odd" /> <span class="email">swindle.james@ymail.com</span> <span class="sentts">Thu, Jun 24 2010 01:08 PM</span> <span class="hasvoted">no</span> <span id="6815"><a href="javascript:resendInviteEmail(6815);">Send Reminder</a></span> </li> <li class="even" /> <span class="email">wilingua@hotmail.com</span> <span class="sentts">Fri, Jun 25 2010 11:58 AM</span> <span class="hasvoted">no</span> <span id="6913"><a href="javascript:resendInviteEmail(6913);">Send Reminder</a></span> </li> <span id="sendall"><a href="javascript:resendAllInvites([6815, 6913]);">Resend to everyone who hasn't voted.</a> </span> </span> P.S. I know the XHTML is not valid, I didn't create this, I'll work on that after I get this CSS down. Hopefully Google showed me to a site that can help Thanks in advance for any advice Edit: My dumb butt figured out the issue...It's because there was no ul for the li's, issue solved. Feel kinda dumb though :/ lol First take a look at the site in firefox or chrome: cristianoronaldo(dot)info as you can see the footer works great. However, when the site is viewed in IE (specifically IE8) the footer is displayed in the middle of the page. This happens throughout the whole site/blog when browsing with IE8 I have tried many things, such as trial and error, but nothing seems to work. Does anyone have any ideas on how to go about this? Hi guys, I have a page entity that is meant to be displayed like this: But in IE7 and IE8 on Windows is displaying like this: The page is: http://www.drivinglessonsoxford.com/ Any thoughts smart people? Hi there, I need to use transparent PNGs in this site I'm building. That's sweet when using Mozilla and Opera but for IE I'm using DXImageTransform.Microsoft.AlphaImageLoader. My problem is that I'm using this in a text link area and the PNG is the background. Whenever I apply the filter the PNG actually becomes transparent (yey for that) but (there's always a but with IE) I loose all the links inside the div area (text still there but does nothing at all). If I remove the filter the links get back online. Any help REALLY appreciated. Best regards Hugo Hey I have a few containing divs and three divs in the last containing div so basically it's three columns. Well, I'm trying to get the middle column to always span 100% height of the content, not the page. I have a min-height so it's not too small, but if the content is big, I want the column to basically stretch to fit the content inside. Here is the pertaining code: Code: html,body { font-family: verdana, arial, helvetica; margin: 0px; padding: 0px; height: 100%; } #container { padding: 0px; border: solid 1px #fff; width: 900px; margin: 0px auto; text-align: left; background-color: #000; min-height: 1000px; height: 100%; } html>body #container { height: auto; } // because Mozilla actually interprets the height:100% correctly..*sigh* // Second containing div #content_main { background-color: #000; width: 900px; height: 100%; color: #000; font-size: 11px; margin: 0px; } // All columns #leftcolumn,#middlecolumn,#rightcolumn { margin: 0px; min-height: 900px; } // Middle column #middlecolumn { width: 493px; height: 100%; float: left; margin-left: -10px; } html>body #middlecolumn { margin-left: 0px; } // Third containing div #thecontent { width: 460px; height: 100%; min-height: 400px; float: left; margin-left: 10px; margin-top: 10px; } Pertaining HTML: Code: <div id="middlecolumn"> <div id="thecontent"> <div id="contentheader"><p>'.$contentHeader.'</p></div> '.$form.' <div id="thecontent2"> '.$pagecontents.' </div> <div id="contentbottom"></div> '.$formend.' </div> </div> Oh here are the other divs that are in "thecontent": Code: #thecontent2 { width: 445px; min-height: 600px; background-color: #fff; line-height: 1.8em; font-size: 11px; padding: 15px 0px 0px 15px; text-align: left; margin-left: 10px; height: 100%; } #contentheader { background: url(images/contenttop.gif) no-repeat; width: 488px; height: 35px; padding-top: 3px; text-align: center; margin: 0px auto; margin-bottom: -3px; margin-left: -2px; } #contentheader p { color: white; font-size: 14px; font-weight: bold; margin-top: 6px; } #contentbottom { background: url(images/contentbottom.gif) no-repeat; width: 471px; height: 28px; margin-left: 3px; } Ok that's alot of code IE does it correctly as I'm sure most of you know, but how can I get the 100%-height-content span for Mozilla? Thanks |