ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

Free Online HTML And Style Display

Updated on November 4, 2014

Previewing Text Modules

Page defunct: Squidoo is no more so the free formatting utility is no longer relevant. I'm glad people benefited for a while and hope that your future endeavours are fun and profitable.


Seen lenses with fancy backgrounds and colourful borders?

Wondered how to do it and been a bit intimidated? Worried you'll mess up your lens? Just finding it a bit tedious to tweak styles in the Workshop?

Here's a helping hand ...

Most lenses can be improved with a pinch of HTML and a dash of CSS, Unfortunately it can be trial and error to get the display perfect in size and shape and colours. Should I tweak this colour, try a thicker border, what's padding going to do?

Trying all this while creating a lens is a bit of a fiddle; you have to save a module and examine it, then go back to editing. To help speed things up and make changes easy I've created a simple, free online tool for playing with text module look and feel.

Cut and paste into a form, click the button and instant display.

Play with the style, add more or take away a bit, click again and see what you're getting.

Cut and paste from form to lens Workshop - done!

So Where Is It?

The utility lives at Squid Show. The link is also on the module pics below.


Location will change so bookmark this lens, not the site, if you're going to use it again.


If anyone's wondering about the main site, it's my sister's - my thanks to her for paying for the bandwidth.


Squid Show section 1: display area

Squid Show: main display area
Squid Show: main display area
Squid Show main display
Squid Show main display

The Main Display Area

You can vary the title, image, text and theme, then view them on screen.

Do remember the points below though:


The display uses Squidoo's stylesheets so is as close as it can reasonably get to what your text module will look like on a lens.


Squidoo downsizes images that are too big -- I don't.


You'll also see that the display incorporates elements of your selected theme - a quick way to look at the options available and judge what will work for you.

Squid Show section 2: form

Squid Show: form
Squid Show: form
squid show
squid show

The Form

As you can see on the image above, the form has four fields:


Module title try titles, for length and appearance


Module image try different images - they can live on any webserver bui remember to upload eventually to Squidoo


Lens theme easy way to see how theme changes display


Textarea write HTML and CSS here, watch the display change when you click the top button. Easy to make small changes and redisplay. When you're happy, cut and paste from here to your lens module

Squid Show section 3: the right hand side

Squid Show section 3: the right hand side display
Squid Show section 3: the right hand side display
Squid Show: right hand side
Squid Show: right hand side

The Bit On The Right

This is included so that you can see some of the effects of changing theme, especially heading colour and link colour.



Not all themes are available to all levels, so check the list in your Workshop in case of disappointment.



Note that the sample link is to my blog: this is a slowly growing set of book and author reviews, PaulOnBooks, with a few book-related rants thrown in. Highly recommended by, well, me. Pay a visit and leave me a comment.

The Small Print

A few things to watch for:


Squidoo strips out HTML that would interfere with its operations and display - Squid Show doesn't. Follow examples in existing lenses and you'll be okay. Don't use divs, headings and iframes. Don't add javascript.



i don't count characters - shouldn't matter anyway - Squidoo is generous on the upper limit.


I don't resize pics so make sure you're trying one that will be okay when uploaded to Squidoo.


Credit to W3Schools who gave me the idea.

How Do I Do Those Boxes?

Boxed text is easy to achieve; once you've done one you can vary it to change all sorts of subtle attributes.


Boxed text is easy to achieve; once you've done one you can vary it to change all sorts of subtle attributes.


