Max Titov IV @ TechSplice

The most beautiful music of all is the music of what happens.
  • Home
  • About

Posts Tagged ‘css’

29 Nov 2007

Hacking CSS

There’s quite a few links out there that talk about the different methods of hacking IE and Firefox along with many other browsers.

Having been developing in Adobe Flex for the past while I’ve been ignoring the CSS issue but in my latest project I had to face the beast. My goal was to find a way in which I can block particular tags in both IE and in Firefox. so here’s what I found after doing some research.

For a page where you have an internal <div id=”pathway_text_inner”> the following will be ignored in Firefox:

#pathway_text_inner{ 
_width: 900px;
_padding-left: 10px;
_padding-top: 7px;
}

Pretty much anything that is preceded by an underscore is ignored in Firefox.

Similarly the following is ignored in IE7.

*:lang(en) #pathway_text_inner{ 
padding-left: 10px;
padding-top: 10px;
height: 20px;
overflow: hidden;
width: 890px;
}

where <body lang=”en”> .

I know there’s been quite a bit written about the subject but I couldn’t find the exact answer from the first Google search that I performed. Hence this post.

Cheers.

29 November, 2007 at 10:34 by maxtmax

Tags: css, development, fix, hack, solution
Posted in Web Development | No Comments »

  • Subscribe using FeedBurner
  • Cloud Data

    abap adobe animation basic beautiful builder camera code configuration contribution design development digital engineering fix flash Flex function images interesting lesson new paypal Photography php problem problems program programmer programming review sap SAP/ABAP sdk setup soap software solution story system tables transaction transports user video

    WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.

  • My Links

    • Cooking
    • Gallery
    • Resume
  • Online Tools

    • Airline Ticket Search
    • Estimate Shipping Cost [from US]
    • Link your Blog
  • Software Engineering Blogs

    • Adam Goucher
    • Joel on Software
    • The Third Bit
    • Wide Awake Developers
  • Categories

    • Everyday stuff
    • Flex
    • Photography
    • SAP/ABAP
    • Short Stories
    • Software Engineering
    • Web Development
  • Gallery

    Roy Tanck's Flickr Widget requires Flash Player 9 or better.

Max Titov IV @ TechSplice is proudly powered by WordPress
Design & code by Jonk
Entries (RSS) and Comments (RSS).