On Nov 7, 2013, at 7:40 PM, Philippe Wittenbergh wrote: > > Le 7 nov. 2013 à 19:36, Rick Lecoat <[email protected]> a écrit : > >> Tangential question: One thing that I noticed from the info that the >> web-inspector provided about the iPhone page was that the body tag's id >> attribute gets set to 'screen-view'. Each of my pages has an id on the body >> tag based upon its url (helps when setting page-specific css exceptions) and >> I’m trying to get my head straight on whether or not this will have any >> effect upon what information the web inspector outputs > > Uh, that _is_ strange, never seen something like that (and can’t reproduce > that issue on 10.9 - Safari 7 inspector with a iOS 7.0.3 device connected and > don’t remember ever seeing it using 10.8). > > I’ve of course no idea where it is coming from. Theoretically that might > affect rendering of the page while is open in the inspector. You can do a > simple test: > > <style> body { background: red; } #test { background: green; } <style> > <body id=test> <p>The background of this page must be green</p> <body> > > If the background-color changes while inspecting the page, then you might > have a problem… > > Philippe > -- > Philippe Wittenbergh > http://l-c-n.com >
Istn't the rule that inline styles trump all even browser added styles or users styles as they may be? If your wanting it to stay one color, then wouldn't <body style="background-color: green !important;"></body> do the job? Best, Karl DeSaulniers Design Drumm http://designdrumm.com ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
