CSS experts, please show me what I'm missing... [SOLVED]

I want to know how Firefox knows the difference between certain code surrounding Arch's stuff. For instance, the time and date stamp above every post here. This is an example:
<h2><span><span class="conr">#1 </span><a href="viewtopic.php?pid=674509#p674509">2009-12-19 12:26:19</a></span></h2>
and from the wiki:
<a name="Getting_Started" id="Getting_Started"></a><h2> <span class="mw-headline"><a href="/index.php/Getting_Started" title="Getting Started">Getting Started</a></span></h2>
Both of these pick up on the h2 settings I have in a CSS file that I'm putting together:
h1,h2 {
font-family:"DejaVu Sans" !important;
font-weight:bold !important;
font-size:14px !important;
Firefox doesn't apply the bold settings to the first example but does to the second. This is exactly what I want. If I add another entry:
h2 span {
font-family:"DejaVu Sans" !important;
font-weight:normal !important;
font-size:13px !important;
Then the bold goes off on both of them. I want a generic CSS file that has the time and date normal and the wiki entries bold. Firefox does this automatically. What am I missing?
... be back in 20 hours ...

Mh, I'm sure you know about the tree structure of HTML. Please excuse if tell you things you already know, but allow me to talk about how CSS rules are applied.
<h2>
<span>
<span class="conr">#1 </span>
<a href="viewtopic.php?pid=674509#p674509">2009-12-19 12:26:19</a>
</span>
</h2>
What CSS does is applying the CSS rules for each element/selector. This means first it will apply the rules for h2, then the rules for span and at last the rules for the class conr or the element a respectively. If any properties already exists, they will be overwritten when applying the rules of a more specific element. If multiple rules apply (for instance multiple classes with conflicting properties), the !important will help the browser to decide which rule to apply.
In your case I guess that there are rules for the class conr or the span element which conflict with your desired setting. Since you only change the rules for h2, the rules of those more inner elements/attributes take precedence.

Similar Messages

  • HT200126 My kid played with the update on my Apple TV. Now it can't play anymore. There is an image on the scrren showing needing connectiong to iTunes. Please show me what to do next. Thanks.

    My kid played with the update on my Apple TV. Now it can't play anymore. There is an image on the scrren showing needing connectiong to iTunes. Please show me what to do next. Thanks.

    Plug the Apple TV into your computer and do a restore if it doesn't happen automatically.

  • I have downloaded Photoshop Elements and all went well.  When I went to open, it opens fine but is unreadable.  I have a Mac and my flash player is up to date.  Can you please tell me what I am missing?

    I have downloaded Photoshop Elements and all went well.  When I went to open, it opens but the content is unreadable.  I have a Mac and my flash player is up to date.  Can you please tell me what I am missing?
    Thanks,
    Nikki

    I did try to uninstall and reinstall.  It messed up my computer.  I had to "RESTORE" from the prior days backup.  This was not helpful at all.  I'm used to losing all my stuff when I connect to iTunes, that's a whole other issue, but now I'm completely banned from any updates to my phone at all.  Geeze.......

  • Please show me what to do per the security upgrades re firefox and ie7

    Hi, I didn't know where else to post this. I am just a home user. I have both Firefox 3.0 and Internet Explorer 7. I have windows premium home VISTA.
    I recieved the notice (portion below) and the instructions at sun links contained do not give directions which show explicitly what to do regarding each as pertains to BOTH firefox and ie7 browsers, at least in the first one which is all I read and then I registered here for help.
    It mentions firefox then shows nothing in what to do for firefox in the first one.
    So, can someone please give me step by step on each line item link; what to do to protect my system as regards this latest security notice?
    The links are below this text, and I just need a walk thru how to protect my sys as regards the below security notices; exactly what to do for both ie7 and firefox, and my windows is VISTA. Thanks so very much!
    I am just a home user with no idea about java as well new to firefox (i use both browsers) as well.
    Again, thank you..
    US-CERT encourages users to review the following Sun Alerts and applyany necessary updates:
    * Sun Alert 238628 - Security Vulnerabilities in the Java RuntimeEnvironment related to the processing of XML Data
    * Sun Alert 238666 - A Security Vulnerability with the processing offonts in the Java Runtime Environment may allow Elevation ofPrivileges
    * Sun Alert 238687 - Security Vulnerabilities in the Java RuntimeEnvironment Scripting Language Support
    * Sun Alert 238905 - Multiple Security Vulnerabilities in Java WebStart may allow Privileges to be Elevated* Sun Alert 238965 - Security Vulnerability in Java ManagementExtensions (JMX)
    * Sun Alert 238966 - Security Vulnerability in JDK/JRE Secure StaticVersioning
    * Sun Alert 238967 - Security Vulnerability in the Java RuntimeEnvironment Virtual Machine may allow an untrusted Application orApplet to Elevate Privileges
    * Sun Alert 238968 - Security Vulnerabilities in the Java RuntimeEnvironment may allow Same Origin
    Policy to be Bypassed US-CERT will provide additional information as it becomes available.
    Relevant Url(s):
    <http://sunsolve.sun.com/search/document.do?assetkey=1-66-238968-1> <http://sunsolve.sun.com/search/document.do?assetkey=1-66-238967-1> <http://sunsolve.sun.com/search/document.do?assetkey=1-66-238628-1> <http://sunsolve.sun.com/search/document.do?assetkey=1-66-238687-1> <http://sunsolve.sun.com/search/document.do?assetkey=1-66-238966-1> <http://sunsolve.sun.com/search/document.do?assetkey=1-66-238905-1> <http://sunsolve.sun.com/search/document.do?assetkey=1-66-238965-1> <http://sunsolve.sun.com/search/document.do?assetkey=1-66-238666-1>
    Edited by: rachael35 on Jul 10, 2008 10:10 AM

    JoachimSauer wrote:
    From a quick glance it seems like a list of vulnerabilities fixed in the latest Java releases.
    Just make sure that you've got the latest version of any Java Runtime Environment that you have.
    So if you've got Java 6, make sure it's Update 7.
    If you've got Java 5, make sure it's Update 16.
    You should get the updates automatically, if you don't want to wait for that, just go to [http://www.java.com/] and follow the instructions.
    If you've got any earlier versions, get rid of them ;-)Hi, thanks for replying,
    I am trying to understand what I need to do. In the first link in the vulnerabiliity list, the link by sun, when go in there, speaks of uninstalling which brings me here:
    http://java.com/en/download/help/uninstall_java.xml
    Please note that the uninstall at that page does not include VISTA.
    I have Vista
    Is there another link for uninstalling JAVA which works on Vista?
    Thanks!
    Edited by: rachael35 on Jul 10, 2008 11:20 AM

  • HT201272 I can't get the purchased list to show audiobooks...help..only music and regular books show up, what am I missing?

    I can't seem to find my purchased audibooks to reload after losing the.  Can someone help?

    You cannot redownload audiobooks.
    As always, it is your responsiblity to backup your content.

  • Booting without initrd - what am I missing [solved]

    Can one use the contents of the system's kernel.img to determine exactly what needs to be built into the kernel to avoid booting with the initrd image, and boot to the kernel directly?
    For example, initially, I found 5 modules in the image:
    bsdtar -t -f /boot/kernel26-ck.img | grep ko
    /lib/modules/2.6.39-ck/kernel/drivers/scsi/scsi_mod.ko.gz
    /lib/modules/2.6.39-ck/kernel/drivers/ata/libata.ko.gz
    /lib/modules/2.6.39-ck/kernel/drivers/ata/libahci.ko.gz
    /lib/modules/2.6.39-ck/kernel/drivers/ata/ahci.ko.gz
    /lib/modules/2.6.39-ck/kernel/drivers/scsi/sd_mod.ko.gz
    I have since added them to the kernel.  After recompiling, I don't see any modules in my kernel26-ck.img at all, yet when I attempt to boot commenting out the initrd line in grub2, I keep getting this damn error, "VFS: unable to mount root fs on unknown block (0,0)" followed by a kernel panic.
    Advice is welcomed!
    $ bsdtar -t -f /boot/kernel26-ck.img
    /proc
    /sys
    /dev
    /bin
    /sbin
    /lib
    /usr
    /usr/bin
    /usr/lib
    /usr/sbin
    /run
    /dev/null
    /dev/zero
    /dev/console
    /dev/mem
    /bin/busybox
    /lib/libc.so.6
    /lib/libc-2.13.so
    /lib/ld-linux-x86-64.so.2
    /lib/ld-2.13.so
    /sbin/modprobe
    /sbin/blkid
    /lib/libblkid.so.1
    /lib/libblkid.so.1.1.0
    /lib/libuuid.so.1
    /lib/libuuid.so.1.3.0
    /init_functions
    /init
    /config
    /etc
    /etc/modprobe.d
    /etc/modprobe.d/usb-load-ehci-first.conf
    /sbin/udevd
    /lib/librt.so.1
    /lib/librt-2.13.so
    /lib/libpthread.so.0
    /lib/libpthread-2.13.so
    /sbin/udevadm
    /lib/udev
    /lib/udev/rules.d
    /lib/udev/rules.d/50-firmware.rules
    /lib/udev/rules.d/50-udev-default.rules
    /lib/udev/rules.d/60-persistent-storage.rules
    /lib/udev/rules.d/80-drivers.rules
    /lib/udev/firmware
    /lib/udev/ata_id
    /lib/udev/path_id
    /lib/udev/scsi_id
    /lib/udev/usb_id
    /lib/udev/load-modules.sh
    /etc/udev
    /etc/udev/udev.conf
    /hooks
    /hooks/udev
    Here is my grub line:
    menuentry 'Arch Linux, with Linux vmlinuz26-ck' --class archlinux --class gnu-linux --class gnu --class os {
    load_video
    insmod part_gpt
    insmod ext2
    set root='(hd0,gpt5)'
    search --no-floppy --fs-uuid --set=root 0fc7ed20-0b1e-4e26-860c-6e63dd3a35ea
    echo 'Loading Linux vmlinuz26-ck ...'
    linux /vmlinuz26-ck root=/dev/disk/by-uuid/6f90540d-6153-48e3-a5e7-58f09b65c5cf ro
    Last edited by graysky (2011-06-11 11:12:30)

    @bang - yes.
    EDIT: I found out my problem: grub2 uses uuids that are different from what is listed in ls -l /dev/disk/by-uuid/  Is this a bug in upstream?  If I replace the uuid that grub2 generated for my root disk with /dev/sdb1 I boot just fine.
    EDIT2: When I inspect my /boot/grub/grub.cfg the uuids listed there are correct, however, when I read the error message grub2 gives, every uuid it shows as a "correct" one is different from the output of ls -l /dev/disk/by-uuid/.
    VFS: Cannot open root device "disk/by-uuid/xxx"
    Please append a correct "root=" boot optionl here are the available partitions:
    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    WTF?
    Last edited by graysky (2011-06-11 10:50:31)

  • HT1222 There is error showing while updating my iPad 2 software to IOS 6.1. Please suggest me what should I do?

    There is error showing while updating my iPad 2 software to IOS 6.1. Please suggest me what should I do?

    You need to tell exactly what is happening. What does the error say?

  • Mac pro running OS 10.5.8 won't boot. Apple logo and spinning wheel shows then Apple logo turns into Forbidden signage while spinning wheel continue. It happenened right after I installed a firmware. Had to restart.Please help. What can I do?

    Mac pro running OS 10.5.8 won't boot. Apple logo and spinning wheel shows then Apple logo turns into Forbidden signage while spinning wheel continue. It happenened right after I installed a firmware. Had to restart.Please help. What can I do?

    Work through the suggestions in this article:
    Mac OS X: Gray screen appears during startup

  • Hello, I have try to install Snow Leopard but when I am checking the section"about this computer" is show me the same soft OS x 10.5.8. Is it that normal or it must appear a different soft there. Please also advice what to do, because I have tried twice.

    Hello, I have try to install Snow Leopard but when I checking the section"about this computer" is show me the same soft OS x 10.5.8. Is it that normal or it must appear a different soft there. Please also advice what to do, because I have tried twice.
    Thanks

    These places,
    MacBook Pro
    https://discussions.apple.com/community/notebooks/macbook_pro
    https://discussions.apple.com/community/mac_os?view=discussions 
    http://www.apple.com/support/macbookpro
    You need to buy 10.6.x DVD or flash drive (w/ Lion or Mountain Lion).
    Check Apple Store or call.

  • Printer connected to airport express...shows up on iMac but doesn't on my ipad 2.  What am I missing, please?

    printer connected to airport express...shows up and prints on iMac but the printer doesn't show up on my ipad 2 when I try to print.  What am I missing, please?

    Take a look at Printopia to see if it will do what you want.
    There is a free trial, so you will know if it works before you buy. More info:
    Printopia - Ecamm Network

  • I want to purchase from within the game and show me what is the solution of this letter: Please advise and thank you (Your purchase could not be completed. For assistance, contact itunes support at)

    I want to purchase from within the game and show me what is the solution of this letter: Please advise and thank you (Your purchase could not be completed. For assistance, contact itunes support at)

    You need to click here and ask the iTunes Store staff for assistance.
    (100508)

  • When I am trying to create an organization in HRMS, and clicking on Type field, it is showing me "Frm-41830: List of values contains no entries". Please suggest me what is the solution

    When I am trying to create an organization in HRMS, and clicking on Type field, it is showing me "Frm-41830: List of values contains no entries". Please suggest me what is the solution

    Hi,
    Type is one part of Org creation....
    Optionally, select an organization type in the Type field.
    Organization types do not classify your organization, you use them for reporting purposes only. The type may identify the function an organization performs, such as Administration or Service, or the level of each organization in your enterprise, such as Division, Department or Cost Center. You create the organization types you require by entering values for the Lookup Type ORG_TYPE.
    Regards:
    Shahzad M. Saleem (mark this answer as helpful if it helps u)

  • I bought an iphone 5 from one of my friends and unluckily I had yet lost his contact, I had update this iphone to IOs 7 and now it's be locked at iCloud because there was no password . Actually I dont know what I must do for its. Experts, please help me!

    I bought an iphone 5 from one of my friends and unluckily I had yet lost his contact, I had update this iphone to IOs 7 and now it's be locked at iCloud because there was no password . Actually I dont know what I must do for its. Experts, please help me!

    The friend who sold it to you needed to clear his Apple ID off the phone before he sold it to you. Of course if it wasn't his phone in the first place then he could not do so. He is your friend but you don't know where he is?
    There is nothing that will help you short of getting the password for the Apple ID from your friend. If you cannot obtain that there is no workaround.

  • After downloading mavericks, my MacBook Air is not opening. Stays in gray with Apple showing. What i can do please?

    After downloading mavericks, my MacBook Air is not opening. Stays in gray with Apple showing. What i can do please?

    Try this troubleshooting advice
    http://support.apple.com/kb/TS2570

  • What are the pinouts of the SH68-68-EP cable (picture please) showing shielded pairs and shield connections.

    What are the pinouts of the SH68-68-EP cable (picture please) showing shielded pairs and shield connections.

    you can find the pinout in the manual of that product in which that cable used or for specific device for which sh68-68-ep built for.otherwise see differents catalogas on www.ni.com and search for this.
    thanks

Maybe you are looking for

  • HP Envy trackpad issues

    Hi, I hope this problem can be fixed without having to return my laptop. I bought an HP Envy about a week ago and I've been having issues with the touchpad/trackpad or whatever you'd like to call it. My product number is E1P04AAR. The touchpad just s

  • What should i do if my ipod says it is disabled connect to itunes but my computer has broke

    what should i do

  • Remove XML Prefix in SOAP Sender Adapter

    Hi I am using a SOAP sender adapter and testing it from SOAP UI. The format that is generated from the web service is <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">    <soapenv:Body>       <sap:SALES_ORDER xmlns:sap="htt

  • How to completely remove mysql [underlying issue solved]

    I am setting up a new system with egroupware.  Mysql started doing weird things, so I decided to remove it and reinstall it.  However, I cannot figure out how to get everything (databases, everything) off the system. When I run pacman -R mysql, I get

  • OBIEE11g - LDAP configuration

    Hi Experts, I am looking an good article or example to configure the LDAP server configure ( to create an provider and configure the LDAP server configure) in OBIEE11g. There are few round about articles, but I am interested to providing corporate LD