Cut and paste the white text in the box above into Squid Show in a separate window so you can refer to it and play with it as we go through the points below.


  • span: a container tag, used to enclose the chunk we want to style in a prticular way. Note the at the end of the HTML
  • style=: as you can guess from the name, this lets the browser know that style attributes are coming up
  • the attribute list: must be completely enclosed in quotation marks
  • the attribute list: contains x:y; patterns - attribute name, colon, attribute value, followed by a semi colon
  • float:left This is a directive to the browser to position relative to other elements nearby on the page. I have left on this as I use it next to the text module image. Change left to right and see what happens. Delete the whole float:left; and you may be surprised!
  • width: 60% I said this whole thing was a container - well, Squidoo has it enclosed in another container - this bit tells the browser to use 60% of the width of the Squidoo container. Why 60%? To allow for the module image.
  • background-color: rgb(239, 239, 255); One way of giving a background colour - I'll say a bit more about colours later, but play with the numbers now and see what happens
  • margin-right: 5px; Margin is the gap between this container and its surroundings. I want a little gap between the text and the image so I force it with 5 pixels
  • padding: 5px; Padding is the gap between the text in the container and the edges of the container. I'm forcing a small gap all round.
  • border: 2px solid rgb(0, 0, 170); Multiple values for one attribute border. In order, thin, unbroken and blue.

A Bit About Colours

Colours are expressed as combinations of red, green and blue. Known as RGB, pronounced Ah-Gee-Bee. You'll usually see values expressed in the format #123456. The hash symbol tells the browser that it's getting hexadecimal values. If you're a geek like me you'll already know about hex numbers, if you're not a geek all you need to know is that instead of going from 0-9 hex digits go 0 1 2 3 4 5 6 7 8 9 A B C D E F.

Back to RGB: Consider #aa900f This tells the browser to mix Red at aa with Green at 90 and Blue at 0f. - to give us this colour (an ugly mustard).

To get black we remove colour, so #000000 gives     . You should be able to guess now what gives us white ...

A Bit More About Colours

Just to brighten this lens up a bit, let's have some colours. The first line shows variation in red, from 11 to ff (so #110000 to #ff0000). Next two do the same for green and blue, the final band shows #111111 to #ffffff

11--22--33--44--55--66--77--88--99--aa--bb--cc--dd--ee--ff--

-11--22--33--44--55--66--77--88--99--aa--bb--cc--dd--ee--ff-

--11--22--33--44--55--66-=77--88--99--aa--bb--cc--dd--ee--ff

   1   2   3   4   5   6   7   8   9   a   b   c   d   e   f

Do you need to remember any colour combinations? Well, there are sixteen million combinations so I'd say don't even try. Lenses listed below will tell you what colour Squidoo uses for various page elements in different themes if you want to blend in.

A great, simple tool to view colours and shades is available online at W3schools HTML Color Picker.

Two Column Bulleted List

A trick someone has just asked about: can I do a two column list? Yes, quite easily:

  • aaaa
  • bbbbbbb
  • cccccccc
  • dddddddd
  • eeeeeeeee
  • ffffffffff
  • ggggggggg

Design Books

Web Design All-in-One For Dummies
Web Design All-in-One For Dummies
Basics to advanced in the hugely successful Dummies series. I love these books
 
Learning Web Design: A Beginner's Guide to (X)HTML, StyleSheets, and Web Graphics
Learning Web Design: A Beginner's Guide to (X)HTML, StyleSheets, and Web Graphics
Taking a step up, getting a bit more serious about presentation
 
working

This website uses cookies

As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://corp.maven.io/privacy-policy

Show Details
Necessary
HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
LoginThis is necessary to sign in to the HubPages Service.
Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
AkismetThis is used to detect comment spam. (Privacy Policy)
HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
Features
Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
MavenThis supports the Maven widget and search functionality. (Privacy Policy)
Marketing
Google AdSenseThis is an ad network. (Privacy Policy)
Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
Index ExchangeThis is an ad network. (Privacy Policy)
SovrnThis is an ad network. (Privacy Policy)
Facebook AdsThis is an ad network. (Privacy Policy)
Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
AppNexusThis is an ad network. (Privacy Policy)
OpenxThis is an ad network. (Privacy Policy)
Rubicon ProjectThis is an ad network. (Privacy Policy)
TripleLiftThis is an ad network. (Privacy Policy)
Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
Statistics
Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)
ClickscoThis is a data management platform studying reader behavior (Privacy Policy)