what is the "browser chrome"? - html

The following quote is from O'Reilly Definitive Guide to CSS:
Mozilla and related browsers use CSS to affect the presentation of the browser chrome itself
What is actually meant by the word "chrome" in this context? Is it simply the display area?

the chrome is the UI of the actual browser not just the content shown in the page, the themeable bits, like the buttons, menus, tabs, etc

browser chrome
‘Browser chrome is a euphemism for the graphical framework and elements of the web browser window.
‘Browser chrome’ is not to be confused with Google Chrome – which is a web browser.
Chrome includes the web browser:
title bar,
toolbar buttons: ‘Back’, ‘Forward’, ‘Stop‘, etc.,
horizontal and vertical scrollbars,
status bar: the strip at the bottom of the browser window, and the window frame.
Browser chrome can be modified through the use of ‘skins’; (usually) third-party software extensions that can be used to customise colour, graphical treatment and interface metaphor.
For more reading Browser and GUI Chrome

Chrome Browsers are User Interface. With the file menu and setting menu ect It also includes back forward and refresh.
At the botton of the page it contains the status bar how much is loaded ect.
It also can include the minimise maximise and the close buttons. Exlcuding the webpage content.

Related

Google Chrome full-page screenshot with iframes

I'm trying to capture a full page screenshot, but I'm having problems because my page includes iframes. The Google Chrome full-page screenshot feature is only capturing what is displayed on the screen. I've also tried a few extensions. Fireshot comes close, but it repeats the menu at the top of each screen section.
Is there any way in the Google Chrome developer tools to use the full page capture for a specific iframe?
I was pleasantly surprised that this extension took a screenshot of my entire iframe. (I do not know or work with the developer.)
https://github.com/mrcoles/full-page-screen-capture-chrome-extension

Google chrome inspecting media queries colored bars

The documentation for Google Chrome Emulator at https://developer.chrome.com/devtools/docs/device-mode says,
"To view the media query inspector, click the Media queries media queries icon icon in the upper left corner of the viewport. The DevTools detect media queries in your stylesheets and display them as colored bars in the top ruler."
I have clicked on the icon and notice that it is active. However, no colored bars appear anywhere.
Chrome tells me that my version, Version 38.0.2125.122, is up-to-date. The rest of the emulator seems to work OK. The colored bars documented would be REALLY helpful, so I would be extremely grateful if someone could complete or correct Google's instructions.
What would be really terrific is if the emulator could display the file name of the external .css document, as I have a mediaqueries.css document that points (that's the object anyway) to various .css external style sheets. Based on what I'm seeing under the "Elements" tab in the "dock"? (Google doesn't seem to have a name for the window), it looks like some of the tests, e.g, "Apple iPhone 3GS" or "Apple iPhone 5", etc., are picking up styles from different style sheets. I didn't know that was possible.
I believe this is the area they're talking about. You should see this in emulator mode.
Once you click the emulator icon, this appears at the top of the browser viewport (not at the bottom where the dev tools are.

Page main content not showing up on Chrome until after clicking on the inspect elements

The page content in #main area is not showing up only on Chrome browser. But I can see the code is there when I view the page source. And when I click on the "inspect elements" or by clicking on any CSS style on the "inspect elements" popup, the content can just appear suddenly. Here is the page URL you can take a look on Chrome browser,
http://ssf-qa.uchicago.edu/Home.html
The version of the Chrome I'm using is,
Version 33.0.1750.146 m
And we have custom fonts on the page.
Thanks a lot!
I've seen this recently with Modernizr, which I see you have running on there too. If you remove the reference to modernizr it works right away! I think we just have to wait for a bug fix.

Coding Landscape mode: Is there an inspector for iOS simulator?

I'm coding a fully responsive cross-browser site. I've already coded portrait mode and what I did to inspect changes and modify the my CSS file was to scale my Chrome Browser up to a point where I saw the same thing on my browser and on my iOS simulator. In that way I could work out every change and edit my CSS file. I now need to do the same on landscape mode, but I can't find a way to use an inspector that would simulate landscape mode.
I have Chrome, Firefox, Safari and IE and I'm open to any tool that would enable me to inspect the webpage simulating landscape mode not only regular tablets and phones but also Retina-supported devices.
Here is a really cool plugin.
http://lab.maltewassermann.com/viewport-resizer/
You can use it on any browser. Drag the "Click or Bookmark" button to your bookmark bar, then click it on any page you want to change the view size for.
Here is the image of the button you want to drag to your bookmark bar:
Here is an image of the toolbar that it adds.
My favorite tool to use for this is http://www.browserstack.com/. This isn't free but well worth it.
A third option is Adobe Edge Inspect. You can display the page right on the device but inspect the elements through you laptop or desktop computer. This option is free but you need to create an Adobe ID.

Why are these two pages displaying differently on ipad?

http://kilgorerodriguez.com/index.html
&
http://kilgorerodriguez.com/CarlosRodriguez.html
On the second page the background spans the entire page but on the first page it cuts off. I'm guessing it's something with CSS, but I can't figure it out.
If you have the Xcode developer tools installed on your Mac, you can attach the Safari Web Inspector to the iPad Simulator, like this:
Open the iOS simulator:open Xcode, then go to menu Xcode > Open Developer Tool > iOS Simulator
Change the hardware mode in the simulator to iPad
Open the Settings app on the simulator, go to Safari > Advanced and set Web Inspector to On
Follow the instructions under the Web Inspector switch: open the desired web page in Safari in the iPad Simulator, and also open the desktop version of Safari on the Mac. Go to the Develop > iPad Simulator menu in Safari and choose the appropriate page
Now you'll have a Web Inspector window that is attached to the web page in the iPad Simulator, with full power to debug the web page.
I used this to find the bad HTML markup I mentioned in the comment. When I used the Web Inspector to fix that markup (find the HTML element in the Resource tab or use the hand icon to select the element in the simulator window, then right click the element and choose Edit as HTML), and then also changed the style attribute for that div I mentioned to have min-width: 1002px;, the page looked OK in the iPad Simulator for me. The change to 1002px is based on one of the parent elements, <div id="wrapper">, having width: 1002px defined in the CSS. The wider min-width of 1124px probably caused the page width problem.