View Single Post
Old 09-22-2010, 04:46 PM   #2824
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by krunk View Post
They're not appearing in the sylesheet.css either (the recursive grep would catch it) but i'll do a deeper inspection there.
Yes, the grep should have caught it if it was there. I'd make sure you strip out the stylesheet and the internal style attributes. That's usually the problem with extra_css not showing up. Examine the page of interest, see if it has internal styles, and if so, try:
Code:
    def preprocess_html(self, soup):
        for item in soup.findAll(attrs={'style':True}):
            del item['style']
        return soup
Starson17 is offline