1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

another css question

Discussion in 'Web Development & Web Hosting' started by Mitzs, Feb 27, 2008.

  1. Mitzs
    Honorary Member

    Mitzs Ducktape Goddess

    3,282
    73
    152
    In this tutorial I just started I am doing a block of links on the bottom of the page. Instead of doing 'A:Link{"

    It is starting with ".Link1 A:link{" I fig the block will give me a different kind of looking link. But what is the dot before word link1 for? Is this what anchors it down at the bottom? This is a good tutorial for typing things out and getting to see exactly what the tags are actually creating. But it actually suxs when it comes to explaining things to newbies.:x When I get though all of it they will be receving an email from me with instructions on the proper way to wrtie for newbies. :dry
     
    Certifications: Microcomputers and network specialist.
    WIP: Adobe DW, PS
  2. jackd

    jackd Megabyte Poster

    555
    7
    64
    Its the class so ".Link1 A:link{" you'd have
    Code:
    <a href="http://myurl" class="Link1">this is myurl</a>
    http://w3schools.com/css/css_syntax.asp

    Jack
     
  3. dmarsh

    dmarsh Terabyte Poster

    3,782
    302
    184
    Jack is correct, the Link1 stuff is an example of an 'inline style', CSS can be embedded into the page not just in stylesheets.

    So you give a tag an id or a class and you can use this along with its DOM location and tag type to style it.

    I'm not much of a css guru but I'd guess the . means its global, it does not hang off anything and the class is 'Link1' then normally theres a style in curly braces.

    You can style multiple DOM elements at once, it looks like they are using link properties :-
    http://www.echoecho.com/csslinks.htm

    and styling them at the same time with the same style.
     
    Certifications: CITP, BSc, HND, SCJP, SCJD, SCWCD, SCBCD, SCEA, N+, Sec+, Proj+, Server+, Linux+, MCTS, MCPD, MCSA, MCITP, CCDH
  4. Mitzs
    Honorary Member

    Mitzs Ducktape Goddess

    3,282
    73
    152
    thanks guys appreciate the help!:)
     
    Certifications: Microcomputers and network specialist.
    WIP: Adobe DW, PS

Share This Page

Loading...