<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
      <title>CSS Combat - CSS-Tricks Forums</title>
      <link>http://www.css-tricks.com/forums/categories/css/feed.rss</link>
      <pubDate>Sun, 19 May 13 08:57:03 -0400</pubDate>
         <description>CSS Combat - CSS-Tricks Forums</description>
   <language>en-CA</language>
   <atom:link href="/forums/discussions/feed.rss" rel="self" type="application/rss+xml" />
   <item>
      <title>Gradients in Opera and IE</title>
      <link>http://www.css-tricks.com/forums/discussion/24991/gradients-in-opera-and-ie</link>
      <pubDate>Sun, 19 May 2013 08:13:10 -0400</pubDate>
      <dc:creator>eerik133</dc:creator>
      <guid isPermaLink="false">24991@/forums/discussions</guid>
      <description><![CDATA[<p>Hi!
please, how can I put these grandients into Opera and IE (&gt;10 I think..)</p>

<pre><code>background: -moz-linear-gradient(
  top,
  #1275ae 0%,
  #0e619c);
background: -webkit-gradient(
  linear, left top, left bottom, 
  from(#1275ae),
  to(#0e619c));
</code></pre>

<p>My attempts did not work..</p>

<p>Thank you very much :)</p>
]]></description>
   </item>
   <item>
      <title>Google Maps Embed Bug</title>
      <link>http://www.css-tricks.com/forums/discussion/24983/google-maps-embed-bug</link>
      <pubDate>Sat, 18 May 2013 18:41:04 -0400</pubDate>
      <dc:creator>Jarolin</dc:creator>
      <guid isPermaLink="false">24983@/forums/discussions</guid>
      <description><![CDATA[<p>I embed Google maps API v3 onto my website and i'ts working well. But one problem i'm having is that when you click "contact us" then click another tab, and go back to "contact us" section, the map doesn't fully load. Only a small portion does. This also happens when you click the blue arrow and re-open "contact us" section. Anyone have any idea what's causing this? <a href="http://reallycoolstuff.net/PROJECTS/Unica" target="_blank" rel="nofollow">http://reallycoolstuff.net/PROJECTS/Unica</a></p>
]]></description>
   </item>
   <item>
      <title>Chrome Canary - no styles</title>
      <link>http://www.css-tricks.com/forums/discussion/24975/chrome-canary-no-styles</link>
      <pubDate>Sat, 18 May 2013 12:13:50 -0400</pubDate>
      <dc:creator>tobeeornot</dc:creator>
      <guid isPermaLink="false">24975@/forums/discussions</guid>
      <description><![CDATA[<p>I've just downloaded Chrome's beta browser and the css appears to be switched <a rel="nofollow" href="http://i1200.photobucket.com/albums/bb328/tobeeornot/Chrome.jpg" title="screenshot">off</a>. Cannot see anything in the settings or dev tools to change it. Any ideas?</p>
]]></description>
   </item>
   <item>
      <title>CSS Font Variant issue</title>
      <link>http://www.css-tricks.com/forums/discussion/24988/css-font-variant-issue</link>
      <pubDate>Sun, 19 May 2013 01:57:55 -0400</pubDate>
      <dc:creator>lantafly</dc:creator>
      <guid isPermaLink="false">24988@/forums/discussions</guid>
      <description><![CDATA[<p>I'm having difficulty finding a solution for a CSS font variant trick.</p>

<p>I need to know of a way to display "small caps" along with "uppercase" based on how the letter was typed.
Example...
THe LAZY dog SleePS all day.</p>

<p>In the example, I want all letters that are typed in uppercase to be "capitalized", while all letters typed in lowercase to transform to "small caps". Make sense?</p>

<p>Is this possible to do in CSS?</p>

<p>Thanks and apologies if my terminology is not correct.</p>
]]></description>
   </item>
   <item>
      <title>Help with jquery slider</title>
      <link>http://www.css-tricks.com/forums/discussion/24989/help-with-jquery-slider</link>
      <pubDate>Sun, 19 May 2013 02:26:23 -0400</pubDate>
      <dc:creator>rwchampin</dc:creator>
      <guid isPermaLink="false">24989@/forums/discussions</guid>
      <description><![CDATA[<p>Chris posted a tutorial blog on this cool jquery slider w a cool transition. He posted the HTML,CSS and js. I copied all three into dream weaver and the whole thing works EXCEPT THE COOL TRANSITION EFFECT. HELP!!! 
<a href="http://css-tricks.com/slider-with-sliding-backgrounds/" target="_blank" rel="nofollow">http://css-tricks.com/slider-with-sliding-backgrounds/</a></p>
]]></description>
   </item>
   <item>
      <title>EMs for media queries and layout</title>
      <link>http://www.css-tricks.com/forums/discussion/24951/ems-for-media-queries-and-layout</link>
      <pubDate>Fri, 17 May 2013 02:34:06 -0400</pubDate>
      <dc:creator>Gareth</dc:creator>
      <guid isPermaLink="false">24951@/forums/discussions</guid>
      <description><![CDATA[<p>Hey guys,</p>

<p>I'm busy putting a new responsive site together and I've heard a lot of talk about shifting to EMs for media queries and layout.</p>

<p>Can anybody give me a "Top 10" list of why this is a good/bad idea and any gotchas to look out for?</p>

<p>Shot!</p>

<p>Gareth</p>
]]></description>
   </item>
   <item>
      <title>Active page navigation triangle. help.</title>
      <link>http://www.css-tricks.com/forums/discussion/24987/active-page-navigation-triangle-help-</link>
      <pubDate>Sat, 18 May 2013 23:57:28 -0400</pubDate>
      <dc:creator>attilahajzer</dc:creator>
      <guid isPermaLink="false">24987@/forums/discussions</guid>
      <description><![CDATA[<p>How do i add the bottom triangle on the .active :after?</p>

<p>I know that we need the Content:""; then to position it. but relative? and would that be relative to the parent ? (so the li? or the a?) then the triangle.</p>

<p><a href="http://jsfiddle.net/attilahajzer/6Sxak/10/" target="_blank" rel="nofollow">http://jsfiddle.net/attilahajzer/6Sxak/10/</a></p>
]]></description>
   </item>
   <item>
      <title>Problem with jQuery .removeClass()</title>
      <link>http://www.css-tricks.com/forums/discussion/24981/problem-with-jquery-removeclass</link>
      <pubDate>Sat, 18 May 2013 17:15:06 -0400</pubDate>
      <dc:creator>martyd777</dc:creator>
      <guid isPermaLink="false">24981@/forums/discussions</guid>
      <description><![CDATA[<p><a href="http://codepen.io/Martin-Duran/pen/lDiyo" target="_blank" rel="nofollow">http://codepen.io/Martin-Duran/pen/lDiyo</a></p>

<p>The above pen illustrates a way to make a responsive layout that includes a sidebar. When the final breakpoint is met, the navigation disappears, and a navigation icon appears. When the icon is clicked, the navigation appears. I accomplished this with jQuery, and I'm using .addClass() to add class "close" to the icon so that, after the navigation is opened, when it is clicked on the navigation closes. It works, until you do it a second time. The second time around, the navigation opens and immediately closes. It seems as if the class "close" is not being removed after the first second click. Feedback/help is appreciated, thanks.</p>
]]></description>
   </item>
   <item>
      <title>Is it ok to build a WordPress theme as an HTML template first, and then turn it into a theme?</title>
      <link>http://www.css-tricks.com/forums/discussion/24976/is-it-ok-to-build-a-wordpress-theme-as-an-html-template-first-and-then-turn-it-into-a-theme</link>
      <pubDate>Sat, 18 May 2013 12:38:49 -0400</pubDate>
      <dc:creator>Jarolin</dc:creator>
      <guid isPermaLink="false">24976@/forums/discussions</guid>
      <description><![CDATA[<p>I'm working on an HTML template and only though of making it a wordpress theme now. Is it okay to create it as an HTML template first, and then make it a wordpress theme?</p>
]]></description>
   </item>
   <item>
      <title>div with css visibility not showing on mobile device</title>
      <link>http://www.css-tricks.com/forums/discussion/24978/div-with-css-visibility-not-showing-on-mobile-device</link>
      <pubDate>Sat, 18 May 2013 16:26:05 -0400</pubDate>
      <dc:creator>lassege</dc:creator>
      <guid isPermaLink="false">24978@/forums/discussions</guid>
      <description><![CDATA[<p>Hey there!</p>

<p>I'm in the middle of a project and I've got stuck and hoped you folks could help me out.
Currently I'm trying to optimize the design for both pc and mobile device and here's problem -- the menu I would like to show on the mobile won't appear.</p>

<p>The code can be seen here: <a rel="nofollow" href="http://cdpn.io/nqpLo">http://cdpn.io/nqpLo</a></p>

<p>As you can see I'm using a sticky footer holding the menu('s) one is hidden with the help of an id tag and given the css attribute "visibiilty:hidden;"
The other is visible for the pc(or laptop ofc) user.</p>

<p>Thanks in advance - If you're in doubt or I'm not explaining myself well enough please do let me know :)</p>

<ul>
<li>Lasse</li>
</ul>
]]></description>
   </item>
   <item>
      <title>Footer Issue</title>
      <link>http://www.css-tricks.com/forums/discussion/24986/footer-issue</link>
      <pubDate>Sat, 18 May 2013 20:51:41 -0400</pubDate>
      <dc:creator>mintertweed</dc:creator>
      <guid isPermaLink="false">24986@/forums/discussions</guid>
      <description><![CDATA[<p>I have had an issue with my footer on my portfolio page, <a rel="nofollow" href="http://www.mintertweed.com/portfolio/" target="_blank">here</a>, ever since I began working on creating a gallery. Basically, the footer is supposed to be 70 pixels tall with a five pixel border on top. But on my portfolio page it is 210 pixels tall and the area between the content and the footer is only ten pixels. Now, I know it has something to do with the gallery I am creating because it was not like that before, but I can not seem to figure out which CSS statement is doing it. I did an element inspection and there is nothing strange being applied to the footer on my portfolio page. I also systematically went through my gallery CSS code and commented out one statement at a time, reloading my website each time, and I still could not find the culprit. Any help will be greatly appreciated. Thank you in advance!</p>

<p><strong>Edit:</strong> I figured it out. I knew it had to be something terribly simple. I forgot to close the <code>gallery</code> div. Sigh.</p>
]]></description>
   </item>
   <item>
      <title>Expanding Image</title>
      <link>http://www.css-tricks.com/forums/discussion/24984/expanding-image</link>
      <pubDate>Sat, 18 May 2013 19:04:46 -0400</pubDate>
      <dc:creator>ma701ss</dc:creator>
      <guid isPermaLink="false">24984@/forums/discussions</guid>
      <description><![CDATA[<p>Hi,</p>

<p>If you go to PayPal's UK homepage there's an image of a couple looking out onto a lake. This image is sized at 1600px so it fills the screen regardless of the screen resolution. How simply do I achieve this without having a left/right scroll bar at the bottom if the screen resolution is less than 1600px wide? As the screen resolution gets bigger more of the image at the sides will be seen, and as it gets smaller they will be cut off.</p>

<p>Thanks</p>
]]></description>
   </item>
   <item>
      <title>RESS &amp; Responsive Web Design: What scripts are available for conditional loading based on width?</title>
      <link>http://www.css-tricks.com/forums/discussion/24985/ress-responsive-web-design-what-scripts-are-available-for-conditional-loading-based-on-width</link>
      <pubDate>Sat, 18 May 2013 19:14:09 -0400</pubDate>
      <dc:creator>thedrick</dc:creator>
      <guid isPermaLink="false">24985@/forums/discussions</guid>
      <description><![CDATA[<p>Hello all,</p>

<p>Does anyone have any suggestions on the best techniques/scripts for server side conditional loading.  I know of Categorizr and it seems very straight-forward although it's no longer supported or developed.  Any feedback is greatly appreciated.  Thanks!</p>

<p>=====Example Markup from Categorizr=====</p>

<p>&lt;?php if (isMobile()) { ?&gt;
This device is a mobile
<br />
&lt;?php } ?&gt;</p>

<p>&lt;?php if (isTablet()) { ?&gt;
This device is tablet
<br />
&lt;?php } ?&gt;</p>

<p>&lt;?php if (isDesktop()) { ?&gt;
This device is a desktop
<br />
&lt;?php } ?&gt;</p>

<p>&lt;?php if (isTV()) { ?&gt;
This device is a TV
<br />
&lt;?php } ?&gt;</p>
]]></description>
   </item>
   <item>
      <title>Problem with Fly Out Menu on Volusion</title>
      <link>http://www.css-tricks.com/forums/discussion/24439/problem-with-fly-out-menu-on-volusion</link>
      <pubDate>Fri, 26 Apr 2013 01:49:36 -0400</pubDate>
      <dc:creator>pittles78</dc:creator>
      <guid isPermaLink="false">24439@/forums/discussions</guid>
      <description><![CDATA[<p>I have a store I am setting up on a site call Volusion.  The store is <a href="http://tuffymcpuggles.com" target="_blank" rel="nofollow">http://tuffymcpuggles.com</a> and the fly out menu's background in the top nav is rgb 20, 170, 202.  I want to change that color to match my theme, but I can't find out what is styling that.  It is perhaps and inline element.  The creators of the theme somehow don't know where I can change it either. ?</p>

<p>Please help,
Jon</p>
]]></description>
   </item>
   <item>
      <title>Conflict between Expanding Menu and Slider Nav</title>
      <link>http://www.css-tricks.com/forums/discussion/24944/conflict-between-expanding-menu-and-slider-nav</link>
      <pubDate>Thu, 16 May 2013 17:35:38 -0400</pubDate>
      <dc:creator>pittles78</dc:creator>
      <guid isPermaLink="false">24944@/forums/discussions</guid>
      <description><![CDATA[<p>On my site <a href="http://tuffymcpuggles.com" target="_blank" rel="nofollow">http://tuffymcpuggles.com</a> the homepage features a slider with left and right arrows for navigation between images.  I also have an expanding menu, like a mega menu and I want the menu to always sit on top of everything, but in the left arrow location there is a conflict where the left arrow and men's menu meet.</p>

<p>The left arrow is on top of the menu and it is not desired.  Please help me solve this.</p>

<p>Best,
Jon</p>
]]></description>
   </item>
   <item>
      <title>@font-face issue</title>
      <link>http://www.css-tricks.com/forums/discussion/24980/font-face-issue</link>
      <pubDate>Sat, 18 May 2013 16:42:26 -0400</pubDate>
      <dc:creator>AaronPorter</dc:creator>
      <guid isPermaLink="false">24980@/forums/discussions</guid>
      <description><![CDATA[<p>I know the answer is probably right under my nose, but what is the issue with my <a rel="nofollow" href="/forums/profile/font">@font</a>-face? It was working fine on my computer until i checked other computers and realized it wasn't working correctly. Here is my site: <a href="http://statts.me/" target="_blank" rel="nofollow">http://statts.me/</a></p>

<p>Thanks!</p>
]]></description>
   </item>
   <item>
      <title>Dropdown menu extra space removal.</title>
      <link>http://www.css-tricks.com/forums/discussion/24979/dropdown-menu-extra-space-removal-</link>
      <pubDate>Sat, 18 May 2013 16:26:06 -0400</pubDate>
      <dc:creator>miky2020x</dc:creator>
      <guid isPermaLink="false">24979@/forums/discussions</guid>
      <description><![CDATA[<p>Right now i'm creating my portfolio website and i'm currently working on the navigation bar and trying to make it a dropdown one.</p>

<p>I've managed to get it to function properly but i seem to have an issue. 
If you look at this picture:
<a href="http://i40.tinypic.com/ae3xa0.png" target="_blank" rel="nofollow">http://i40.tinypic.com/ae3xa0.png</a></p>

<p>To the left of the dropdown menu is a bunch of extra white space. How do i remove that and center the text?</p>

<p>Css Code for the navigation:
<a href="http://i44.tinypic.com/noda8j.png" target="_blank" rel="nofollow">http://i44.tinypic.com/noda8j.png</a></p>

<p>Thanks a bunch if anyone can help,
- Miky.</p>
]]></description>
   </item>
   <item>
      <title>limit background color to text only, not full width</title>
      <link>http://www.css-tricks.com/forums/discussion/24977/limit-background-color-to-text-only-not-full-width</link>
      <pubDate>Sat, 18 May 2013 15:25:15 -0400</pubDate>
      <dc:creator>bobbol</dc:creator>
      <guid isPermaLink="false">24977@/forums/discussions</guid>
      <description><![CDATA[<p>applying a background-color to the first line of an address in a plain text paragraph; the first line is maybe 20% width but the color spans across the entire page;</p>

<p>using an in-line style like 
  <code>&lt;p style="background-color:#d7a284"&gt;John &amp; Jane Johnson&lt;/p&gt;</code>
using span and div produce same result</p>

<p>how do I limit the background color to just where the text is?</p>
]]></description>
   </item>
   <item>
      <title>how many fonts should i use in a website?</title>
      <link>http://www.css-tricks.com/forums/discussion/24971/how-many-fonts-should-i-use-in-a-website</link>
      <pubDate>Sat, 18 May 2013 03:19:03 -0400</pubDate>
      <dc:creator>rihanterence</dc:creator>
      <guid isPermaLink="false">24971@/forums/discussions</guid>
      <description><![CDATA[<p>Hi,</p>

<p>I just want to know, how many font's we can use in new fresh design.</p>

<p>Actually i am making one new design. I'd always used three/four font's, which i think
it's too many.</p>

<p>In-fact  if you can send me some link 's with good typography website, so i can understand better.</p>

<p>Thanks in advance :-)</p>

<p>Rihan Terence</p>
]]></description>
   </item>
   <item>
      <title>How to remove grad background from style tag</title>
      <link>http://www.css-tricks.com/forums/discussion/24974/how-to-remove-grad-background-from-style-tag</link>
      <pubDate>Sat, 18 May 2013 10:59:54 -0400</pubDate>
      <dc:creator>joann7</dc:creator>
      <guid isPermaLink="false">24974@/forums/discussions</guid>
      <description><![CDATA[<p>Forms are so frustrating! Can anyone help me by telling me how to remove the graduated background from the drop down menu in this form?</p>

<p><a href="http://joannfitzpatrick.com/leadvalidation/signup-test.html" target="_blank" rel="nofollow">http://joannfitzpatrick.com/leadvalidation/signup-test.html</a></p>

<p>Thank you in advance.</p>
]]></description>
   </item>
   <item>
      <title>Page help!!!</title>
      <link>http://www.css-tricks.com/forums/discussion/24973/page-help</link>
      <pubDate>Sat, 18 May 2013 08:35:23 -0400</pubDate>
      <dc:creator>newcsskid</dc:creator>
      <guid isPermaLink="false">24973@/forums/discussions</guid>
      <description><![CDATA[<p>Hi im having a little trouble getting my head around linking to pages on css/html.</p>

<p>I have a main page and then I have 3 pages i want to link off of it.</p>

<p>My problem is, I link all the pages etc they all open up in a new window, which is what im after at the moment. However say my 'portfolio' page is underneath my 'home' page, so i just scroll down and it's there and even when I click the link to go to the 'portfolio' page, the main menu plus the 'portfolio' page is just repeated :/</p>

<p>I've tried looking at other sites that are similar to mine but i just get lost in the codes.</p>

<p>I've tried making seperate .css sheets but this doesn't help either.</p>
]]></description>
   </item>
   <item>
      <title>converting a fixed width layout to a responsive - mobile site</title>
      <link>http://www.css-tricks.com/forums/discussion/24906/converting-a-fixed-width-layout-to-a-responsive-mobile-site</link>
      <pubDate>Wed, 15 May 2013 07:14:48 -0400</pubDate>
      <dc:creator>devouk</dc:creator>
      <guid isPermaLink="false">24906@/forums/discussions</guid>
      <description><![CDATA[<p>hi all 
i am still quite a newbie to web based programming but  after starting a project of a old design from fearless flyer (template / demo  <a href="http://clam.fearlessflyer.com/" target="_blank" rel="nofollow">http://clam.fearlessflyer.com/</a>) i now been using wordpress and shoestrap as a basic responsive theme and tried to see if i could convert it</p>

<p>the biggest thing is the wrapper and columns and the background images to give the three line box</p>

<p>now to make it responsive / fluid  you can not use a fixed width image  to produce the columns so how do you tackle something like this or is this style of site dead with responsive design</p>

<p>the idea of making this mobile friendly what problems could this cause</p>

<p>this is more of a discussion and techniques  and trying to work out if a different design needs to be used</p>

<p>many thanks</p>

<p>devo</p>
]]></description>
   </item>
   <item>
      <title>WordPress Broken Theme, Template is Missing Error</title>
      <link>http://www.css-tricks.com/forums/discussion/24969/wordpress-broken-theme-template-is-missing-error</link>
      <pubDate>Fri, 17 May 2013 18:41:29 -0400</pubDate>
      <dc:creator>Jarolin</dc:creator>
      <guid isPermaLink="false">24969@/forums/discussions</guid>
      <description><![CDATA[<p>I just started learning WordPress today and am trying to add a new theme. I added this to the top of my style.css file</p>

<pre><code>  /*
             Theme Name: WordPress Theme
             Theme URI: <a href="http://reallycoolstuff.net/wordpress" target="_blank" rel="nofollow">http://reallycoolstuff.net/wordpress</a>
             Description: Fully Responsive WordPress Theme
             Version: 1.0
             Author: Jarolin Vargas
             Author URI: <a href="http://domain.com" target="_blank" rel="nofollow">http://domain.com</a>
             Tags: responsive, theme, template
             */
</code></pre>

<p>and added this to index.php file to link the style.css sheet.</p>

<pre><code>        &lt;link href="&lt;?php bloginfo('stylesheet_url'); ?&gt;" rel="stylesheet" type="text/css"/&gt;
</code></pre>

<p>What else must i do to get this to work?</p>
]]></description>
   </item>
   <item>
      <title>Nivoslider wrong positioned in firefox</title>
      <link>http://www.css-tricks.com/forums/discussion/24967/nivoslider-wrong-positioned-in-firefox</link>
      <pubDate>Fri, 17 May 2013 16:29:01 -0400</pubDate>
      <dc:creator>martinantonio</dc:creator>
      <guid isPermaLink="false">24967@/forums/discussions</guid>
      <description><![CDATA[<p>My nivoslider slideshow on my index page shows us correctly in chrome, IE 10 and opera.
Only in Firefox it shows us up on the far right side.
Here is my site: <a href="http://www.colombian-emerald-jewelry.com/" target="_blank" rel="nofollow">http://www.colombian-emerald-jewelry.com/</a></p>

<p>How can I fix this ?</p>

<p>I appreciate your help</p>
]]></description>
   </item>
   <item>
      <title>Need help with layout</title>
      <link>http://www.css-tricks.com/forums/discussion/24966/need-help-with-layout</link>
      <pubDate>Fri, 17 May 2013 14:25:14 -0400</pubDate>
      <dc:creator>udwo</dc:creator>
      <guid isPermaLink="false">24966@/forums/discussions</guid>
      <description><![CDATA[<p>Hello all,</p>

<p>I am working on this layout and am having issue with the main section for the content. Overall the layout works fine on computers that have bit bigger screen but on 15 inch laptops or when window is smaller, i noticed that my main div (the one that contains the wooden board) gets pushed up under the browser menu bar. i would like to keep the design if possible and implement some sort of workaround where the wooden board stays appearing to be held by the cows that stand on the beach but when the window is smaller not to go into negative. Hope i make sense.</p>

<p>here is the link:
<a rel="nofollow" href="http://colignyicecreamcone.com/template.php" title="working template">Your text to link here...</a></p>
]]></description>
   </item>
   <item>
      <title>Jquery Smooth Scroll to a name and id</title>
      <link>http://www.css-tricks.com/forums/discussion/17757/jquery-smooth-scroll-to-a-name-and-id</link>
      <pubDate>Thu, 24 May 2012 15:51:18 -0400</pubDate>
      <dc:creator>uddinnyc94</dc:creator>
      <guid isPermaLink="false">17757@/forums/discussions</guid>
      <description><![CDATA[okay so here is what i have so far <br /><br /><pre><br />	 $('a[href^="#"]').click(function() {<br />		$('html,body').animate({ scrollTop: $(this.hash).offset().top}, 200);<br />		return false;<br />		e.preventDefault();<br />	});<br /></pre><br /><br />now this code works like a charm but here is the problem it only works like so <br /><pre><br />	 &lt;a href="#gohere"&gt; Click to smooth Scrool &lt;/a&gt;<br /><br />	 &lt;a id="gohere"&gt; This is where the above link would smooth scroll to &lt;/a.<br /></pre><br /><br />however keeping the code sweet and short i would like for this to work as well <br /><pre><br />	 &lt;a href="#gohere"&gt; Click to smooth Scrool &lt;/a&gt;<br /><br />	 &lt;a name="gohere"&gt; This is where the above link would smooth scroll to &lt;/a.<br /><br /><br /><br /><br />	 &lt;a href="#comehere"&gt; Click to smooth Scrool &lt;/a&gt;<br /><br />	 &lt;a id="comehere"&gt; This is where the above link second would smooth scroll to &lt;/a.<br /></pre><br />	 <br />how can i alter this code to just smooth scroll to all id's and names of anchor because the legit way to bookmark in html is using a name however i have so many pages that i bookmarked with both a name and a id i do not want to change the html structure from name to id or from id to name i just want to smooth scroll to both a id and a name anchor links. here is the code i have so far which currently only works with a id and not a name.<br /><br /><pre><br />	 $('a[href^="#"]').click(function() {<br />		$('html,body').animate({ scrollTop: $(this.hash).offset().top}, 200);<br />		return false;<br />		e.preventDefault();<br />	});<br /></pre>]]></description>
   </item>
   <item>
      <title>Opening animation properties on external file with function (jQuery)</title>
      <link>http://www.css-tricks.com/forums/discussion/24948/opening-animation-properties-on-external-file-with-function-jquery</link>
      <pubDate>Fri, 17 May 2013 00:19:20 -0400</pubDate>
      <dc:creator>Jarolin</dc:creator>
      <guid isPermaLink="false">24948@/forums/discussions</guid>
      <description><![CDATA[<p>i have a function like ths</p>

<pre><code>$(".nav_button").click(function() {
          $(".slides").animate({ animation properties here });
      });
</code></pre>

<p>What i want todo is store the animation properties in a separate jquery file and call that file with that function. And the animation occurs according to the properties in the external file. And how would the properties in the external file be written?</p>
]]></description>
   </item>
   <item>
      <title>Good or bad practice to hide elements with CSS, as opposed to doing it with jQuery...</title>
      <link>http://www.css-tricks.com/forums/discussion/24945/good-or-bad-practice-to-hide-elements-with-css-as-opposed-to-doing-it-with-jquery-</link>
      <pubDate>Thu, 16 May 2013 18:26:44 -0400</pubDate>
      <dc:creator>barkins</dc:creator>
      <guid isPermaLink="false">24945@/forums/discussions</guid>
      <description><![CDATA[<p>In a situation where I have elements on my website that need to be hidden first before a fadeIn(), or slide(), etc.</p>

<p>Is it ever okay to hide the elements with CSS, instead of using jQuery to hide?</p>

<p>My concern, if I hide the elements with CSS, then if someone visits the website who doesn't have JavaScript turned on, they will never see the element. But is that a real concern?</p>
]]></description>
   </item>
   <item>
      <title>Jquery Image Slide Up After Page Load</title>
      <link>http://www.css-tricks.com/forums/discussion/24965/jquery-image-slide-up-after-page-load</link>
      <pubDate>Fri, 17 May 2013 13:25:44 -0400</pubDate>
      <dc:creator>CodeGraphics</dc:creator>
      <guid isPermaLink="false">24965@/forums/discussions</guid>
      <description><![CDATA[<p>Pls I am working on a website. I want a situation on the home page where an image of a man standing will slide up 1 or 2 seconds after the whole page has loaded. I need someone to help me with a codepen example.</p>

<p>Below is the code I inserted in the head section. I set the image to display:none in css, but when I refresh, I found out it's not working. #man is the id of the image.</p>

<p>Thank u.</p>


$(function() {
  $("#man").one('load', function () {
    $(this).show("slide", { direction: "up" }, 2000);
  }).each(function() {
    if(this.complete) $(this).load();
  });
});

]]></description>
   </item>
   <item>
      <title>display after layout</title>
      <link>http://www.css-tricks.com/forums/discussion/24941/display-after-layout</link>
      <pubDate>Thu, 16 May 2013 16:08:48 -0400</pubDate>
      <dc:creator>mbroadbear</dc:creator>
      <guid isPermaLink="false">24941@/forums/discussions</guid>
      <description><![CDATA[<p>When I first enter a page with an instance of anythingslider on it, the right scrollbar appears for an instant before the javascript kicks in and sets up the slider on the page. Is there a way around this so all a visitor will see is the finished slider instead of one being constructed?</p>
]]></description>
   </item>
   </channel>
</rss>