SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict gthorley's Avatar
    Join Date
    Oct 2000
    Location
    Canada
    Posts
    392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was trying to set font size for all the image titles on a gallery page but can't figure out how to make it apply to all at a time. Individually no problem but there must be a quick way to set all.

    ie: image names and " Mouse click image for larger view" on the following site page but not the main title and any of the menu.

    http://www.artbyjudy.com/florals.html

  2. #2
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well you're right..using css...
    depending on where your text lands up..say <td> or <div>

    you do this:

    body, td, div { font-family : Verdana, Arial; font-size : 10pt; }

    you could add this to an external css stylesheet. thereafter, for the page you're opening up to display the enlarged image, be sue t include the code to link to your external stylesheet.

    the code would be:

    Code:
    <link rel="stylesheet" type="text/css" href="style.css">
    assuming your stylesheet is named: style.css
    "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
    -- Albert Einstein


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
  •