Meta_Ing
-
Something weird
It seems like inline elements (such as img) are stacked higher than block elements, regardless of whether they come before or after [the block element]. I think what's happening is that because the img and h2 are sibling elements, the img over…
-
web developing
If you are using iframes, you can specify the target attribute in the (opening) tags and set the value to the id* of the iframe. For example, the following link: Some Page would open "somepage.html" in an iframe with an id of "blah&q…
-
web developing
Are you saying that the "vertical tags" are opening in new windows/tabs and that you don't want them to? If not, could you please explain a bit more what the issue is and/or you're trying to do? Side note: you should wrap blocks…
-
web developing
If codepen isn't working, you could also try http://jsfiddle.net.
-
Javascript styling for a specific url
Sorry to respond to this so late, but I would just like to suggest that scripts within the body should always be placed after any elements being affected by them. This should allow the element(s) to load first and ensure that the script won't a…
-
Javascript styling for a specific url
Could you provide a link? I'm not quite sure what the template_220 file is. Also, just be aware that the script (if unaltered) will only work if either /ProductDetails.asp, -p, or _p are in the URL's path name.
-
Javascript styling for a specific url
Each new line within the document.writeln would need to be escaped with a \ (back slash). For example: document.write("This text\ is written on\ multiple lines"); However, rather than creating an extra style element, you can use j…
-
Changes to Body in CSS have no effect on site all of a sudden
The ; at the beginning of ;@charset "utf-8"; seems to be causing the problem. I don't know anything about Expression Engine, though; is there a reason you've placed a semicolon before the @charset rule? Edit: Guess I was a bit…
-
Background Position: center center;
background-position:center center ensures that the background image will be both horizontally and vertically centered in its container. I believe most browsers consider one center to be equivalent, so using two is likely either a matter of personal …
-
Help with css link code - Solved
Specificity doesn't carry between selectors separated by commas. In other words, rather than doing something like #topnav li a:link,a:visited, you'll need to use #topnav li a:link,#topnav li a:visited
-
HTML form text only half-way visible in IE9?
Adding another declaration to remove the line height from #contact li .wpcf7-form-control-wrap input should work.
-
Why doesn't nth-child, first-child, blah-child target the child element(s)?
As far as I can tell nth-child(3) for example would be better named simply as nth(3), because it's getting the nth of that element. The fact they are children, appears irrelevant. I feel like this would create confusion with the *-of-type sele…
-
background change
Javascript: document.body.style.background="background_value_with_CSS_syntax"; jQuery: $("body").css("background","background_value_with_CSS_syntax"); Just edit accordingly and use either of these with an on…
-
Firefox and Opera not reading stylesheets
Could you provide some more details? For example, how are you adding the stylesheet to your document, and what does your stylesheet look like?
-
Why doesn't nth-child, first-child, blah-child target the child element(s)?
I honestly can't really say why the selectors are called *-child rather than *-sibling or *-element, but it's probably just like you said: because they have a parent - and as a result, are children. Given proper markup, the only element t…
-
Why doesn't nth-child, first-child, blah-child target the child element(s)?
The way selectors work is that they select whatever element they are attached to given a certain condition. For example, a:hover selects any a element which is currently being hovered over. While this example may seem trivial, knowing the concept sh…
-
Horizontal scrolling inside
You can add white-space:nowrap; to the ol block to prevent the text from wrapping.
-
vertical-align:middle; not working in Firefox!
Try using position:relative rather than absolute on .container
-
What am i forgetting? [a-z A-Z] REGEX & Brain Farts
Yes, that will work fine. And if you are able to set a case insensitivity modifier (probably i), the regex could even be shortened to: ^[a-z]+$
-
Positioning Question
No problem. And just remove the background property from #stockContainer and you should be good.
-
Positioning Question
First, set the position property for #topNav to relative. Next, set the following properties for #stockticker: position:absolute, top:0, right:0. Finally, remove the padding-right property from #stockticker Hope that helps. Edit - Sorry, I wasn…