Oh man, you've got to get into CSS, the shit you can do is amazing. It makes so much of what I do so much easier.
db
Printable View
Oh man, you've got to get into CSS, the shit you can do is amazing. It makes so much of what I do so much easier.
db
Ah baby steps with CSS :) I first started using CSS with tables, applying certain formatting to them. And then I started something like www.dryheatresorts.com - using more divs. It can be pretty fun. Sort of like when you started using tables...
But for the most part - you can just put into your :
To get all four margins to have 0 pixels.Code:
And with the exception of a few tables - www.loudvoicesystem.com - just because I did not have anough time to figure everything out.
But once you start to use the external style sheet in the
It makes changes everything so easy, from the background to the font size, color, etc. And you can create the DIV & place them in this table as well. So if something needs to be changed - one simple page - similar to a file include. But it is all about design, not content. For example, I have to change the logo in the upper left. Of course changing that is easy - renaming the file. But in the CSS I have:Code:
So if my logo is not the same size, I can easily change it in this one file. And it won't screw anything else up fortunately.Code:div.logo
{
width:316px;
height:100px;
float:left;
background-image: url("/images/voice.jpg");
background-repeat: no-repeat
}
The bitch about CSS is that Internet Explorer accepts (and always has accepted) sloppy code. So if you didn't quite get it right, but you were in the ballpark, IE would do what you wanted. Other Mozilla-based browsers like FireFox are compliant with CSS standards and if you mess up they don't fix or interpret the code.
A while back I couldn't figure out why something looking alright in IE but Firefox didn't follow my CSS. After googling and some digging I discovered it was beause CSS standards don't allow you to use an integer (number) in the class name, so my .text12 class was a no-no. But Microsoft often doesn't give a fig about standards (unless they are theirs) and what ends up happening is the public or users think that these other browsers are problematic when really its IE that's the problem.
Cheers
Dzinerbear
I have a buddy in Canada that I rely on when I really need some help. He has helped me with a few layouts & from that I have been able to change a few things around etc.
True IE assumes to know what you think you meant, which can be a good thing. The thing I never could figure out though why do developers code for the other browser inasmuch as IE since most people still use IE. I understand that compliancy is the key - took me a day before I realized that little code
was really important. A few friends use strict, but I would rather stay loose - maybe for a variety of reasons LOLCode:"http://www.w3.org/TR/html4/loose.dtd">
You might want to change your tactics. Recent stats show that IE has slipped from 94% or users to 89%, while it's only 5 percentage points those are sill huge numbers. With the popularity on Firefox on the rise, you might find your sites falling apart in other browsers that are gaining popularity.
Don't make the mistake Netscape did in thinking that because they were on top they were always going to be there. If we've learned anything from the Internet it's this: today's Google can be tomorrow's "what's a google?"
Cheers
Dzinerbear
Hm, but is it the users using IE or all those developers? :)