Escolar Documentos
Profissional Documentos
Cultura Documentos
A. Preâmbulo
Assumirei que você já possui um site neste artigo, com uma página
existente onde deseja colocar a caixa. Se isso não for verdade,
comece do início, com Como criar um site .
No momento em que escrevo isso, pelo menos para o BlueGriffon versão 3.1
e anterior (tanto quanto eu sei), não há como desenhar uma caixa em torno
do conteúdo existente usando a interface do usuário. Ou seja, você não pode
simplesmente selecionar os parágrafos desejados e fazer com que o editor
desenhe as linhas de uma caixa retangular ao redor dele. Você terá que fazer
isso manualmente. Uma maneira é desenhar a caixa separadamente e, em
seguida, recortar e colar o conteúdo existente nela. Como alternativa, se você
ainda não escreveu (ou inseriu) seu conteúdo, desenhe a caixa primeiro e
digite-a diretamente.
2. Clique para colocar o cursor de texto no local onde deseja que a caixa
apareça. Se o local ainda não existir, porque você ainda não o
conheceu, basta criar um parágrafo vazio na página em que a caixa
deve ser colocada e deixar o cursor lá.
4. Parece que nada vai acontecer, mas, por baixo do capô, o editor
inseriu o que é comumente chamado de "bloco DIV" nesse local. O
bloco DIV não tem aparência específica e, portanto, é invisível. Vamos
agora desenhar linhas ao redor das bordas do bloco. Não mova o
cursor do texto.
2
5. Na parte superior do painel Propriedades do estilo, altere o campo
suspenso para "Aplicar estilos a" de "este elemento apenas através de
seu ID" para "todos os elementos da classe ...". Um novo campo
aparecerá, onde você terá que nomear a classe. Digite "boxedcontent"
(sem as aspas) neste novo campo.
3
7. Clique para colocar o cursor no campo em branco mais à esquerda,
logo abaixo da caixa de seleção "Usar a mesma borda nas quatro
bordas". Digite "1px" (sem as aspas).
Se você olhar sua página da Web, verá que o editor agora mostra uma
caixa desenhada com linhas com 1 pixel de espessura. Se a linha for
muito fina para o seu gosto, altere o "1px" digitado anteriormente para
algo maior (por exemplo, "2px" para 2 pixels, "3px" para 3 e assim por
diante). Verifique se não há espaços entre o número e a unidade de
medida ("px"). Por exemplo, "2px" está correto, enquanto "2 px" está
errado.
4
Insert "8px" (without the quotation marks) into the field directly under
the word "Content" and just above the ticked box that says "Same four
paddings".
This puts a bit of space between the lines and the content. If you find
later that this space is too wide or too narrow, return to this field and
adjust the number accordingly. For example, if you want a bit more
space, change "8px" to (say) "10px".
10. If you have not created any content for the box yet, and want to type
text into it, click to put your text cursor in the box. If you want to insert
more than one paragraph of text, change "Body Text" in the toolbar at
the top of the page (see picture) so that it now says "Paragraph".
After you do that, you will have to click the empty space in your boxed
area again before typing. BlueGriffon (at least up to version 3.1) will
ignore any words you type if you don't, even though your text cursor is
still in that box.
5
on the Mac) to make a new paragraph, BlueGriffon will instead create a
new box.
If you want to cut and paste multiple paragraphs of text into the box, or
a mixture of text and pictures, it may be best to change the "Body Text"
setting to "Paragraph" before doing anything. Then cut and paste a
single paragraph at a time, and create new paragraphs manually.
Otherwise, depending on how you select (ie, highlight) your original
paragraphs before cutting, you may end up with a single big paragraph
when pasting.
In actual fact, you can cut multiple paragraphs and successfully paste
them while preserving its original formatting, if you select (ie, highlight)
the invisible paragraph marker at the end of the source text. If this
makes sense to you, and you know how to do it, go ahead and do it
this way if you wish. Otherwise, do it paragraph by paragraph, as I
mentioned above.
In addition, if all the cutting and pasting has left the remaining text
outside the box somewhat wrongly aligned (for example, it has lost its
paragraphing and perhaps even indentation), click to put the text cursor
there and make sure that the toolbar at the top of the page has
"Paragraph" instead of "Body Text" set. If not, click the drop down box
and select "Paragraph".
That's it. Test the page in a web browser to see the results.
6
4. PLEASE DO NOT REPRINT THIS ARTICLE
This article is copyrighted. Please do not reproduce or distribute this article in
whole or part, in any form.
5. RELATED ARTICLES
How to Put a Background Image on Your Website with BlueGriffon
How to Use Google Fonts and Other Web Fonts in BlueGriffon
How to Add a CAPTCHA Test to Reduce Spam from Your Contact Form
How to Add a (Self-Hosted) Video to Your Website with BlueGriffon
How to Move Your Website to SSL/TLS (ie, Convert from HTTP to HTTPS)
What To Do If You Do Not Own Your Website's Domain Name
How to Register Your Own Domain Name
How Do You Get Access to a Domain Name You Just Purchased? What to
Do After You Buy a Domain Name
6. NEW ARTICLES
How to Draw a Rectangular Box Around Your Content in BlueGriffon
How to Insert a Bullet Point (Unordered) List with BlueGriffon
How to Start a List with a Number Other than 1 and Still Have it Automatically
Numbered (HTML)
What to do if a registrar quotes an exorbitant price for a domain
How to Rotate an Image on a Website When Viewed on a Mobile Phone
(CSS)
Can I Change My Website's Address to HTTPS Without Getting an SSL
Certificate?
How to Add a (Self-Hosted) Video to Your Website with Expression Web
What's the Difference Between a Domain Name Registrar and a Web Host?
How to Make a Mobile-Friendly Website: Responsive Design in CSS
What's the Difference Between a Content Management System (CMS), a
Blog, a Web Editor and an Online Site Builder?
7. POPULAR ARTICLES
How to Create a Blog
How to Make / Create a Website: The Beginner's A-Z Guide
Tips on Choosing a Good Domain Name
Expression Web Tutorial: How to Design a Website with Microsoft Expression
Web
Tutorial do Dreamweaver: Como criar um site com o Dreamweaver CS6
Tutorial do BlueGriffon: Como criar um site com o BlueGriffon 3
Como criar e publicar seu site com o KompoZer (editor da web gratuito
WYSIWYG)
7
Assistente de Feedback / Formulário de Contato Gratuito
Casa
Doar
Contato
Link para nós
Política de Não Spam
Política de Privacidade
Tópicos
Mapa do site
Começando
Designer de Web
Mecanismos de pesquisa
Produção de receita
8
Domínios
Hospedagem na Web
Blogging
JavaScripts
PHP
Perl / CGI
HTML
CSS
.htaccess / Apache
boletins informativos
Geral
Sazonal
Avaliações
Perguntas frequentes
Assistentes