Re: [Dorset] Using a Raspberry Pi as a Network Router

2018-07-12 Thread Terry Coles
On Wednesday, 11 July 2018 19:17:25 BST Patrick Wigmore wrote: > On Wed, 11 Jul 2018 17:14:21 +0100, Terry Coles wrote: > > It's worse than that; I've found that every browser that I've tried > > on every device that I have access to exhibits different behaviours > > with this code: Something

[Dorset] Centering Text Using CSS

2018-07-12 Thread Terry Coles
This is driving me nuts! As part of my WMT Captive Portal project I want to add a message to the bottom of the Home Page; a copy of which is at: http://www.hadrian-way.co.uk/WMT_Webserver/WMT/ After visiting W3C Schools, I found that using font tags is now deprecated in html and so I should

Re: [Dorset] Centering Text Using CSS

2018-07-12 Thread Patrick Wigmore
Terry, On Thu, 12 Jul 2018 13:47:22 +0100, Patrick Wigmore wrote: > You should probably use a tag instead, and assign it a class: I now see in your 13:43 message that you have done this. -- Next meeting: Bournemouth, Tuesday, 2018-07-17 20:00 Meets, Mailing list, IRC, LinkedIn, ...

Re: [Dorset] Centering Text Using CSS

2018-07-12 Thread Andrew
On 12/07/18 13:53, Terry Coles wrote: As you can see; I am learning this as I go along and it doesn't help when I do something that is illegal, but it appears to (mostly) work. I got there in the end. HTML can be validated automatically, which really helps with learning.

Re: [Dorset] Centering Text Using CSS

2018-07-12 Thread Tim Waugh
Another thing you might find useful is Firefox's 'Inspect Element (Q)' mode (right-click on the page to find that). You can highlight elements and inspect (and modify) their dynamic CSS properties. Especially useful for finding things like e.g. the element's width doesn't fill its parent the way

Re: [Dorset] Centering Text Using CSS

2018-07-12 Thread Andrew
What's the tag? I've not heard of that before. What you want is probably: margin-left: auto; margin-right: auto; -- Andrew. -- Next meeting: Bournemouth, Tuesday, 2018-07-17 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread:

Re: [Dorset] Centering Text Using CSS

2018-07-12 Thread Terry Coles
On Thursday, 12 July 2018 13:49:34 BST Patrick Wigmore wrote: > On Thu, 12 Jul 2018 13:47:22 +0100, Patrick Wigmore wrote: > > You should probably use a tag instead, and assign it a class: > I now see in your 13:43 message that you have done this. As you can see; I am learning this as I go along

Re: [Dorset] Centering Text Using CSS

2018-07-12 Thread Terry Coles
On Thursday, 12 July 2018 13:34:21 BST Andrew wrote: > What's the tag? I've not heard of that before. Perhaps the term 'tag' isn't quite what I meant. I have defined the font attributes that I want in my message and called the definition 'msg'. In fact, to make the center attribute work, I

Re: [Dorset] Centering Text Using CSS

2018-07-12 Thread Patrick Wigmore
On Thu, 12 Jul 2018 12:26:39 +0100, Terry Coles wrote: > Please point out my (no doubt) blindingly obvious mistake. You seem to have created your own tag "", and the browser has probably defaulted to displaying it as an inline element, which can't have a text-align property. You should

Re: [Dorset] Centering Text Using CSS

2018-07-12 Thread Terry Coles
On Thursday, 12 July 2018 13:57:28 BST Andrew wrote: > HTML can be validated automatically, which really helps with learning. I'd forgotten about that > https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.hadrian-way.co.uk%2FWMT_We > bserver%2FWMT%2F Coo. What a lot of errors, especially since

Re: [Dorset] Using a Raspberry Pi as a Network Router

2018-07-12 Thread Patrick Wigmore
On Thu, 12 Jul 2018 07:14:05 +0100, Terry Coles wrote: > > Given enough time to detect the captive portal, Windows 7 pops up > > a > > balloon from the taskbar suggesting that "Additional log on > > information may be required", which opens a browser when clicked. > > Have you installed

Re: [Dorset] Centering Text Using CSS

2018-07-12 Thread Terry Coles
On Thursday, 12 July 2018 12:26:39 BST Terry Coles wrote: > Please point out my (no doubt) blindingly obvious mistake. I Just found this statement: Note: Center aligning has no effect if the width property is not set (or set to 100%). on this page: https://www.w3schools.com/css/css_align.asp