Search results for " float margin"
Capital letters with CSS
Here is a drop cap with a pink background, red text, and a black border.
A good reminder is that everything in CSS is a box. The "H" letter is in a box so you can figure out that is not something difficult here. The code for the drop cap is simple but we can add more CSS properties to it. I put the drop cap in a span and made some ...
Having shadow to a border using CSS
Do you want to add a shadow to a border using CSS code? Hope you agree with me that CSS is nice to work with... I think you can implement whatever you want, except you have to choose the right method. Follow the next steps ... it is the way I choose to add a shadow to a border.
Before started you should know I make the shadow from small pictures (3x4 ...
Fixing overflow:hidden in IE
There are known problems in IE with expanding fixed width or fixed height boxes (div). If we don't respect the codding standards it happens to be problems. Suppose we have a parent div with no height settled. This div has two child divs that have the float attribute settled . We are used to know that the parent div will expand. IE won't do this!
The ...
IE Float Margin Problem
IE comes with problems when we use float-margins. To be more explicitly, lets have an example. The image below show a simple div (the blue one) containing a left-floated div. The float has a left margin of "100px" witch will produce a distance between the left edge of the container box and the left edge of the float box.
Here is the CSS ...
Make nice rounded corners with CSS
Why rounded ?
You have seen in many places nice designs that look very clean and professional. Nothing there was "super" if you looked the design. So simple but same time so beautiful. You do it almost same way , keeping it simple but you notice that what you've done looks so rigid looks like an old design and has nothing brilliant in it. It's an "empty ...
Css hover in Internet Explorer
CSS is tricky or Internet Explorer has a lack of support?
Many of you there who work daily with CSS designing have reach a point where they were stuck. The most times it was because something strange ti was happening in Microsoft's propertary browser, the well known Internet Explorer. Many of the W3C standards regarding the CSS are ignored in internet ...

RSS/XML