• The eternal confessions of a beautiful mind...
  • DamianM.Co.UK
  • Home
  • About
  • Archives
  • Contact
  • Sitemap
  • My Flickr

    IMG_4129IMG_4123IMG_4112IMG_4111IMG_4099IMG_4098IMG_4097IMG_4095IMG_4094IMG_4093IMG_4092IMG_4091IMG_4090IMG_4089IMG_4088IMG_4087IMG_4086IMG_4085IMG_4084IMG_4083
  • Recent Posts

    • Pump My Ride
    • Can you spell …
    • End of an E.ON
    • Drumming Ape Gets New Gig
    • Star wars explained by a 3 year old
    • Gene Hunt “Bunny Killer”
    • Coffee Table
    • Need Glasses?
    • Third Nipple
    • Helpdesk of the darkside
    • Optical Illusion
    • Dirty mind test
    • Silly funny video
    • Dalek Cam
    • Autobiographies
  • My Tools

    • RSS_Sticky
    • WordPress.org
    • WP_BlogNetworking
    • WP_BoilerPlate
    • WP_Censor
    • WP_DeliciousPost
    • WP_EasyReply
    • WP_HeadNFoot
    • WP_LinkIt
    • WP_LinkSync
    • WP_OneInstall
    • WP_PostDate
    • WP_PostNotes
    • WP_Spoiler
    • WP_StumbleDigest
    • WP_Submission
  • My Web

    • ASPAlliance
    • ClaimID
    • Digg
    • DSLRBlog
    • DVDProfiler
    • Flickr
    • Honeyed SPAM
    • My Blog
    • My company
    • MYSpace
    • MySQL
    • WordPress.org
    • YouTube
    « MiniMo the Mobile Firefox
    Wordpress 2.3 upgrade »

    Cross Platform Stylesheets

    Having just finished my first theme for My Blog, I am a little more aware of some of the pitfalls of writing a stylesheet that looks well on a number of platforms. Having first designing the CSS on Firefox and checking that it validated using the W3C own checker i was a bit annoyed that it didn’t look as expected when i went to check it in IE. Okay there are a few little things that can be overlooked like the listitem bullets looked a little different but there where differences in i the layout. Having spend hours trying to come to terms with the problem i found that even though IE and Firefox both connform to the same standard ( which i take on faith ) it would appear that they both start with different defaults.

    So to ensure that you CSS looks they way you are designing it across all platforms bear that in mind.  Never rely on the fact that they margins and padding on the DIV default the way you want them.

    This entry was posted on Monday, July 9th, 2007 at 6:58 pm and is filed under Blurb, Coding, advice. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

    One Response to “Cross Platform Stylesheets”

    1. Tom Willmot Says:
      September 19th, 2007 at 8:42 am

      Damian,

      Have you tried using a reset style sheet to get around this problem?

      I’ve been using one for a while now and would recommend it.

      Check out http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/

      Tripoli is pretty good as well http://monc.se/tripoli/

      Tom

    Leave a Reply