Tag Archives: css
This was a repost of content found on the netscapes blog. It is no longer available (to the best of my knowledge) so I am making it available here: Today I ran across an IE6/7 (and who knows, probably IE5 too) margin inheritance bug, involving block elements with IE’s hasLayout property triggered, that contain certain form elements. This bug appears to have very little online documentation or discussion. (UPDATE: now documented by positioniseverything, see links section below). Any side margins (the blue 100px) applied to block-level hasLayout elements will be erroneously inherited (the red 100px) by text, submit, button and textarea fields contained within the block elements. Select boxes, checkboxes & radio buttons are not affected. Applying margin: 0 to the input or textarea fields has no effect. All your margin are belong to us. Here is my test page » If your design does not have a border on the block-level element, this bug has the identical visual effect as the well-known IE6 floated element/margin-doubling bug, but the real cause is not the IE6 margin-doubling bug. I found this issue having just installed IE7, still giddy over the wide array of css fixes. For a few minutes, I thought maybe the IE team had forgotten to fix the float/margin-doubling bug with blockified labels, but no.. this margin inheritance bug is an entirely different beast. My findings are a little different from the other information I found (at the time of this post, the only existing explanation of this bug … Continue reading
clipped from en.wordpress.com The CSS Editor allows the blog administrator to modify the visual style of the blog. While the theme’s HTML cannot be modified, Custom CSS gives you the power to make your own design. If you haven’t found your ideal theme on WordPress.com, Custom CSS is for you. The CSS Editor can be found under Edit CSS in the Presentation tab of your dashboard. It consists of a blank area for typing and two buttons: You can edit your CSS and preview the changes without affecting the public view of the blog while experimenting with new styles. In order to save your CSS changes and publish them to your blog, you need to purchase the Custom CSS upgrade. You can edit and save your stylesheet as often as you like; you can use uploaded images as backgrounds; you can modify an existing theme or start from scratch with the Sandbox theme. There is a CSS Customization forum where you can ask for help or give assistance to others.