Links positioned on graphic background.  How?

I'm working my way through the Adobe Fireworks CS5 version of "Classroom in a Book" and I've come to an impasse.
I'm in Chapter 8, page 199, step #4; the task is to use the CSS and Images Export.  At this point we have a web page with seven distinct regions.  One of these is a slice, a navigation banner with a graphic background and text for navigation links.
The instructions in the book are to change the img_nav slice type to Background Image and to hide the sublayer containing the text for the links.  The book explains that "...since the slice will become a background image, it cannot have HTML links applied to it."
It goes on to say that "...creating the navigation is not a job for Fireworks, and the navigation menu would need to be created later in a web-page editor."
How?  The links are sort of in the middle of the graphic.  When I try to add links in Dreamweaver I don't seem to have much control over there placement.  It is either at the beginning of the div or the end. 
Can someone point me to a resource that explains how to place a link on top of a graphic where I want it?  Also, since I'm learning, I'd like to stick with Best Practices and use CSS while minimizing the use of tables.
Thanks,
Dan Earley

Perhaps it's time for you to purchase Dreamweaver CS5 "Classroom in a Book"!
I'm not directly familiar with this textbook... If the navigation is the blue text (Features - Fashion - Calendar - Video - Blog), it would typically be handled in HTML using an unordered list (ul), with each list item (li) containing a link (a) that surrounds the text itself. CSS would be used to position the navigation, perhaps applying display: inline or float: left to the list items (li) to make the list run horizontally. The list itself might be positioned within a surrounding div using margin or padding—or even using absolute positioning (in a relative context), given that there's probably a specific height to the background image (the "check" logo).
As far as links go, they're traditionally inline elements that wrap around other inline elements—like text within a paragraph or heading, or an image. However, I think as of HTML5, they're also allowed to be wrapped around multiple block-level elements. Regardless, the simplest way to add a link to an image is to surround the image (img) tag with a link (a) tag. However, like your book says, if an image is being applied via CSS as a background image, it cannot have a link applied to it, because it's not part of the HTML. But a background image must be applied to some HTML element, and perhaps the link could be applied to that element.
A link can also be converted to a block-level element via CSS using a display: block rule. This will make it occupy the full-width of its container, which can make it more "clickable" by giving it a larger area of interactivity.
Not sure if this information is helpful or not... I wonder if the book goes on to answer any of your questions later on. Often, these types of books complete a project step-by-step, chapter-by-chapter, eventually addressing issues brought up in earlier chapters.

