Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by knystrom18

  1. Awesome. I've used that before and completely forgot about it, oh well. Thank you.
  2. Without assigning a class to each <td> I'd like to style, is there a selector or expression I can use to select the 2nd child of all <tr> in a table within a unique div? Example: <div id="wines"> <h3 class="category">Cabernet</h3> <table> <colgroup> <col class="wine-name" /> <col class="wine-price" /> </colgroup> <tr> <td><span class="i">California Canyon Road</span></td> <td><span class="cushycms" id="California Canyon Road">$5.50 / $20</span></td><!-- I want to select only this <td> --> </tr> </table></div> Thanks.
  3. Sorry, I was ambiguous. I understand the meta tag doesn't need JS to do it's thing. Now that I know a meta refresh would be best, I just need to throw together a JS countdown that ends just as the meta refresh takes effect. Thanks justsomeguy, Ingolme.
  4. Does http-equiv="refresh" just make the redirect more, for lack of a better term, legitimate? I assume a 301 redirect is just the wrong tool for the job then. I also assume the timer would just be a bit of code with the only function of being a timer which happens to end at the same time the meta refresh, refreshes.
  5. What would be considered best practice to show a user a blog on a different domain from the same entity? A javascript redirect? An html redirect? A frame where the other domain is displayed under a "bar" (a la stumbleupon)? I'm thinking a javascript redirect with an animated timer (about 10 seconds or so) that lets the user know they're about to be redirected, but can click the link (the place where they'll eventually be redirected anyways) to speed up the process. Thoughts? Am I completely wrong?
  6. Line 164, you forgot a "<" on the fieldset tag.http://www.afterhour.../PHP/Operators/ I like the site a lot. I'm gonna try to learn some stuff from it. I like how PHP is being explained in layman terms.
  7. Bump! I'm not sure now... I forget what I was working on at the time. I think I ended up just wrapping it anyways. Thanks for the replies though.
  8. You don't need the meta keywords tag. None of the important search engines pay any attention to it.More info: http://googlewebmastercentral.blogspot.com/2009/09/google-does-not-use-keywords-meta-tag.html
  9. Lot's of people use the "Meyerweb Reset", myself included.http://meyerweb.com/...ools/css/reset/
  10. If you want to use the same id attribute for an element, or different elements on different pages, you can give the body tag it's own unique id: For your home/index page: <body id="index"> <div id="some-id">...</div></body> For another page with an id of example: <body id="example"> <div id="some-id">...</div></body> Then in your CSS: body#index div#some-id {property: value; /*this will affect a div with the id of "some-id" on the page with a body id of "index"*/} body#example div#some-id {property: value; /*this will affect the div with the id of "some-id" on the page with a body id of "example"*/} You can also use multiple classes on an element like this: HTML: <div class="class1 class2 class3">...</div> CSS: .class1 {background-color: #eee;}.class2 {padding: 18px;}.class3 {border: solid 3px #777;} The above results in a div with a background color of "#eee" with 18px padding on all sides with a solid, 3px wide #777 colored border on all sides; from three separate classes. Or, slightly more realistically... this is <span class="red strike">an error</span> a correction. .red {color: #ff0000;}.strike {text-decoration: line-through;} Is that what you were looking for?
  11. Harsh, but true. Thank you for your thoughts and help.
  12. I noticed the different renderings early, but they've never posed me much a problem until now. I put: #slider img {width: 100%} to the offending images, and it works like a charm! Thank you. While I'm thinking about it, any word as to how IE 10 will calculate ems? Hopefully the same way as the other major browsers...
  13. I'm aware the font and font size affect ems. They're relative after all. I used http://riddle.pl/emcalc/ to put in pixel values and get em values, so, technically I did use pixels... I guess IE just calculates ems differently?
  14. Images in a simple slideshow I have are 960px wide. I've checked their properties in both Windows and browsers just to be sure.The div these images are in is also 960px wide, but is set by em units; (96em). In IE 9, the images extend past 960px by about 5px. All other browsers get it right. Is there a reason I'm missing for this? Is it fixable through code, or do I need to re-size those images? Screenshot attached.All code accessible at: http://myinnerkitche...actual-site/02/ Thanks.
  15. I personally have had no problems with XAMPP although I haven't done as advanced things with it as you have. I was unaware XAMPP came in 32 or 64 bit versions, I'm unaware which I have, but it works flawlessly for me on a Win 7 64x machine.
  16. Try this: CSS div#sizes img {position: relative;}div#sizes img:hover {width: 500px;height: 389px;vertical-align: top;} HTML: <div id="sizes"><img src="mac10.jpg" width="150" height="110" alt="Jeanette" /><br /><img src="mac11.jpg" width="150" height="110" alt="robnCathy" /><br /><img src="mac12.jpg" width="150" height="110" alt="seattle 3" /><br /><img src="mac13.jpg" width="150" height="110" alt="seattle 3" /><br /><img src="mac14.jpg" width="150" height="110" alt="seattle 3" /><br /><img src="mac15.jpg" width="150" height="110" alt="seattle 3" /><br /><img src="mac16.jpg" width="150" height="110" alt="seattle 3" /><br /><img src="mac17.jpg" width="150" height="110" alt="seattle 3" /></div>
  17. Do you have a link to the site you're having trouble with? It'd be easier to understand and troubleshoot with one. You'll probably want to look at CSS Media Queries: http://css-tricks.com/css-media-queries/
  18. Thanks for the links davej. I had no idea something like this even existed, but it makes sense...
  19. So that's what mod rewrite does huh? So what page is being displayed? Static HTML, or dynamic PHP/something else which looks like HTML (url bar, source etc.)?
  20. Can you test it? Without HTML for the CSS to act upon, it's hard for me to tell for sure. Looks okay for me though...
  21. Those rules look like they're applying themselves to links.For example: [.block-category-navigation .active a] is any link in any state within an element with the class of "active" within an element with the class of "block-category-navigation". Other than laziness, a reminder, or accounting for every state of an element in the CSS, I honestly couldn't tell you. Other people's code is so weird...
  22. Offending Page: http://www.strideclu...m/forms/ast.phpComparison: http://www.strideclu.../foundation.php(all code is accessible through view > source. I'll post here if requested though.) When I add a "select" input element to the AST form (ast.php) above, the "share" div gets mis-positioned in Google Chrome, but not Fx. The AST form (ast.php) is an exact duplicate of the Foundation form (foundation.php) with nothing structural changed besides the extra form element. I've validated both pages to XHTML 1 Strict, and they're both valid, as is the CSS they both use. Thoughts? Anything will be appreciated because I'm at a loss... Edit: It appears the problem only shows itself when the page is refreshed. When it's first accessed (both locally and on the internet) everything is as it should. When the page is refreshed, the "share" div is mis-positioned. It's like Chrome is correcting a rendering mistake when the page is refreshed, but Fx knows not to do the same... Edit 2: Fixed. I just swapped positions in the code with my header image and the problematic div. Still dunno what caused the weird browser behavior though...
  23. Looks to me like they just never added any rules in. The "block-category-navigation", "block-manufacturer-navigation", "block-recently-viewed-products" and "block-info" classes are being told to not do anything by the lack of rules between the "{" and "}". I don't think there's a particular reason for this. Maybe just absent mindedness, or a reminder to the coder to add in rules later down the road.
  • Create New...