Outside the marginals

a commentary on the politics that followed the UK 2010 & 2015 elections

box-test

If when publishing a press release you want it to stand out, if you work briefly in “text” mode rather than “visual” mode you can put some html and css code around the press release to make it stand out.
Before:

<div style="border: solid red 1px; margin: 10px; padding: 30px;">

After:

</div>

It can be customised.
Syntax:

  • border: solid red 1px; defines the border – the line type, the colour and the thickness.
  • margin: 10px; the white space outside the border
  • padding: 30px; the white space inside the border
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: