Scale simple rectangle with .css on hover

Good evening dear members,
I uploaded you a sample project to illustrate the problem. (Dropbox - Example.zip)
Over all I only want to resize a rectangle with a hover effect. However, the problem arises that the size of the rectangle with scale = 1 changes?!
I create a rectangle "button" and give the "button" as mouseout-action the following code:
var object = sym $ ("button").
rescale = 1;
object.css ('transform', 'scale (' + rescale + ')');
object.css ('o-transform', 'scale (' + rescale + ')');
object.css ('- ms-transform', 'scale (' + rescale + ')');
object.css ('- webkit-transform', 'scale (' + rescale + ')');
object.css ('- moz-transform', 'scale (' + rescale + ')');
object.css ('- o-transform', 'scale (' + rescale + ')');
object.css ('z-index', '1');
I don´t understand why the rectangle is changing!
Maybe you can explain it to me :-)
Best regards and many thanks
Marc

It shouldn't get smaller, in fact at a value of 1, it should not change at all because 1 equates to 100% of the original.
Change the value to a higher number, like 2, for example. Which says 'transform to 200% of the original'.
var object = sym.$("button");
rescale= 2;
object.css({
            'transform': 'scale(' + rescale + ')',
            '-ms-transform': 'scale(' + rescale + ')',
            '-moz-transform': 'scale(' + rescale + ')',
            '-webkit-transform': 'scale(' + rescale + ')',
            '-o-transform': 'scale(' + rescale + ')',
            'z-index':'1'
To get a better understanding of how the values work and there equivalents.
- Select any element on your Stage;
- Then toy with the Transform property (see capture);
- as captured a transform at 167% equates to a value of 1.67
hth
Darrell

Similar Messages

  • I want to draw rounded rectangle with dashed border

    Hello,
    I am working on flex 4.5 air 2.7 . And i want to draw rounded rectangle which has dashed border or solid border as per user's selection. Also rectangle can be rounded or simple. I am able to draw simple rectangle with dashed border. I want a solution for rounded rectangle.
    If anyone have any idea then post as soon as possible..
    Thanks
    Dhwani

    Good day!
    Could you please post a screenshot with the Layers Panel visible?
    Is the iten by any chance a Shape Layer and therefore does have a Vector Mask?
    Regards,
    Pfaffenbichler

  • Trying to do this cool hover effect with CSS only...

    I've got 'img' thumbnails that are sometimes positioned
    absolutely,
    sometimes relatively, but aren't individually contained in
    anything, like so
    <a href="#">
    <img src="image1.png" width="100" height="150" border="0"
    class="tn" />
    </a>
    <a href="#">
    <img src="image2.png" width="100" height="150" border="0"
    class="tn" />
    </a>
    Now, I've already brought up the limitations of PNG on IE
    (namely, even if
    you "fix" PNG support on IE, IE will flatten your alpha
    channels and strip
    the individual pixels' transparency levels before overriding
    them with a
    single common attribute). This limitation makes it impossible
    for me to do a
    simple 90%-to-100% hover effect to "highlight" the thumbnail
    on mouseover.
    Micha recommended placing normal a highlighted versions of
    the same
    thumbnail inside and outside the viewport, and swapping them
    on mouseover.
    However, that would double the amount of image data being
    sent to the user.
    So what I thought to do, instead, is superpose a standalone
    PNG of a small
    spotlight, OVER the original thumbnail, on hover. Because it
    would be the
    same PNG being superposed over each thumb being hovered over,
    the amount of
    image data being sent to the user wouldn't be all that
    different.
    Would I need javascript for this, or can it be done with CSS
    only?
    Again, it would be the same spotlight.png file being
    superposed on images on
    mouseover, and it wouldn't be a big deal if the image bled
    over surrounding
    images (it would actually make it look more real).
    Thanks.

    say wha???
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:[email protected]...
    > Nobody can disagree with that analysis, but a LOADING
    page would do
    nothing
    > to help with this, doncha know?
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    > ==================
    >
    >
    > "Nancy O" <[email protected]> wrote in
    message
    > news:[email protected]...
    > > Sprite images are a tad smaller in filesize than
    the sum of their
    > > individual
    > > parts. As you say, Murray, it's marginal. But the
    real *efficiency*
    > > comes
    > > from fewer server requests to load multiple images.
    Once the sprite has
    > > loaded, there is no perceivable delay on hover - as
    there often is with
    > > conventional image swapping. Finally, since the
    substitution effect is
    > > pure
    > > CSS, there's no need for JavaScripts which can add
    weight to a page.
    > >
    > >
    > > --Nancy O.
    > > Alt-Web Design & Publishing
    > > www.alt-web.com
    > >
    > >
    > > "Murray *ACE*"
    <[email protected]> wrote in message
    > > news:[email protected]...
    > >> By their nature, sprites are larger
    dimensionally than the individual
    > >> images, so the savings would be marginal, I
    think. What I mean by that
    > >> is
    > > a
    > >> simple rollover sprite would be the same size
    as the combined up and
    over
    > >> images, placed adjacent to each other, no?
    > >>
    > >> --
    > >> Murray --- ICQ 71997575
    > >> Adobe Community Expert
    > >> (If you *MUST* email me, don't LAUGH when you
    do so!)
    > >> ==================
    > >>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    > >>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    > >> ==================
    > >>
    > >>
    > >> "Nancy O" <[email protected]>
    wrote in message
    > >> news:[email protected]...
    > >> >< Micha recommended placing normal &
    highlighted versions of the same
    > >> > thumbnail inside and outside the viewport,
    and swapping them on
    > > mouseover.
    > >> > However, that would double the amount of
    image data being sent to the
    > >> > user.>
    > >> >
    > >> > Not if you use a sprite. Have a look at
    this CSS Sprite Demo.
    > >> >
    http://alt-web.com/CSS-Sprite-Demo.html
    > >> >
    > >> >
    > >> > --Nancy O.
    > >> > Alt-Web Design & Publishing
    > >> > www.alt-web.com
    > >> >
    > >> >
    > >> >
    > >> > "Mike" <[email protected]> wrote in
    message
    > >> > news:[email protected]...
    > >> >> I've got 'img' thumbnails that are
    sometimes positioned absolutely,
    > >> >> sometimes relatively, but aren't
    individually contained in anything,
    > > like
    > >> > so
    > >> >> :
    > >> >>
    > >> >> <a href="#">
    > >> >> <img src="image1.png" width="100"
    height="150" border="0"
    class="tn"
    > > />
    > >> >> </a>
    > >> >> <a href="#">
    > >> >> <img src="image2.png" width="100"
    height="150" border="0"
    class="tn"
    > > />
    > >> >> </a>
    > >> >>
    > >> >> Now, I've already brought up the
    limitations of PNG on IE (namely,
    > >> >> even
    > >> >> if
    > >> >> you "fix" PNG support on IE, IE will
    flatten your alpha channels and
    > >> >> strip
    > >> >> the individual pixels' transparency
    levels before overriding them
    with
    > > a
    > >> >> single common attribute). This
    limitation makes it impossible for me
    > >> >> to
    > >> >> do
    > >> > a
    > >> >> simple 90%-to-100% hover effect to
    "highlight" the thumbnail on
    > >> >> mouseover.
    > >> >>
    > >> >> Micha recommended placing normal a
    highlighted versions of the same
    > >> >> thumbnail inside and outside the
    viewport, and swapping them on
    > >> >> mouseover.
    > >> >> However, that would double the amount
    of image data being sent to
    the
    > >> > user.
    > >> >>
    > >> >> So what I thought to do, instead, is
    superpose a standalone PNG of a
    > >> >> small
    > >> >> spotlight, OVER the original
    thumbnail, on hover. Because it would
    be
    > > the
    > >> >> same PNG being superposed over each
    thumb being hovered over, the
    > > amount
    > >> > of
    > >> >> image data being sent to the user
    wouldn't be all that different.
    > >> >>
    > >> >> Would I need javascript for this, or
    can it be done with CSS only?
    > >> >>
    > >> >> Again, it would be the same
    spotlight.png file being superposed on
    > > images
    > >> > on
    > >> >> mouseover, and it wouldn't be a big
    deal if the image bled over
    > >> > surrounding
    > >> >> images (it would actually make it look
    more real).
    > >> >>
    > >> >> Thanks.
    > >> >>
    > >> >>
    > >> >
    > >> >
    > >>
    > >
    > >
    >

  • Help! Ai CC - Can't see transform arrows and arrow for rotating when i work with simple rectangle!

    I can't do simple transform with with shapes. Like in this video: Adobe Illustrator CC 2014: "Live Shapes" N.S.L: WEEK 155 - YouTube

    Be,
    I am afraid you are actually facing the Live Rectangle bug which is limited to the MAC versions starting with 10.7 and 10.8, but not 10.9 (Mavericks) or 10.10 (Yosemite). Hopefully, the bug will be fixed soon.
    So a switch to Mavericks or Yosemite with a reinstallation might be the way to solve it here and now.
    To get round it in each case, it is possible to Expand the Live Rectangles to get normal old fashioned rectangles, or to Pathfinder>Unite, or to use the Scale Tool or the Free Transform Tool.
    A more permanent way round that is to create normal old fashioned rectangles, after running the free script created by Pawel, see this thread with download link:
    https://forums.adobe.com/thread/1587587
    If neither this nor the Bounding Box (nor the Edges for some things), then it may be time for the list.
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    If possible/applicable, you should save curent artwork first, of course.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to at least 5 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • Content Search Web Part with Hover Panel - Problem with positioning with css

    Hi guys!
    I´m having trouble with positioning the hover panel for the Content Search Web Part.
    I used
    this article to help me with luck as far as to the positioning. I´ve tried some inline styling but maybe my knowledge in css is no good enough here.
    Here´s a screenshot from how this looks like. The hover panel generates a gap between the result items, the same height as the hover panel:

    Hi Victoria!
    No the gap comes without any inline css added from me. I´ve tried some inline styling, like z-index and position.
    So, any ideas are welcome.
    Here´s how my Display Template looks like:
    <html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
    <head>
    <title>RC Customer Documents</title>
    <!--[if gte mso 9]><xml>
    <mso:CustomDocumentProperties>
    <mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden>
    <mso:ManagedPropertyMapping msdt:dt="string">&#39;Link URL&#39;{Link URL}:&#39;Path&#39;,&#39;Line 1&#39;{Line 1}:&#39;Title&#39;,&#39;Line 2&#39;{Line 2}:&#39;&#39;,&#39;FileExtension&#39;,&#39;SecondaryFileExtension&#39;</mso:ManagedPropertyMapping>
    <mso:MasterPageDescription msdt:dt="string">This Item Display Template will show a preview and properties for Record Center Customer Documents</mso:MasterPageDescription>
    <mso:ContentTypeId msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:ContentTypeId>
    <mso:TargetControlType msdt:dt="string">;#SearchResults;#Content Web Parts;#</mso:TargetControlType>
    <mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
    <mso:HtmlDesignConversionSucceeded msdt:dt="string">True</mso:HtmlDesignConversionSucceeded>
    <mso:HtmlDesignStatusAndPreview msdt:dt="string">http://d-records.isbank.is/rc/search/_catalogs/masterpage/Display Templates/Content Web Parts/_isb_record_center/tutorial/RC_CustomerDocuments.html, Conversion successful.</mso:HtmlDesignStatusAndPreview>
    <mso:CrawlerXSLFile msdt:dt="string"></mso:CrawlerXSLFile>
    <mso:HtmlDesignPreviewUrl msdt:dt="string"></mso:HtmlDesignPreviewUrl>
    </mso:CustomDocumentProperties>
    </xml><![endif]-->
    </head>
    <body>
    <!--
    Warning: Do not try to add HTML to this section. Only the contents of the first <div>
    inside the <body> tag will be used while executing Display Template code. Any HTML that
    you add to this section will NOT become part of your Display Template.
    -->
    <script>
    $includeLanguageScript(this.url, "~sitecollection/_catalogs/masterpage/Display Templates/Language Files/{Locale}/CustomStrings.js");
    </script>
    <!--
    Use the div below to author your Display Template. Here are some things to keep in mind:
    * Surround any JavaScript logic as shown below using a "pound underscore" (#_ ... _#) token
    inside a comment.
    * Use the values assigned to your variables using an "underscore pound equals"
    (_#= ... =#_) token.
    -->
    <div id="RC_CustomerDocuments">
    <!--#_
    var id = ctx.ClientControl.get_nextUniqueId();
    var itemId = id + Srch.U.Ids.item;
    var hoverId = id + Srch.U.Ids.hover;
    var hoverUrl = "~sitecollection/_catalogs/masterpage/Display Templates/Content Web Parts/_isb_record_center/tutorial/Item_RC_CustomerDocuments_HoverPanel.js";
    $setResultItem(itemId, ctx.CurrentItem);
    ctx.currentItem_ShowHoverPanelCallback = Srch.U.getShowHoverPanelCallback(itemId, hoverId, hoverUrl);
    ctx.currentItem_HideHoverPanelCallback = Srch.U.getHideHoverPanelCallback();
    var encodedId = $htmlEncode(ctx.ClientControl.get_nextUniqueId() + "_2lines_");
    var linkURL = $getItemValue(ctx, "Link URL");
    linkURL.overrideValueRenderer($urlHtmlEncode);
    var iconURL = Srch.ContentBySearch.getIconSourceFromItem(ctx.CurrentItem);
    var line1 = $getItemValue(ctx, "Line 1");
    var line2 = $getItemValue(ctx, "Line 2");
    line1.overrideValueRenderer($contentLineText);
    line2.overrideValueRenderer($contentLineText);
    var containerId = encodedId + "container";
    var pictureLinkId = encodedId + "pictureLink";
    var pictureId = encodedId + "picture";
    var dataContainerId = encodedId + "dataContainer";
    var line1LinkId = encodedId + "line1Link";
    var line1Id = encodedId + "line1";
    var line2Id = encodedId + "line2";
    _#-->
    <div class="cbs-Item" name="Item" id="_#= $htmlEncode(itemId) =#_" data-displaytemplate="RC_CustomerDocuments" onmouseover="_#= ctx.currentItem_ShowHoverPanelCallback =#_" onmouseout="_#= ctx.currentItem_HideHoverPanelCallback =#_">
    <div id="wrapper">
    <div id="_#= $htmlEncode(hoverId) =#_" ></div>
    </div>
    <a class="cbs-ItemLink" title="_#= $htmlEncode(line1.defaultValueRenderer(line1)) =#_" id="_#= pictureLinkId =#_">
    <img class="cbs-Thumbnail" src="_#= $urlHtmlEncode(iconURL) =#_" alt="_#= $htmlEncode(line1.defaultValueRenderer(line1)) =#_" id="_#= pictureId =#_" />
    </a>
    <div class="cbs-Detail" id="_#= dataContainerId =#_">
    <a class="cbs-Line1Link ms-noWrap ms-displayBlock" href="_#= linkURL =#_" title="_#= $htmlEncode(line1.defaultValueRenderer(line1)) =#_" id="_#= line1LinkId =#_">_#= line1 =#_</a>
    <!--#_
    if(!line2.isEmpty)
    _#-->
    <div class="cbs-Line2 ms-noWrap" title="_#= $htmlEncode(line2.defaultValueRenderer(line2)) =#_" id="_#= line2Id =#_">_#= line2 =#_</div>
    <!--#_
    _#-->
    </div>
    </div>
    </div>
    </body>
    </html>
    And here´s the hover panel:
    <html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
    <head>
    <title>RC Customer Documents Hover Panel</title>
    <!--[if gte mso 9]><xml>
    <mso:CustomDocumentProperties>
    <mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden>
    <mso:MasterPageDescription msdt:dt="string">Displays a result hover panel tailored for a Portable Document Format (PDF) document.</mso:MasterPageDescription>
    <mso:ContentTypeId msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:ContentTypeId>
    <mso:TargetControlType msdt:dt="string">;#SearchHoverPanel;#</mso:TargetControlType>
    <mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
    <mso:ManagedPropertyMapping msdt:dt="string">&#39;Title&#39;:&#39;Title&#39;,&#39;Path&#39;:&#39;Path&#39;,&#39;Description&#39;:&#39;Description&#39;,&#39;EditorOWSUSER&#39;:&#39;EditorOWSUSER&#39;,&#39;LastModifiedTime&#39;:&#39;LastModifiedTime&#39;,&#39;CollapsingStatus&#39;:&#39;CollapsingStatus&#39;,&#39;DocId&#39;:&#39;DocId&#39;,&#39;HitHighlightedSummary&#39;:&#39;HitHighlightedSummary&#39;,&#39;HitHighlightedProperties&#39;:&#39;HitHighlightedProperties&#39;,&#39;FileExtension&#39;:&#39;FileExtension&#39;,&#39;ViewsLifeTime&#39;:&#39;ViewsLifeTime&#39;,&#39;ParentLink&#39;:&#39;ParentLink&#39;,&#39;FileType&#39;:&#39;FileType&#39;,&#39;IsContainer&#39;:&#39;IsContainer&#39;,&#39;SecondaryFileExtension&#39;:&#39;SecondaryFileExtension&#39;,&#39;DisplayAuthor&#39;:&#39;DisplayAuthor&#39;,&#39;ServerRedirectedURL&#39;:&#39;ServerRedirectedURL&#39;</mso:ManagedPropertyMapping>
    <mso:HtmlDesignConversionSucceeded msdt:dt="string">True</mso:HtmlDesignConversionSucceeded>
    <mso:HtmlDesignStatusAndPreview msdt:dt="string">http://d-records.isbank.is/rc/search/_catalogs/masterpage/Display%20Templates/Content%20Web%20Parts/_isb_record_center/tutorial/Item_RC_CustomerDocuments_HoverPanel.html, Conversion successful.</mso:HtmlDesignStatusAndPreview>
    <mso:CrawlerXSLFile msdt:dt="string"></mso:CrawlerXSLFile>
    <mso:HtmlDesignPreviewUrl msdt:dt="string"></mso:HtmlDesignPreviewUrl>
    </mso:CustomDocumentProperties>
    </xml><![endif]-->
    </head>
    <body>
    <div id="Item_RC_CustomerDocuments_HoverPanel">
    <!--#_
    var i = 0;
    var id = ctx.CurrentItem.csr_id;
    ctx.CurrentItem.csr_ShowFollowLink = true;
    ctx.CurrentItem.csr_ShowViewLibrary = true;
    ctx.currentItem_ShowChangedBySnippet = true;
    _#-->
    <div class="ms-srch-hover-innerContainer ms-srch-hover-standardSize" id="_#= $htmlEncode(id + HP.ids.inner) =#_">
    <div class="ms-srch-hover-arrowBorder" id="_#= $htmlEncode(id + HP.ids.arrowBorder) =#_"></div>
    <div class="ms-srch-hover-arrow" id="_#= $htmlEncode(id + HP.ids.arrow) =#_"></div>
    <div class="ms-srch-hover-content" id="_#= $htmlEncode(id + HP.ids.content) =#_" data-displaytemplate="RCCustomerDocumentsHoverPanel">
    <div id="_#= $htmlEncode(id + HP.ids.header) =#_" class="ms-srch-hover-header">
    _#= ctx.RenderHeader(ctx) =#_
    </div>
    <div id="_#= $htmlEncode(id + HP.ids.body) =#_" class="ms-srch-hover-body">
    _#= ctx.RenderBody(ctx) =#_
    </div>
    <div id="_#= $htmlEncode(id + HP.ids.actions) =#_" class="ms-srch-hover-actions">
    _#= ctx.RenderFooter(ctx) =#_
    </div>
    </div>
    </div>
    </div>
    </body>
    </html>
    Thnx :)

  • How to Trim Rectangle with text to create reflection?

    Hello Everyone,
    I am realtively new to Illustrator and I am facing a problem that I am hoping some expert here can resolve. I have some text and I have converted it to outlines. Now I want to create shine on it. I want to fill a rectangle with white color and then clip it with text to give reflection effect but I can't figure out how to do it. I have selected my text and rectangle and tried all options in path finder tool but nothing seems to work. Please guide me how can this be done.
    Regards,
    Afraz Ali

    Afraz Ali,
    If you want to have the colour/colours/colour transition of the rectangle where the text is is nothing outside it, in other words colour the text with the colouring of the rectangle, you may:
    Use Live Type over the rectangle, select both, and Object>Clipping Mask>Make.
    With outlined type, you have to turn the lettershapes into a Compound Shape first.
    As you can see, it is simpler to just use Live Type, and it is editable.

  • Using templates with css in mx

    Hi,
    I'm sure I'm being stupid but it's driving me insane - I'm
    weaning myself off table based layout and using css (for the first
    time) in mx. I'm (finally) happy with my stylesheet and how it's
    all looking but can't seem to use css with a template - when I save
    the page as a template and preview the style sheet does not seem to
    be attached.
    Any help MUCH appreciated,
    Katy

    > Good to know about mx as I was thinking about upgrading
    to 8 - does it
    > make
    > like easier with css?
    Very definitely!
    Good grief - your stylesheet is ... big. Usually so many
    custom classes
    mean that the stylesheet is WAY overengineered.....
    I'll take a look though.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "katyoj" <[email protected]> wrote in
    message
    news:[email protected]...
    > Thanks -
    >
    > I've uploaded it here :
    >
    >
    >
    http://kateortonjohnson.bulldoghome.com/pages/kateortonjohnson_bulldoghome_com/i
    > ndex.html
    > & have attached the style sheet to the message
    >
    > Good to know about mx as I was thinking about upgrading
    to 8 - does it
    > make
    > like easier with css?
    >
    > Anyway thanks again
    >
    > Kate
    >
    > /* CSS Document */
    >
    > BODY {
    > margin:0px;
    > padding:0px;
    > font-family: arial, helvetica, sans-serif;
    > font-size: 11px;
    > color: #000;
    > background: #FFF;
    > }
    >
    > /* Link properties */
    >
    > A:link {
    > color: #333;
    > text-decoration: none;
    >
    > }
    >
    > A:visited {
    > color: #913c87;
    > text-decoration: none;
    >
    > }
    >
    > A:active {
    > color: #913c87;
    > text-decoration: none;
    >
    > }
    >
    > A:hover {
    > color: #913c87;
    > text-decoration: none;
    >
    > }
    >
    > /* Main text headings */
    >
    > h1
    > {font-family: tahoma, Arial, Helvetica, sans-serif;
    > font-size:11px;
    > color:#333;
    > text-decoration:none;
    > font-weight:bold;
    > margin:3px 5px 5px 3px;}
    >
    > h2
    > {font-family: tahoma, Arial, Helvetica,
    sans-serif;font-size:11px;
    > color:#154669;
    > text-decoration:none;
    > font-weight:bold;
    > margin:0px 5px 5px 3px;
    > padding:5px 0px 0px 5px;}
    >
    > h3
    > {font-family: tahoma, Arial, Helvetica, sans-serif;
    > font-size:11px;
    > color:#525E6A;
    > text-decoration:none;
    > font-weight:bold;
    > margin:5px 5px 5px 3px;
    > text-align:right;
    > }
    >
    > /* Footer text */
    >
    > .footertext {
    > font-family: tahoma, Arial, Helvetica, sans-serif;
    > margin:0px;padding:15px 0px 5px 0px;
    > font-size:10px;
    > color:#666;
    > }
    >
    > /* Titles */
    >
    > .t3 {
    > font-family:tahoma, Arial, Helvetica, sans-serif;
    > font-size:20px;
    > color:#154669;
    > text-decoration:none;
    > font-weight:bold;
    > }
    > .t2 {
    > font-family: tahoma, Arial, Helvetica, sans-serif;
    > font-size:14px;
    > color:#96968A;
    > text-decoration:none;
    > font-weight:bold;
    > }
    >
    > /* Main body */
    >
    > .maincontent {
    > border-top-style
    otted;
    > border-top-width:1px;
    > border-top-color:#989898;
    > margin:3px 10px 30px 0px;
    > padding:0px 10px 5px 10px;
    > font-family: arial, helvetica, sans-serif;
    > font-size: 11px;
    > color:#333;
    >
    > } .maincontent img {float:left;margin:5px 5px 5px 0px;}
    >
    > .maincontent2 {
    > border-top-style
    otted;
    > border-top-width:1px;
    > border-top-color:#989898;
    > margin:3px 220px 0px 0px;
    > padding:0px 10px 5px 10px;
    > font-family: arial, helvetica, sans-serif;
    > font-size: 11px;
    > color:#333;
    > }
    >
    > .maincontent2 img {float:right;margin:5px 0px 5px 5px;}
    >
    > .lwrap {
    > width:182px;
    > margin-top:15px;
    > margin-bottom:0px;
    > margin-right:auto;
    > margin-left:auto;
    > padding:0px;
    > }
    >
    >
    > /* Left content */
    >
    > .lcontent {
    > border-left-style:solid;
    > border-left-color:#C5C5C5;
    > border-left-width:5px;
    > width:172px;
    > margin:0px 0px 0px 0px;
    > font-family: Arial, Helvetica,
    sans-serif;font-size:11px;
    > color:#666666;
    > text-decoration:none;
    > text-align:left;
    > font-weight:normal;
    > padding:5px 3px 10px 5px;
    > background-color: #EEE;
    > }
    >
    > .leftshadow {
    > width:182px;
    > height:6px;
    > padding:0px;
    > margin-top:0px;
    >
    > }
    > .leftshadow img {padding:0px;margin:0px;float:right;}
    >
    > .separator {
    > border-top-width:1px;
    > border-top-style
    otted;
    > border-top-color:#989898;
    > margin-right:5px;
    > margin-left:5px;
    > margin-top:10px;
    > }
    >
    > /* News boxes */
    >
    > .newsheader{
    > background-image:url(images/left_subh.gif);
    > background-position:top;
    > background-repeat:no-repeat;
    > width:182px;
    > margin-left:auto; margin-right:auto;
    margin-top:15px;margin-bottom:0px;
    > height:17px;
    > text-align:right;
    > padding:1px 5px 0px 0px;
    > font-family: tahoma, Arial, Helvetica,
    sans-serif;font-size:10px;
    > color:#333;
    > font-weight:bold;
    > }
    > .newscell{
    > background-color:#EEE;
    > width:182px;
    > margin-left:auto; margin-right:auto;
    margin-top:-1px;margin-bottom:0px;
    > min-height:30px;
    > font-family: Arial, Helvetica, sans-serif;
    > font-size:11px;
    > color:#666;
    >
    > }
    >
    > .newscell p {padding:5px 5px 15px 10px;margin-top:0px;}
    >
    > /* Right content */
    >
    > .rcontent {
    > background-color:#EEE;
    > width:168px;
    > margin-left:auto;
    > margin-right:auto;
    > border-left-style:solid;
    > border-left-width:5px;
    > border-left-color:#C5C5C5;
    > min-height:30px;
    > margin-top:18px; margin-bottom:0px;
    > font-family: tahoma, Arial, Helvetica, sans-serif;
    > font-size:10px;
    > color:#666;
    > padding:5px 3px 10px 5px;
    > text-align: left;
    > }
    >
    > .rightshadow {
    > text-align:right;
    > width:168px;
    > height:7px;
    > padding:0px;
    > margin-top:0px;
    > margin-bottom:15px;
    > float:right;
    > }
    > .rightshadow img {padding:0px;margin:0px;float:right;}
    >
    > /* Bullet list */
    >
    > ul {
    > list-style-image:url(images/bullet.gif);
    > list-style-type:none;
    > }
    >
    > p img {margin-left:5px;}
    >
    >
    > #wrap{
    > margin:0px;
    > padding:0px;
    > width:100%;
    > }
    >
    > /* Header section */
    >
    > #header{
    >
    > background:#EEE;
    > margin:0px 0px 0px 0px;
    > font-size: 11px;
    > font-family : Verdana, Arial, Helvetica, sans-serif;
    > color : #000000;
    > border-bottom: solid #C5C5C5;
    > }
    >
    > /* Top navigation */
    >
    > #topnav ul
    > {
    > padding-left: 0;
    > margin-left: 5px;
    > margin:0px 0px 0px 0px;
    > background-color: #913c87;
    > color: White;
    > float: left;
    > width: 100%;
    > font-family: arial, helvetica, sans-serif;
    > font-size: 11px;
    > font-weight: bold;
    > height: 18px;
    > }
    >
    > #topnav ul li { display: inline; }
    >
    > #topnav ul li a
    > {
    > padding: 0.2em 1em;
    > background-color: #913c87;
    > color: White;
    > text-decoration: none;
    > float: left;
    > border-right: 1px solid #EEE;
    > }
    >
    > #topnav ul li a:hover
    > {
    > background-color: #C5C5C5;
    > color: #fff;
    > }
    >
    >
    > /* Left positioning */
    >
    > #left {
    > width:191px;
    > margin:0px 0px 10px 0px;
    > padding:0px 0px 20px 0px;
    > background-color:#EBE8DE;
    > border-right-width:3px;
    > border-bottom-width:3px;
    > border-left-width:5px;
    > border-top-width:0px;
    > border-style:solid;
    > border-right-color:#EFEEEE;
    > border-bottom-color:#EFEEEE;
    > border-left-color:#fff;
    > float:left;
    > min-height:15px;}
    >
    > /* Right positioning */
    >
    > #right {
    > margin-left:196px;
    > background-color:#fff;
    > min-height:30px;
    > text-align:left;
    > padding:10px 10px 15px 15px;
    > min-width:560px;
    >
    > }
    >
    > /* Footer positioning */
    >
    > #footer {
    > background-image:url(images/footer2.gif);
    > height:55px;
    > margin:0px 0px 0px 0px;padding:0px;
    > width:100%;
    > min-width:760px;
    > overflow:hidden;
    > clear:both;
    > }
    >
    > #footer img {padding:0px;margin:0px;float:left;}
    >
    > #footer a {
    > text-decoration:none;}
    >
    > /* Right positioning */
    >
    > #rightcol {
    > width:180px;
    > float:right;
    > min-height:30px;
    > background-color:#fff;
    > margin:0px 0px 0px 20px;
    > padding:0px;
    > text-align:center;
    > }
    > /** BOX3 */
    >
    > #box3 {
    > clear: both;
    > margin-top: 20px;
    > padding: 10px 0px;
    > }
    >
    > #box3A {
    > float: left;
    > width: 200px;
    > padding: 0px 13px 0px 43px;
    > background: url(/csstemplatetts/images/homepage20.gif)
    repeat-y right
    > top;
    > }
    >
    > #box3B {
    > float: left;
    > width: 200px;
    > padding: 0px 50px 0px 11px;
    > }
    >
    > #stretch {width:760px;height:1px;clear:both;margin:0px
    0px 10px
    > 0px;padding:0px;}
    >

  • Help with CSS image Gallery

    Found this simple css image gallery. However I'm having trouble adjusting it do my needs. I ideally want to make each small image slightly bigger than currently and have 3 or 4 on each line. Also want to make the enlarged image bigger. The width would need to be around 550px.
    <style type="text/css">
    * This notice MUST stay intact for legal use.
    * This script was created for FREE CSS Menus.
    * Visit: www.freecssmenus.co.uk for more CSS.
    * Also visit our Free online menu creator.
    /* credits: www.freecssmenus.co.uk */
    #pg { width:390px;
    height:200px;
    border:2px dotted #666;
    padding:5px;
    padding-top:15px;
    #pg ul { list-style:none;
      padding:0;
      margin:0;
      width:180px;
      position:relative;
      float:left;
    #pg ul li { display:inline;
      width:52px;
      height:52px;
      float:left;
      margin:0 0 8px 8px;
    #pg ul li a { display:block;
      width:50px;
      height:50px;
      text-decoration:none;
      border:1px solid #000;
    #pg ul li a img { display:block;
      width:50px;
      height:50px;
      border:0;
    #pg ul li a:hover { white-space:normal;
      border-color:#336600;
    background-color:#AABB33;
    #pg ul li a:hover img { position:absolute;
      left:190px;
    top:0;
      width:auto;
      height:110px;
      border:1px solid #000;
    #pg ul li a span {display:none}
    #pg ul li a:hover span { display:block;
    position:absolute;
      left:5px;
      top:130px;
      width:350px;
      height:auto;
    font-size:12px;
    color:#999999;
    </style>
    html
    <div id="pg">
      <ul>
      <li>
    <a href="css_rollover_uk_map.php">
    <img src="upimage/ukmap345.jpg" alt="Css Rollover Map" />
    <span>
    <strong>
    CSS Map.</strong>
    CSS Image swap on rollover/hover. This simple display of CSS shows the versatility of Cascading Style Sheets. Remember this animation is 100% User Accessible.</span>
    </a>
    </li>
      <li>
    <a href="big_css_button.php">
    <img src="upimage/bigbutton1390.jpg" alt="Large Css Button" />
    <span>
    <strong>
    CSS Big Button.</strong>
    Css buttons can be as large and as extravagant as you like. Using one image you can create simple css buttons like this. This button is still a hyperlink not just an image.</span>
    </a>
    </li>
      <li>
    <a href="menu_opacity.php">
    <img src="upimage/003opacity639.jpg" alt="Css Opacity" />
    <span>
    <strong>
    CSS Opacity Menu.</strong>
      you can use styles to change the opacity of an image. This creates interesting effects when creating a menu. </span>
    </a>
    </li>
      <li>
    <a href="#">
    <img src="upimage/freemusic885.jpg" alt="Free Mp3 Downloads: Unborn Records" />
    <span>
    <strong>
    Unborn Records </strong>
    Download free mp3 music for your ipod or mp3 player. Download free music from unsigned artists</span>
    </a>
    </li>
      <li>
    <a href="#">
    <img src="upimage/trix363.jpg" alt="Visit Trix the dog at www.catandtwodogs.co.u" />
    <span>
    <strong>
    Cat And Two Dogs </strong>
    Visit my three pets at www.catandtwodogs.co.uk . This is a picture of trix, he's a border collie.</span>
    </a>
    </li>
      <li>
    <a href="#">
    <img src="upimage/colours238.jpg" alt="A picture of colours in a swirl" />
    <span>
    <strong>
    A swirl of colours. </strong>
    This is just a picture of colours in a swirl effect.</span>
    </a>
    </li>
      </ul>
    </div>

    Sorry can't do this at the moment.
    I've decided to switch to the JQuery Lightbox Image Gallery instead. In IE8 I get the following message:
    Message: Script error
    Line: 0
    Char: 0
    Code: 0
    URI: file:///C:/Documents%20and%20Settings/User/My%20Documents/SRC12-13/all%20html%205/all%20ht ml%205/Simple-HTML-5-Template/Simple%20HTML%205%20Template/js/jquery.lightbox-0.5.min.js
    My page works and my js is refenced correctly. Not sure if this is just a IE8 thing, or whether the page needs uploading to work correctly. Works fine in Chrome.
    Wonder if there is a way to fix this?

  • Importing HTML with CSS in Flash

    I've tried all the tutorials, searched the web for tuts,
    downloaded files and I am still not getting it. So this is what I
    want to do:
    First the names:
    Dynamic text field name: htmwelcome
    HTML file name: welcome.html
    CSS file name: style1.css
    How should the code read to have
    welcome.html load into the dynamic text field
    htmwelcome with CSS style sheet
    style1.css.
    What modifications should be made to
    welcome.html so that the coding does not appear.
    Hope this makes it simple. Be nice if they had a tut that
    started with the names outlined at the beginning then how the code
    should be written and why.

    Have a look at these example files. Its not a tutorial, but it should get you started.
    http://www.ddg-designs.com/downloads/importedTextwithCss.zip

  • How can I control the FAQ title with CSS when using the Ajax effect

    I am calling the FAQ module with the Ajax effect.
    I would like to set different states with CSS to the title;
    I have tried to use :hover, :active and :focus on the div.
    It would be nice with a different styling when the item is "open"
    (I know there is a problem with the stacking, but I posted that in another thread)
    link

    Hi
    There is one thing You might miss in iDVD - So do I - the ability to re-arrange in the DVD map (block diagram)
    The order things will be pplayed or addrssed is same as the order each item is introduced into iDVD.
    To my knowledge ther is no way around this.
    Yours Bengt W

  • Can't reshape rectangle with the "Selection Tool"

    Hi,
    After updating Illustrator CC 2014 to the newest versions I can't reshape rectangles with the "Selection Tool".
    Is this a new feature where you have to go to: "Shape > Expand rectangle" to be able to reshape it?
    -C

    ristogoertz,
    I am afraid you have come across the Live Rectangle bug which is limited to the MAC versions starting with 10.7 and 10.8, but not 10.9 (Mavericks).
    So a switch to Mavericks with a reinstallation might be the way to solve it here and now.
    To get round it in each case, it is possible to Expand the Live Rectangles to get normal old fashioned rectangles, or to Pathfinder>Unite, or to use the Scale Tool.
    A more permanent way round that is to create normal old fashioned rectangles, after running the free script created by Pawel, see this thread with download link:
    https://forums.adobe.com/thread/1587587

  • How reset the FF default zoom from 120% to 100% with CSS or javascript tips ?

    Hi,
    I webdesigner/frontend developper.
    I make responsive website.
    I m working on W7 with Chromium but I want to come back to Firefox for my default web browser.
    BUT... with a default installation of W7 and FF, I see my websites with a default level zoom (120%). So two BIG problem :
    - images are pixelated
    - responsive breakpoints are false (1280 breakpoint with hover effect become 1024 - tablet lanscape - without hover effect).
    See example : http://caleis.fr/FFzoom.jpg
    I want to resolve this problem for all users visit my websites, without FF addon or other FF settings.
    Do you have an answer with CSS for example ?
    Thanks.

    Sorry but I'm looking for a solution for all user, not with any plugin.
    Ideally :
    body {
    -moz-zoom:1;
    But this prefix do not exist.
    Or with text-adjust CSS arrtibute...

  • Do do you use lightbox with CSS rollovers?

    Hi,
    I want to use lightbox with CSS rollovers. I can implement it ok with a sinlge thumbnail but I can't get it to work using the rollovers?
    I want the tumbnail image to be tinted, then when you hover over it it goes to the normal colour image (I have done this and its fine).
    But when I try to activate the lightbox through the rollover it doesn't work.
    Can anyone help please?
    Not too advanced here...lol!
    Regards,
    Martin

    Short answer:  Yes, it is possible.
    See this link for a working demo:
    http://alt-web.com/GALLERY/Photo_Gallery.html
    For better answers, you'll need to post a link to your page.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • CSS menu hover state

    Hi, I'm trying to get to grips with CSS and would like to
    create a menu system that in hover state shows different copy for
    each menu link.
    So far I've managed to achieve this by linking an image to
    the a:hover state but I need the copy to be different for each menu
    item and I'd like to make it vector text not image.
    Can this be done?
    My attempt so far;
    http://www.ad-one.co.uk/test/index4.htm
    Thanks
    Chris

    Check out this page
    http://www.divahtml.com/products/divaGPS/current_menu_location.php
    Tun Tun bags of fun skrev:
    > Hi, I'm trying to get to grips with CSS and would like
    to create a menu system
    > that in hover state shows different copy for each menu
    link.
    >
    > So far I've managed to achieve this by linking an image
    to the a:hover state
    > but I need the copy to be different for each menu item
    and I'd like to make it
    > vector text not image.
    >
    > Can this be done?
    >
    > My attempt so far;
    >
    http://www.ad-one.co.uk/test/index4.htm
    >
    > Thanks
    >
    > Chris
    >
    >
    Kim
    http://www.geekministry.com

  • Problem importing .PSD to Fireworks and Exporting to .HTM with CSS

    Hi!
    Ok, I've watched 3 differerent adobe tutorial videos about opening a .PSD file in Fireworks and ultimately exporting from Fireworks to an HTML file with CSS for use in Dreamweaver.  It seems so easy.  I have a very simple PSD.  Basically a solid color header with two images on it plus some text which will eventually be a nav menu.  Then I have about 500 px of blank space underneath where I will eventually place a flash SWF.  Finally, I have a text footer made up of 6 individual text boxes that will also serve as nav links.
    When I export, the top portion looks fine, however my text boxes at the bottom end up all over the place and one even loses the "style" formatting.
    What am I doing wrong?  In the videos, it appears text simply stays text during the export and stays where it was on the page.  I don't know why mine is going everywhere.
    Any ideas would be so much appriciated...thx!!!

    I prefer to work in Photoshop.  I never use Fireworks.  But I know many people who prefer Fireworks.  So pick your favorite graphics editor and stick with it. PSD is not a Fireworks file type thus some things may get lost in translation particularly if they reside in layers on a CMYK project file.  Graphics for the web need to be saved as RGB.
    More importantly, graphics editors shouldn't be used to generate quality code.  Use your graphics editor to make your design comp, slice and optimize images (File > save for web).  Use DW to build your HTML & CSS code.   DW will do many things for you, but for best results you'll need a working knowledge of HTML and CSS otherwise you'll become very frustrated.
    Start here:
    HTML & CSS Tutorials - http://w3schools.com/
    Then work your way through this tutorial.
    Taking  a Fireworks (or Photoshop) comp to a CSS based layout in DW
    http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt1.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

Maybe you are looking for

  • S_ALR_87003642 FI Periods, request, current settings

    Hi all, I have a little trouble. After support-packages the system need a request to open and close FI periods with tcode S_ALR_87003642. I've checked the system and I have not found that the current settings in tcode SOBJ por object V_T001B was chan

  • Powerbook 15" w/ Tiger won't read Maxtor One Touch II External Hard Drive

    Hi all: For some reason my G4 Powerbook can't recognize my Maxtor One Touch II external hard drive. I am trying to find a firewire cable that fits, as the Maxtor just gave me a USB and says that the cable won't work with mac. I am trying to find a ca

  • SSL certificates and/ or Oracle Certificate Authority

    Our Oracle infrastructure is as follows: 1.Database server (a)Oracle 9i R2 database (b) Oracle ApEx 2.2 2. Infrastructure server (a) Oracle 10g (9.0.4.x.x) Infrastructure (b) OID - configured as external authentication to Microsoft 2003 Active Direct

  • Please help me with a simple flash game problem

    I am trying to learn how to make flash games with Adobe flash 5.5. I am doing a tutorial from a book and am stuck. The game is called concentration and you are suppose to match 2 tiles of the same shape. there are 10 shape tiles and 1 question mark t

  • Bump on my macbook air

    I have a (little) bump on my MacBook Air, there are white marks on the aluminum next to the bump and the bump is not depressed but elevated. Do you think that Apple's warranty can repair it? My Macbook is always protected by a case + shell and it nev