Learning to layout under ... QIP?

Good evening, habra

Today, after many weeks of torment, insight descended on me. Previously, I constantly noticed that the code copied into the ICQ message very often lost some of the characters and modified the text. The insight was that starting with Infium 9044, this messenger supports BB-codes.

Googling the supported codes led to the fact that a page was found with a list of all supported codes (link at the bottom of the topic), among which was [table] (remember the old typesetting time on tables?). Below is a brief description of how to make up a beautiful advertising (and not only) message for sending via QIP.

Bit of theory



I think that the very concept of BB-code is known to many forums. For those who are not in the know, this is a markup language, similar to HTML, used for more secure posting. The main difference is that these codes are written in square brackets (examples: [h4], [image], etc.).

Unfortunately, you won’t be able to get full markup with their help (not support for styles, stripped-down properties), but it’s still possible to create something more or less decent

Practice



We proceed directly to the "layout" of our message. Initially, you need to know that any images used in the layout should have direct links .

For an example I will take a small text from the official QIP website and borrow their logo.

This example is quite simple, but at the same time it is able to show what can be done using BB codes.
Appearance:
image

Code: Overall, not bad, is it? True, there are some problems when using the colspan and rowspan attributes, unfortunately I myself couldn’t figure it out completely (except for crutches in the form of extra [td] [/ td]) That's all, a brief excursion into the abnormal layout is over.
[table border=0][tr][td][img]http://www.jabberworld.info/images/thumb/d/d3/Qip_logo_large.png/128px-Qip_logo_large.png[/img][/td][td colspan=2 valign=middle][size=36]QIP.RU[/size][/td][/tr]
[tr][td width=100 padding-left=10 padding-top=10][url="#"]Главная[/url]
[url="http://download.qip.ru/2010/qip2010.exe"]Скачать[/url]
[url="#"]Контакты[/url]
[/td][td colspan=2]
Новая версия QIP 2010 - Build 5768
Дата релиза: 01 июля 2011

[b]В новой версии:[/b]
[list][*]быстрая установка в дефолтном режиме;
[*]отключение прозрачности всплывающих сообщений для нетбуков;
[*]загрузка фотографии с вебкамеры на аватар;
[*]поддержка немецкого языка.
[/list]

А так же многочисленные изменения , исправления возникавших ошибок, повышение стабильности работы и безопасности.
[/td]
[/tr][tr height=30][td colspan=3 align=right padding-top=10][b]Copyright 2011 © QIP.ru[/b][/td][/tr][/table]







And yet, yes, the solution to the unreadability of the code was solved by adding [code] [/ code]

References:


Wiki with a description of the main BB codes

Also popular now: