Everybody! This is important. In a few days, these forums will be moving over to using the totally sweet Discourse platform. To ensure this migration happens smoothly with no loss of content, these forums are currently in a read-only mode. I do apologize for the inconvenience.

There is never a good time to turn the forums off for an extended period of time, but I promise the new forums will be a billion times better. I'm pretty sure of it.

See you all on the other side in a few days, and if you have any (non-technical) questions, please e-mail me at kirupa@kirupa.com. For technical questions, try to find a tutorial that corresponds to what you are looking for and post in the comments section of that page.

Cheers,
Kirupa

Results 1 to 11 of 11

Thread: div and p class text display

  1. #1
    brndn's Avatar
    1,096
    posts
    has cme t snuf da rooster

    div and p class text display

    here is my problem. I have a div class that contains text.
    for some reason my pclass style wont alter the text.

    any suggestions?

    the css wont affect the text??

    thanks anyone



    <td colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
    <!--DWLayoutTable-->

    <div class="crumb">
    <p class="brdcrumb">
    <a href="/">Home</a> &gt; <a href="/policies/">Play Pages</a> &gt; <a href="/policies/page.stm">page</a></p>
    <tr>
    <td width="401" height="29"></div>
    </table>
    </td>

  2. #2
    show your css code

  3. #3
    brndn's Avatar
    1,096
    posts
    has cme t snuf da rooster
    .brdcrumb {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: normal;
    text-transform: uppercase;
    color: #003333;
    border: none;
    }

  4. #4
    what DOCTYPE are you using?

  5. #5
    brndn's Avatar
    1,096
    posts
    has cme t snuf da rooster
    a file called intranet.css

    it is imported into the html file????

    why do you ask?

  6. #6
    no, i'm asking what DOCTYPE. the DOCTYPE is located at the beginning of the html file. for instance, view this page's source and look at the first line.

    // i just capitalize DOCTYPE b/c it's just standard practice. i'm not shouting it.

  7. #7
    brndn's Avatar
    1,096
    posts
    has cme t snuf da rooster
    sorry if i gave you the wrong impression, i was just curious, i have not played with css before and thought that there could be a simple fault in my file type.

    thanks for your help though i have managed to locate the problem.

    regards brndn

  8. #8
    so what did you to do fix it?

  9. #9
    frustrating isn't it.
    If you notice this notice you will notice that this notice is not worth noticing.

    "Are you doing anything tonight? If not, how about me?"

    Opera Sucks! - FIX IT
    Oliver Zheng

  10. #10
    p.brdcrumb {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: normal;
    text-transform: uppercase;
    color: #003333;
    border: none;
    }


    should work.

    as long as you link to it correctly.

    <link rel="stylesheet" type="text/css"
    href="stylesheet.css">

    for an external stylesheet in the same folder as your page.

    if its in the head, add <style></style> either side of the styling code.
    'Disk 1 of 1.' That means there's another one around here somewhere.

  11. #11
    Oh those links in the paragraph..links should have special classes assigned or selectors defined in the css , they are not treated as text (in what regards color and text-decoration).

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
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012