SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Member
    Join Date
    Oct 2002
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Arrow Macromedia Dreamweaver Questions

    I am new to Dreamweaver, I have been working in Microsoft FrontPage for years and I have a couple questions:

    1.) What is the easiest way to deal with font sizes? In FrontPage I was able to achieve a nice small, but readable, size at 8pt. In Dreamweaver, sizes 1 and 2 are as close as I can get, but neither are the same size. What's more, size 8pt in Dreamweaver seems to be different from size 8pt in FrontPage.

    How can I achieve the FontPage 8pt fontsize in Dreamweaver?

    2.) How can I specifically state the spacing around a paragraph? I want to space or indent an entire paragraph within a cell. I could use the text indent button in the properties box, but it indents too far for me. I just want to indent the paragraph 10 pixels from both the right and left edges of the cell. How could I accomplish this?

    Any help you can give me would be greatly appreciated.

  2. #2
    Sultan of Ping jofa's Avatar
    Join Date
    Mar 2002
    Location
    SvÝ■jˇ­
    Posts
    4,080
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is how it worked in DW 3 (haven't used DW in a while )

    Window | CSS Styles (F7), New Style
    Edit the properties in the Type and Box categories

    (Some properties are marked *, indicates DW can't display them - you have to use "preview in browser")

    Example:
    Code:
    <html>
      <head>
        <style type="text/css">
          p.someclassname 
          {  
            padding-right: 10px; 
            padding-left: 10px; 
            font-family: Verdana, Arial, Helvetica, sans-serif;
            font-size: 8pt;
          }
        </style>
      </head>
      <body>
        <p>This is some text with default style</p>
        <p class="someclassname">This is some text with my style</p>
      </body>
    </html>
    Last edited by jofa; Oct 5, 2002 at 06:53.

  3. #3
    SitePoint Addict fdeaton's Avatar
    Join Date
    Mar 2002
    Location
    Huntsville, Alabama
    Posts
    249
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up

    Yeah, CSS is the way to go. I am just now becoming comfortable with it and all of its power.

  4. #4
    SitePoint Member
    Join Date
    Apr 2002
    Location
    Amman, Jordan
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you can also write "8pt" in the font size box>>>instead of choosing the size from the list
    i guess it will work!

  5. #5
    SitePoint Member
    Join Date
    Oct 2002
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thank you, one last question...

    Thank you. I was able to fix both problems. I have one last question, how can you apply a CSS to just one specific part of a webpage? Such as positioning just one paragraph out of many or applying rollover attributes to only certain hyperlinks while leaving the others with different rollover styles? In general, how can you apply a CSS without allowing it to take affect over the entire page?

  6. #6
    Sultan of Ping jofa's Avatar
    Join Date
    Mar 2002
    Location
    SvÝ■jˇ­
    Posts
    4,080
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)


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
  •