my home on the web

Month: August 2014

this one is really for my own benefit

OK. This one is for my own benefit and anyone else who struggles with layout in html.

When I’m trying to sort out customised pages, particularly in WordPress, I tend to mess up border, margin, padding and content. Thanks to w3schools.com this is what I need to remember.

 

box-modelThe rules are important and can lead to hours of irritation if you don’t get them right.

This is the bit that you need to know:

Explanation of the different parts:

  • Margin – Clears an area around the border. The margin does not have a background color, it is completely transparent
  • Border – A border that goes around the padding and content. The border is inherited from the color property of the box
  • Padding – Clears an area around the content. The padding is affected by the background color of the box
  • Content – The content of the box, where text and images appear

In order to set the width and height of an element correctly in all browsers, you need to know how the box model works.

Another tool for people who struggle with these things is Firebug for Firefox, a fantastic plugin.

I’ve posted this because I’ve been there and know how frustrating it can be.

Just to let you know I’m still here and Cheltenham ante-post update

 

Racecoursesign

Sorry it’s a bit quiet here. Waiting for the new NH season.

In the meantime I’m keeping up to date on my holiday site, www.gurson.co.uk.  The weather is looking good for the visit and I’ll be checking out new (for me) regional racecourses as usual.

In the meantime why not a ridiculously early look at Cheltenham (their website looks a bit weird at the moment!).

Vautour 5/1 and Faugheen 10/1 for the ArkleThe New One and Faugheen 5/1 for the Champion Hurdle.

Annie Power 6/4 for the Mares’ Hurdle is marginally more interesting.

The RSA Chase features More of That, Beat That, Faugheen, Annie Power, Don Poli and Briar Hill. Of all the current ante posts Don Poli at 10/1 is interesting.

The Queen Mother Champion Chase is a (small) bit more sensible at this stage (best prices):

Sprinter Sacre 3/1

Sire de Grugy 7/2

Balder Succes 14/1

Champagne Fever 16/1

The World Hurdle market features More of That, Hurricane Fly, Annie Power and (again) Faugheen at odds in order from 3/1 to 11/1. No need for details because that’s a ludicrous market.

The remaining market worth considering is, of course, The Gold Cup. Now this one is worth looking at because the main protagonists are tried and tested.

Bobs Worth 12/1

Holywell 12/1

Silviniaco Conti 12/1

Champagne Fever 14/1

Boston Bob 16/1

O’Faolains Boy  16/1

Cue Card 16/1

My current three against the field are Silviniaco Conti (if he stays straight – in both senses), Champagne Fever (if the rumours that he is a 3m+ chase machine are true) and O’Faolains Boy (if he’s better than a very good handicapper and graded chaser – i.e. improves this season).

 

 

 

© 2024 Martin Malone

Theme by Anders NorenUp ↑

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227,