dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: HTML Navigation Bar - Sticks to Left

  1. #1
    Join Date
    Jan 2012
    Posts
    16

    HTML Navigation Bar - Sticks to Left

    Hi, my HTML Navigation bar (here: http://tridimension.comoj.com/includes/header.php) for some reason sticks to the side of my page, and is reorganizing itself into a vertical line.

    Code:
    HTML Code:
    <h4><a href="../index.php">Home</a></h4> | <h4><a href="../forum/index.php">Forum</a></h4> | <h4><a href="../helpful/index.php">Helpful</a></h4> | <h4><a href="../progress.php">Progress</a></h4>
    Could anyone identify the problem? I am trying to put it next to the logo, in a horizontal line.

    Thanks.

  2. #2
    Join Date
    Aug 2012
    Location
    Canada
    Posts
    56
    h4 is a block element which means it includes a linefeed.

    Just use the a tag and add a style to give it the look of an h4

  3. #3
    Join Date
    Jan 2012
    Posts
    16
    Thanks. I removed the H4 tags.

    How would I stylize it to look like a H4?

  4. #4
    Join Date
    Aug 2012
    Location
    Canada
    Posts
    56
    in the css:
    .boldlink {font-weight:bold}

    then on the a tags <a class="boldlink href...etc..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles