Height of CSS block containing floats

How to give that block the correct height? Read here.
How can I make a div grow its height when it has floats inside of it? I know that defining a value for the width and setting overflow to hidden works. The problem is that I need a div with the overflow visible.

The answer is this: In order for a parent to wrap around children elements which are floated, a new block formatting context needs to be set on the parent. This can be done with:

.wrap {
    display: flow-root;
}

or

.wrap {
    contain: layout;
}

The latter is a bit newer. Either of these have an advantage over overflow: auto; because they have the explicit purpose of creating a new block formatting context, while overflow: auto works as a side effect. Interestingly, flow-root can be also used alongside block or inline for better layout control. For example:

.wrap {
    display: inline flow-root;
}

Read more:

That’s all folks!
Have a nice day…

WordPress Menu target=_blank

How to open external menu links in a new tab with WordPress?
When creating a menu with WordPress, you can decide that a menu item links to an external page by adding a Custom Link. (And thank you Press Customizr for the images.)

You can change the target of this link, so that it opens in a new browser tab. For that you need to check an option located below the Navigation label field of the menu item and named “Open link in a new tab“, as illustrated in the following screenshot.

If this option is not visible, it means that it’s not enabled in the menu screen option. Simply follow those steps to activate the option :

  1. Click on the Screen Options link in the top right corner of the menu admin screen.
  1. Check the “Link Target” option : this will reveal the “Open link in a new tab” option.

That’s all folks!

Install Windows 11 Without a Microsoft Account

Thank you ‘Tom’ for the article on How To: “Maintain only a local account on your Windows 11 PC“.

By default, you must log in with a Microsoft account in order to install Windows 11 and go through the box (OOBE) setup process that triggers either as part of installation or the first time you turn on a new Windows PC. It seems like Microsoft really wants you to log in to Windows 11 using its account system, both so it can track you, …and so you can get benefits such as synchronizing your wallpaper and preferences across different computers.

However, there are many reasons why you would want to install Windows 11 using a local account only. Maybe you want to install Windows 11 with a local (non-Microsoft) account because you are installing the OS on a child’s PC or on a PC that you plan to sell, give to a friend or donate to a charity (without giving other people access to personal data). Or perhaps you just like your privacy and don’t want to create an account with Microsoft in the first place.

Whatever your reason for doing so, it’s easy to install or set up Windows 11 without using a Microsoft account. Below, we’ll show you the method: which involves issuing some commands during the install / OOBE process. We’ve tested the method on the latest major Windows 11 version, 24H2, and they work.

Continue reading Install Windows 11 Without a Microsoft Account

Acrobat Reader All Tools

Also annoyed that it’s always opened and you have to close the ‘All Tools’ tab on the left in your window when you wish to read your PDF on a bit wider screen?
Well… Adobe actually has a setting for that.

Go to:
– menu – preferences
– tab ‘Documents’
– check ‘Remember last state of All tools pane when opening documents

Next, if you close the ‘All Tools’ tab, it will be remembered the next time you open a PDF again.
Have a nice day!

HP Scan and Capture

Love it when people try to get around barriers and find ways to still download removed apps. Just read this article.

The question:
“How to Get HP Scan and Capture Software/App”
I see that HP has retired the HP Scan and Capture app.  This was a fantastic app to use.  I cannot find it on the HP site or in the Microsoft Store.  In the Microsoft Store there is a link to download, but when you click it you get sent to a description of the app.
Does anyone either have a working link to this app or know how to get this app?  I know it is not supported but to me it works much better and easier then the scan software that comes with the drivers of the HP MFP units.

Continue reading HP Scan and Capture