Similar Messages

  • How to set Analysis graphics background color to Transparent? not White.

    How to set Analysis graphics background color to Transparent? not White.
    thanks
    Edited by: user13257485 on 2010-8-15 下午11:53
    Edited by: user13257485 on 2010-8-15 下午11:55

    Hi,
    We almost had the same requirement, but we just needed to color a specific column.
    Here goes the solution to that, you might do the same for your row highlighting
    Changes are required in jsff and one method to be added in backing bean
    1. JSFF :
    <af:column headerText="Amount"
                     id="c4" width="100"
                     inlineStyle="#{backingBeanScope.BackingBean.cellColor}">2. Backing Bean
    //searchResultTableVO is Table's VO
    public String getCellColor() {
          FacesContext ctx = FacesContext.getCurrentInstance();
          ExpressionFactory ef = ctx.getApplication().getExpressionFactory();
          ValueExpression ve = ef.createValueExpression(ctx.getELContext(), "#{row}", FacesCtrlHierNodeBinding.class);
          FacesCtrlHierNodeBinding node = (FacesCtrlHierNodeBinding)ve.getValue(ctx.getELContext());
          Row row = node.getRow();
        if(row.equals(searchResultTableVO.getCurrentRow())){
    //You can add your inline style for font-style too
          return "background-color:Red;";
             return null;
      }Hope this is helpful :)
    Regards,
    Neha..

  • How to link Positions to personnel No.s(urgent)

    Hi
    how to link Positions to Personnel No.s
    is there any program for that or can be done in IMG
    Thanks
    Arc

    Hi Archana,
    1. Create your own query with PCH logical database in SQ02, then execute that in SQ01.
    2. Yes, PP01, select the object and id, then select the infotype Object, then change the Date in the screen.
    3. Assigning a Holder to Position, if it is initial hiring use PA40 or use PA30 and select the Personnel no and select the IT0000 and record your datas through the Tcode SHDB for BDC. Then maintain your data in legacy and upload it using the BDC.
    4. No... It won't accept the employee to assign it to Position. Again use, BDC.
    I hope, you got a clear idea. Would you mind to reward it.
    Good Luck
    Om.

  • [JS] CS4 How to position a graphic within a Frame

    I have a JS script that I am converting from CS3 to CS4 and I am finding that the behaviour for positioning a graphic within a frame has changed.  I have code that sets the geometric bounds of a graphic to a negitave value within the frame, within CS3 this works great.  However using the same code on CS4 to set the geometric bounds does not produce the same result.  The graphic is always placed at 0,0 and it ignores the negitive top and left values supplied.
    Does anyone know what has changed with the geometric bounds of a graphic within a recrangle frame?  How would I set the position of the graphic within the frame since setting the geometric bounds does not seem to work any longer.
    Thanks,
    Sheldon

    I have yet to determine why the behavior is different from CS3 to CS4 and how to correct the positioning within CS4.  To help explain the problem further I have included a sample script which demonstrates the problem.  I have run the script on both CS3 and CS4 and included screen shots of the results when the resulting INDD file is opened.  Could someone help explain why the position of the image is wrong in CS4 and what I can do to correct the problem?
    Here is the sample script ...
    for(i=app.documents.count()-1;i>=0;i--){app.documents.item(i).close();}
    app.textPreferences.useOpticalSize = false;
    app.textPreferences.typographersQuotes = false;
    app.textImportPreferences.useTypographersQuotes = false;
    app.taggedTextImportPreferences.useTypographersQuotes = false;
    app.pasteboardPreferences.minimumSpaceAboveAndBelow = "300p";
    app.textFramePreferences.firstBaselineOffset = FirstBaseline.ascentOffset;
    app.colorSettings.cmsSettingsPath = File("C:\\etc\\Friesens_Yearbook_Custom_Color_Settings.csf");
    app.marginPreferences.top = '24pt';
    app.marginPreferences.bottom = '48pt';
    app.marginPreferences.left = '36pt';
    app.marginPreferences.right = '36pt';
    var doc = app.documents.add();
    doc.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.points;
    doc.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points;
    doc.documentPreferences.pageHeight = 792;
    doc.documentPreferences.pageWidth = 612;
    doc.documentPreferences.pageOrientation = PageOrientation.portrait;
    doc.documentPreferences.pagesPerDocument = 2;
    doc.documentPreferences.facingPages = true;
    doc.sections.firstItem().continueNumbering = false;
    doc.sections.firstItem().pageNumberStart = 2;
    var pg = doc.pages.item(0);
    var frm = pg.rectangles.add();
    frm.geometricBounds = ['200.5pt','200.2pt','447.8551pt','415.5206pt'];
    try{frm.place (File('c:\\test.jpg'), false);}catch(err){};
    if(frm.graphics.count() > 0) {frm.graphics.firstItem().geometricBounds = [frm.geometricBounds[0]-147, frm.geometricBounds[1]-49, 407.04+frm.geometricBounds[0]-147, 271.68+frm.geometricBounds[1]-49];};
    var objStyle = doc.objectStyles.add();
    objStyle.enableStroke= false;
    objStyle.transparencySettings.blendingSettings.opacity = 100;
    frm.applyObjectStyle(objStyle, true, true);
    frm.rotationAngle = 59;
    doc.label = '824203.indd';
    doc.packageForPrint('c:\\test\\824203\\', true, true, true, true, true, false, '', false, false);
    for(i=app.documents.count()-1;i>=0;i--){app.documents.item(i).close();}
    The line that I highlighted is the one that adjusts the images position within its frame.  It uses a formula to determine the exact position relative to the containing frames position.  This is why you will see the calculations to determine the geometric bounds.
    Here is the result of the script using InDesign Server CS3, notice the position of the image based on the 'Direct Selection Tool' highlight area (this is the desired result):
    And, here is the result after running the script against InDesign Server CS4:
    As you can see the Image is placed at the lot left corrner of the frame which is wrong.  Any insight into the diffrences in the behavior would be appreciated.
    Thanks

  • How to find out which documents are linked to a graphic

    We're in the process of cleaning up our network drive by moving relevant files to a new drive and deleting duplicate or other unnecessary files. We have a lot of files and it would not be practical to do this migration in mass so we would like to do it piecemeal, deleting files as they are migrated to the new drive.
    In the past, if a graphic file was used in multiple documents, we would link the documents to the graphic, wherever the graphic was first stored (which has cause many problems). Moving forward we want to keep all the graphic files with the document that uses them (even though that will create multiple copies of the same file).
    My concern is that a graphic file in one folder may be linked to multiple documents and if we delete that graphic, when it comes time to migrate the other linked documents, it will be cumbersome to track down the missing graphic.
    Does anyone know an easy way to identify all of the documents that are linked to a graphic? Is there a Where Used script for graphics or something?
    We are using FrameMaker 8 on Windows XP Professional.
    Thanks,
    Tim

    I know of a Perl script that separates used from unused graphics: http://members.shaw.ca/philip.sharman/graphix/graphix.htm
    You will also need a Perl environment.
    We've tested this script with Strawberry Perl: http://strawberryperl.com/
    It is working, but you need to map network drives. It doesn't work with UNC paths.
    HTH
    Susanne

  • Illustrator CC 2014 randomly loses ability to link/relink/place graphics

    I am helping troubleshoot a client that is having issues with Illustrator on her Mac (note: i am not an illustrator person, i am just assisting in troubleshooting)
    After opening certain .ai files, she is able to link/relink/place graphics several times with no issues, and then after a few times (ranges between 2-10 times), "Place" or "Re-link" stops bringing up the browse window again.
    On another file, one where the existing linked graphics (qty 5) were renamed, it asks to relink the first two and pops up the browse window, but on the third one, as soon as we click relink, it doesn't popup browse window, but opens the file with the remaining 3 graphics not showing up.  We can then try place/relink/etc and nothing happens.
    I have attempted uninstall/reinstall including removing the plugins folders and .plist files, removing recently-added fonts, clearing the font cache, disabling plugins, disabling extensions, but nothing appears to fix it.  Install is being run over creative cloud, which is configure to keep the app up-to-date, so my suspicion is that a recent OS X or CC update caused the issue, however the user couldn't pinpoint to me how long its been going on.  OS X is yosemite and is up to date.

    I cannot remember offhand, i do think it is.. however it does come up several times within an instance of the app being open, and then just stops.  I will check and give "list" a try when I can.

  • HT4059 The book I am reading has/had illustrations in it, which are marked as numbers surrounded by brackets.  I click on them but I cannot open the link to the illustration.  How do I open these?

    The book I am reading has/had illustrations in it, which are marked as numbers surrounded by brackets.  I click on them but I cannot open the link to the illustration.  How do I open these?

    The Safe Mac
    The Safe Mac » Adware Removal Guide Genieo
    Thomas Reed's Mac Malware Guide
    AdwareMedic
    Remove unwanted adware that displays pop-up ads and graphics on your Mac - Apple Support
    Mac Virus Malware Info
    MacBook Pro

  • Using the middle mouse button to open a link in a new background tab also reloads the current page.

    When I click on a link with the middle button to open the link in a new background tab, the original page reloads and my view jumps to the top each time.
    The new tab loads fine but in order to continue reading the original page I have to scroll down to where the link I clicked on is.
    If I right-click on the link and select "Open Link in New Tab" from the context menu then the behaviour is as expected -- does not reload the original page. The flaw only happens when using the convenient mouse shortcut.
    This is annoying, for example, on long Wikipedia articles where I want to open some of the cited pages in other tabs for reading later whilst I continue to read original article. I'm constantly having to find where I was in order to continue reading.
    I've observed this behaviour on both Windows XP and Ubuntu on various computers.
    [EDIT]: Better description of problem in title.

    I've never had that happen with Firefox 4 on WinXP. I haven't updated my Netbook that runs Ubuntu to Firefox 4 yet.
    1. Try disabling the Java Console 6.0.24 and the Java Quick Starter 1.0 extensions and see if that solves your middle-click problem.
    2. Try the Firefox SafeMode. <br />
    ''A troubleshooting mode, which disables most Add-ons.''
    ''(If you're not using it, switch to the Default Theme.)''
    # You can open the Firefox 4.0 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    # Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • Hello - downloading app problems - this phone can only be usedto download apps in uk or something - think i am linking to the us apps  - how do i link to the uk apps?

    hello - downloading app problems - this phone can only be usedto download apps in uk or something - think i am linking to the us apps  - how do i link to the uk apps?
    ta

    You're welocme
    Depending on the size of the app or the connection speed when using Wi-Fi it could take a little longer to download. You can also try to download it onto your computer, might be faster, and sync it to the phone after that.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • My mac book pro login screen background wont show and only shows a light white/blue as the background how do i fix it ?

    my mac book pro mountion lion system  login screen background wont show and only shows a light white/blue as the background how can i fix it ? i tried everything from loginox to onyx and it still wont solve the problem. instead of the default dark grey startup screen  the background is white with a blue tint to it. the only time that the default background shows is when i log off and relog in

    Welcome to the Apple Support Communities
    I think that your Mac detects your hard disk, but the problem is that your new hard disk doesn't contain any operating system, so your Mac doesn't find any bootable partition and you see a question mark.
    If your Mac came with DVDs, insert the Mac OS X Install DVD and hold the C key while your Mac is starting. Then, just install Mac OS X. If the hard disk isn't prepared to install Mac OS X, you will have to erase it using "Mac OS Extended (Journaled)". See > http://pondini.org/OSX/DU1.html

  • When I create a photo stream in ios6, everyone who is logged in to my iCloud account can see and edit my stream (on their iPhones only). Not just the email addressees that I sent the photo stream link to. Is that how photo stream security is meant to work

    When I create a photo stream in ios6, everyone who is logged in to my iCloud account can see and edit my stream (on their iPhones only). Not just the email addressees that I sent the photo stream link to. Is that how photo stream security is meant to work? Is so it means my whole family can see any photo stream I set up. Hence no security? Can't share the pics with the wife then :(

    The whole idea to an icloud account is that one user uses it and has all their devices synced together.  Different users need different Apple IDs to create their own icloud accounts.  Note that everyone can still use the same ID for an iTunes account (to share purchases).
    To create a new icloud account, go to
    http://www.apple.com/icloud/setup/

  • When i open iTunes i get this message "iTunes: iTunes.exe - Entry Point Not Found" "The procedure entry point RefAudioFileWritePackets could not be located in the dynamic link library CoreAudioToolbox.dll." how do i fix this!

    when i open iTunes i get this message "iTunes: iTunes.exe - Entry Point Not Found" "The procedure entry point RefAudioFileWritePackets could not be located in the dynamic link library CoreAudioToolbox.dll." how do i fix this!

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. Now head into your Uninstall a program control panel, select "Apple Application Support" and then click "Repair".
    Does iTunes launch properly now?
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post:
    Re: I recently updated to vista service pack 2 and I updated to itunes

  • I upgraded to v3.6.22 today and have lost the ability to ctrl-click a link to open the link in a new tab; how do I get this back?

    I upgraded to v3.6.22 today and have lost the ability to ctrl-click a link to open the link in a new tab; how do I get this back?

    Strangely enough, putting my laptop into Hibernate mode solved the problem. It didn't even take a reboot.
    Running Windows Vista Enterprise SP2.

  • I have the newest version of FF but every single page shows lines through ALL the links!!!! How can I get this turned off - so annoying! Might have to go back to IE :(

    Every single page I go to has lines through a link - what is causing this? I have Google Chrome and I do not have any problems with them! PLEASE HELP!!

    Sounds like an extension, theme, or style
    Are you sure it is all links as opposed to only visited, no-follow links, or unvisited links
    http://www.lancelhoff.com/how-to-detect-relnofollow-using-firefox/
    Some searches to check out with Google to help you identify the culprit
    site:userstyles.org/styles/ -inurl:browse links strike OR strike-out OR cross-out
    site:addons.mozilla.com -inurl:collection links strike OR strike-out OR cross-out
    another reason might be that Mozilla and Google use colors that make
    marking links as visited/unvisited difficult to see.
    Consider Styles that you can turn on.off via "Stylish" extension
    * Stylish :: Add-ons for Firefox<br>https://addons.mozilla.org/firefox/addon/stylish/
    * No Follow links, mouseover id of other links (DM*) - userstyles.org<br>http://userstyles.org/styles/10987/no-follow-links-mouseover-id-of-other-links-dm
    * Red: Mark visited links as read on unruly domains - Themes and Skins for Mozilla - userstyles.org<br>http://userstyles.org/styles/16842/red-mark-visited-links-as-read-on-unruly-domains
    * Red:visited -- Mark visited links Red (*DM) - userstyles.org<br>http://userstyles.org/styles/17357/red-visited-mark-visited-links-red-dm
    Color not related to links
    * Bookmarks Toolbar Blue/Folders, Red/Bookmarks - Themes and Skins for Browser - userstyles.org<br>http://userstyles.org/styles/9091/bookmarks-toolbar-blue-folders-red-bookmarks
    * Tab Color Underscoring active/read/unread - Themes and Skins for Browser - userstyles.org<br>http://userstyles.org/styles/9023/tab-color-underscoring-active-read-unread

  • My iphone is linked to my husbands ipad how do i separate them

    my iphone is linked to my husbands ipad how do i separate them

    Hi ksg1314!
    Log in to different Apple ID and change iCloud account too.
    To do that:
    Go to Settings App.
    Tap on iCloud.
    Scroll down and select Delete Account.
    To Delete Apple ID Account:
    Go to Settings App.
    Tap on iTunes & App Store.
    Tap on Apple ID: (Your email)
    Select Sign Out.
    Remember that Doing these steps will NOT delete His Accounts, but only log You out from them.

Maybe you are looking for