http://www.alistapart.com/articles/progressiveenhancementwithcss/
On Dec 29, 8:37 am, John Ivanoff <[email protected]> wrote: > Box models > > here's a handy IE toolbar > ---------------------------------------------- > Internet Explorer Developer > Toolbarhttp://www.microsoft.com/downloadS/details.aspx?familyid=E59C3964-672... > > I don't consider myself a guru. > In looking at your CSS there could be a lot of cleaning up done. > Example. you declare font-family in many places. > You could make a "main.css" and do > ---------------------------------------------------------------------- > body { > font-family: Geneva, Arial, Helvetica, sans-serif; > font-size: medium;} > > ---------------------------------------------------------------------- > > That way your fonts are the same and since you're declaring it once > less to download. > You could go further and make a "type_001.css" and just declare all > your typography in it. > When you want to change you font change the file to say "type_002.css" > that way the cached css won't be pulled and you wonder why the type > hasn't changed. > > You could do the same for: > reset (http://meyerweb.com/eric/tools/css/reset/) > layout (positioning) > style (colors and other eye candy) > > my 2 cents > > John > > On Dec 29, 4:01 am, Fernando Perez <[email protected]> > wrote: > > > MaD wrote: > > > personallly i use > > > transparent borders instead of padding/margin, when i encounter such a > > > problem. > > > That's an excellent piece of advice, and it is what I also use, but it > > doesn't work all the time if there is a special background. Another > > problem are floating elements, try switching them from left to right and > > switch the order they appear in the html, sometimes it will avoid IE > > adding a double margin. > > -- > > Posted viahttp://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

