... Css
« : ‹ : [1] : » : ›
Thanks to the guys over at EireStudio.net for this mornings piece of good news.
Get yourself a copy of The Art & Science of CSS in PDF form for free from sitepoint
The link is here http://twitaway.aws.sitepoint.com/ There may be one or two issues with just following on twitter as I never received a link but signing [...]
Source: Forbairt |
pub: 18 Nov 2008 by: James |
added: 18 Nov 2008 |
cat: Css |
views: 100 time/s
In CSS is very easy to overwrite a rule you have created earlier, then you wonder why making changes to the rule doesn’t apply to the page layout.
One thing to know is the !important rule available since CSS1.
Adding !important after a command like this:
.div { margin-left: 5px;color:#ff0000!important;margin-left: 3px;}
will make sure that all browsers will have a margin-left of 5px [...]
Source: web-design-ireland |
pub: 15 Oct 2007 by: Louie Eire Web Design |
added: 26 Feb 2008 |
cat: Css |
views: 141 time/s
Do you ever wonder how you can center a containing div?
The use of “tables” or “center” tag makes the job a lot easier, but it will fail validation.
Another way of doing this is using CSS stylesheet.
body{padding:0px; margin:0px; text-align:center;}
#div_container{margin-left: auto;margin-right: auto;width:800px;}
The only problem with the above solution is that “#div_container” will also have the text centered.
To [...]
Source: web-design-ireland |
pub: 15 Oct 2007 by: Louie Eire Web Design |
added: 26 Feb 2008 |
cat: Css |
views: 144 time/s
« : ‹ : [1] : » : › |