Entering Div tags

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
Mike D M
Posts: 7
Joined: Sun Aug 31, 2008 6:13 pm

Entering Div tags

Post by Mike D M »

I downloaded WeBuilder 2008 Ver 9.0.097 recently and am getting familiar with it. So far I love the program. I've used Homesite and 1st page 2000 in the past.

Is there a provision built into the program for entering a DIV tag? I've looked through it pretty thoroughly and can't find one. I've added a snippet to enter one so it's not too big a deal, but since the DIV tag is used so often for CSS created layouts the ability to add one should be a built in feature.
Cary
Posts: 82
Joined: Mon May 28, 2007 10:41 pm

Re: Entering Div tags

Post by Cary »

From the view menu you can open the language browser which will allow you to insert tags by clicking them.
davenz

Re: Entering Div tags

Post by davenz »

I created an auto-replace entry with a three-letter 'code' that is unlikely to be used in normal language and just type that; it is way quicker for me than leaving the workspace and reaching for the mouse to click a toolbar button and more convenient for me than hitting a multi-key (shift + alt + ctrl + whatever) combination to invoke a snippet as well. This way I can enter a div with or without closing tags depending on what I want and what letter combination I type in. I have utilised auto-replace for all my usually-typed stuff and it saves a lot of time and RSI. In my opinion this feature alone is worth the sticker price.

Dave.
Mike D M
Posts: 7
Joined: Sun Aug 31, 2008 6:13 pm

Re: Entering Div tags

Post by Mike D M »

Thanks,

That gives me the answers I needed.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Entering Div tags

Post by Karlis »

You can also create a library code snippet and assign it a shortcut key combo, if you prefer shortcut keys.
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Re: Entering Div tags

Post by syrupcore »

I'm with Karlis. All snippets for divs these days. I actually have three. One is just a div, one is a div with class (that asks for input) and one is a div with ID that asks for input. Now that they've added the feature for repeating snippet tokens (thank you guys!), you can do handy things like also include a closing comment in your code while only typing the class/id name in once. For instance, here's my "div with a class" snippet.


before

Code: Select all

<div class="%[enter class name]%"> 
after

Code: Select all

</div><!-- /%[enter class name]% -->
the "DIV with ID" is the same with id where it says class. CTRL+D = plain div, CTRL+ALT+D=div w/class, CTRL+SHIFT+D = div w/ID.

Once the callwords on columns other than 1 gets resolved, I'd delete the shortcuts and probably just make it "d", "dc" and "di". :)
davenz

Re: Entering Div tags

Post by davenz »

syrupcore wrote:I'm with Karlis. All snippets for divs these days. I actually have three. One is just a div, one is a div with class (that asks for input) and one is a div with ID that asks for input. Now that they've added the feature for repeating snippet tokens (thank you guys!), you can do handy things like also include a closing comment in your code while only typing the class/id name in once. For instance, here's my "div with a class" snippet.


before

Code: Select all

<div class="%[enter class name]%"> 
after

Code: Select all

</div><!-- /%[enter class name]% -->
the "DIV with ID" is the same with id where it says class. CTRL+D = plain div, CTRL+ALT+D=div w/class, CTRL+SHIFT+D = div w/ID.

Once the callwords on columns other than 1 gets resolved, I'd delete the shortcuts and probably just make it "d", "dc" and "di". :)
Nice work, think I'll use that if you don't mind...

Dave.
Post Reply