SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    cite element support

    Is Internet Exploder the only browser that does not support the use of <blockquote>'s cite and the corresponding blockquote[cite] css?
    Aaron Brazell
    Technosailor



  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    since blockquote[cite] is CSS2 (attribute-based selector: you're asking to style any blockquote with a "cite" attribute), I'd have to say no. IE/Windows and IE/Mac wouldn't support it. You can always give those another class if you really need the IE support.

    Edit:


    If you want to get a <cite> tag that's inside of a <blockquote>, use
    Code:
    blockquote cite {
    /*rules here*/
    }

  3. #3
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well, I am sorta making a crossbrowser library/php function for my CMS that does the sort of thing vb code does. Only I'm building for the standards and trying to keep things modularized for easy maintenance....geez, nevermind. What I just said has nothing to do with the topic here and, although I could draw my point out of it it would take too much energy and would require....erm, communication skills. So I'll just say thanks and adieu.

    /tips hat
    Aaron Brazell
    Technosailor



  4. #4
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)


    Oh well, if you need any more help let me know

  5. #5
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    oh reading back I think you misunderstood me. I meant to be able to stylize this...
    Code:
    <blockquote cite="A Wise Man">
    Aaron Brazell
    Technosailor



  6. #6
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    My first post explains that. If you want to get all <blockquote>s with a cite attribute, you'd have to use
    Code:
    blockquote[cite] {
    /*rules*/
    }
    However, since that is some pretty advanced CSS2, IE/Windows won't support it (IE5/Mac doesn't even support that type of selection if I remember correctly). If you want the IE to render those like Mozilla or Opera would if you used blockquote[cite], you'd have to make all of our blockquote[cite] elements into a certain class and style based on that class, like so:
    Code:
    blockquote.cited {
      color: red;
    }
    HTML Code:
    <blockquote cite="Sketch" class="cited">
    Unfortunately, it's the only way to get the same look in IE as you would in other browsers using blockquote[cite].


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
  •