Results 1 to 2 of 2

Thread: Creating bars with CSS?

  1. #1
    Fidel Fleming is offline Member
    Join Date
    May 2009
    Posts
    86
    Rep Power
    4

    Default Creating bars with CSS?

    Provide a few proper answers for this
    What steps will be desired to perform this if you are having any ideas then answer back me as soon as possible to me.
    Thanking you in advance.

  2. #2
    Join Date
    May 2009
    Posts
    86
    Rep Power
    4

    Default

    Creating Bars
    Put all the links in one single text line. This way has benefit of having a logical and simple approach. Or use unordered listings, using the <UL> and <LI> tags. This approach is suitable, as CSS lets for superseding of default appearance of items in lists and consequences in less messy code.
    Code Syntax
    Utilize the syntax under to make the bars:

    <div id= "navigation bar"

    <ul>
    <li><a href= "file.html">File</a></li>
    <li><a href= "edit.html">Edit</a></li>
    <li><a href= "format.html">Format</a></li>
    <li><a href= "help.html">Help</a></li>
    </ul>
    </div>

    This CSS code is used for both horizontal and vertical bars. To convert to a navigation bar, add the following line of code:

    div#navigationbar {align: center; width: 270px; height: 30px; display:block}
    div#navigationbar li {display: inline;}

    This part of code sets the background and dimension particulars of navigation bar that holds the links. Additional declarations can be built-in as wanted. The "display: inline" part of the code is significant, as it reasons the list to emerge horizontally across the bar quite than on separate lines.

Similar Threads

  1. Creating bars with CSS
    By OrtizCooper in forum other peripherals
    Replies: 1
    Last Post: 07-04-2010, 02:49 PM
  2. Replies: 0
    Last Post: 11-23-2009, 12:03 PM
  3. Replies: 0
    Last Post: 05-06-2009, 12:03 PM
  4. Creating New Notebooks
    By wenssal in forum Everything Else
    Replies: 0
    Last Post: 07-01-2008, 03:29 PM
  5. Combine tool bars
    By webworld in forum General Software Terms
    Replies: 0
    Last Post: 06-24-2008, 03:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48