Jump to content

skaterdav85

Members
  • Content Count

    874
  • Joined

  • Last visited

Posts posted by skaterdav85


  1. I created a navigation bar w CSS so it has the rollover-like effect, but i dont know how to center the navigation in the middle of the page at the top. Anyone know how to do this?here is my code...<head><style> ul { list-style-type:none; padding: 2px; font: bold 12px 'Lucida Grande',Verdana,sans-serif;} li { background: #DDDDDD; float: left; padding 2px 10px; border-left: 1px solid #fff; border-right: 1px solid #aaa; border-bottom: 1px solid #666;} ul a:link, ul a:visited, ul a:hover, ul a:active { display: block; padding: 2px 10px; text-decoration: none;} ul a:link { color: #000;} ul a:visited { color: #666;} ul a:hover { color: #f00; background: #fff;} ul a:active { color: #333;}</style></head><body> <ul> <li><a href="#">Home</a></li> <li><a href="#">Products</a></li> <li><a href="#">Contact</a></li> <li><a href="#">FAQs</a></li> <li><a href="#">Other Services</a></li> </ul></body>


  2. I have a html form drop down menu, and i wanted to make it so that when an option is selected, it automatically goes to a particular link. How do i put links into this code? Thanks! <select name="select" size="1" id="select"> <option selected>Select an Option</option> <option>Option 1 </option> <option>Option 2</option> <option>Option 3</option> </select>


  3. Some simple code:
    <style type="text/css">div#navbar a {display:block;float:left;width:100px;height:30px;line-height:30px;text-align:center;background-color:#EEEEEE;color:#333333;margin-right:2px;}div#navbar a:hover {background-color:#333333;color:#EEEEEE;}</style><div id="navbar"><a href="#">Home</a><a href="#">About</a><a href="#">Projects</a><a href="#">Contact</a></div>

    I see that line-height:30px; was used to center the text vertically within the block, but is there anohter way to vertically center the link in the block like using valign or something?Also, how come they put "div#navbar a:hover {" in the css? Cant you just put "#navbar a:hover {"?

  4. i found this website, and i was wondering if anyone could break it down simply how you can make a menu bar similar to this:http://www.kaosdistributors.com/I like how when u roll over each choice, it highlights the whole cell and changes the text and background color, making it look like a rollover. I know they use a:hover & a:link, but im not sure how they made the hover cover a rectangular shape. any suggestions?


  5. You use Java to create web applets that operate independantly of the rest of the web page (a bit like a Flash document), or as a server-side language like PHP. JavaScript is completely client-side, and can interact directly with the HTML DOM of the web page and change things such as styles and text. By the way, JavaScript is not based at all on Java (but they are both C-based), the Java in the name is due to a marketing deal between Netscape and Sun Microsystems (which is why Microsoft initally had to call their version JScript). Its official name is ECMAscript.
    What are examples of java applets? Are they embedded in the html document?

  6. I started with HTML in the 90s and learned most of what I know from the early books on the subject. I took a break from web stuff for a while due to the demands from my job (a was a hobbyist). I recently volunteered to Webmaster a website for a non-profit group and started studying again. I finished the Head First book on HTML and CSS. It was a great refresher and I knew nothing of XHTML or CSS. I'm currently reading my second Head First book, JavaScript. Personally I like to read a book more than read online. W3Schools has been a great help for me when I need current programming practices explained.
    ya i just ordered the head first javascript book. how is it? i thought the headfirst book for html,xhtml, and css was really good and pretty detailed.

  7. The danger with programming tattoos isn't that someone might hurt you. The danger with programming tattoos are that once you get one your chances of ever getting laid again for free drop like a rock.
    lol thats probably true

  8. I got my job through my school. It was a work term at first. I've been working here for almost 2 years. I'm at the government so they pay pretty well.
    through school as in you got a degree in web stuff or you got it another way? what kind of stuff do you do there?

  9. i found this to be pretty interesting. this was on the yahoo frontpage today about the 5 hot business careers without an MBA.http://hotjobs.yahoo.com/career-articles-f..._mba_needed-2764. Web DesignerThanks to the Internet boom, trained Web designers are in demand. These creative professionals work with companies to design and maintain Web sites that effectively convey their corporate missions, contact information, latest news, and more. Web designers must be well versed in HTML and computer graphics programs like Dreamweaver, Photoshop, Illustrator and Flash, which are often taught in 6- to 12-month certificate programs. While freelancers can work out of a home office, Web designers must be especially attentive of deadlines and willing to make last-minute changes beyond 5 p.m. and on weekends. The average salary is just under $60,000 per year.

×
×
  • Create New...