Doing the simple things in DW - or not?  Like repeating an image...

I often use Dreamweaver to create code for SharePoint.  Nothing fancy, but for example if I need to create a layout for a SP site, I do it in DW CS4 and then paste it into SP as a web content box.  It works well for me.
But one of the things I've never understood about DW (and I'm by no means an expert with it) - why am I constantly forced to go to the web and look for code to do specific functions, and then tweak this code I find at a tutorial in DW in order to achieve the result I'm looking for?  For example, see the image below:
I've created a little 7x7 line image that I want to repeat horizontally.  Now, you'd think, with all of the menus and sub-menus that DW has, there'd be a way for me to select the image and easily tell it to repeat x.  As far as I know, there's no way to do this in DW.
So then I go to the internet and Google "how to repeat an image horizontally."  I copy and paste the repeat code and then it works.
Surely there has to be a way for DW to do this.  Or not?  Please advise.

Hmm, I'm not sure I agree with you.  I was able to figure this out.  At first I looked up repeating an image in a table but that would have been a style (like you mentioned) and it would not have worked because in SharePoint, you can't put a style in a web content field.
So then I came across a DIV style, but luckily, you can put this in the body, which should work in SP.  So I tried it and it does seem to work.  Here's a snapshot:
Here's also a snapshot of the code:
More importantly, though, it would be nice if DW would do this for me automatically but I think that would be asking a software program to do too much.  That's one reason why I'm starting to like Adobe Muse more and more because you don't have to keep looking for code to accomplish "simple" coding tasks like this.  If I could have done this in Muse, then I'd have inserted the line, told it to repeat, and it would have created the code for me.
Anyway, thanks for your assistance on this.
Deaf Guy

Similar Messages

  • My Macbook Air is stopping a few seconds into videos (e.g. Youtube and BBC iPlayer) and is doing the same thing with PDF downloads not

    My Macbook Air is stopping a few seconds into videos (e.g. Youtube and BBC iPlayer) and is doing the same thing with PDF downloads which are only partially downloading then stopping. I changed some security settings yesterday but don't think I touched anything else. Can anyone help?

    My Macbook Air is stopping a few seconds into videos (e.g. Youtube and BBC iPlayer) and is doing the same thing with PDF downloads which are only partially downloading then stopping. I changed some security settings yesterday but don't think I touched anything else. Can anyone help?

  • JPA does the right thing for select but not for update

    Hi,
    I'm struggling a bit with my first JSF application: at the moment on the persistence. I am using classes generated by Netbeans. I have a JSF page which is deployed on Sun AS.
    The select, update and new are all done from the same backing bean. Only the select works, even though they all use the same EntityManagerFactory.
    I copy the 3 methods below together with persistence.xml. May be someone can suggest why no updates;
    ......The injection code
    @Resource
    private UserTransaction utx;
    @PersistenceUnit(unitName = "PortGenPU")
    private EntityManagerFactory emf;
    private EntityManager getEntityManager() {
    return emf.createEntityManager();
    .....The selection code: This works.
    public DataModel getUserProcessess() {
    EntityManager em = getEntityManager();
    try{
    Query q = em.createQuery("select object(o) from UserProcesses as o");
    q.setMaxResults(batchSize);
    q.setFirstResult(firstItem);
    model = new ListDataModel(q.getResultList());
    return model;
    } finally {
    em.close();
    ....The update code. This gives a success message but doesn't change the db
    public String edit() {
    EntityManager em = getEntityManager();
    logger.info("In Edit name = " +userProcesses.getProcessName());
    try {
    utx.begin();
    logger.info("In Edit trasnaction = " +userProcesses.getProcessName());
    userProcesses = em.merge(userProcesses);
    logger.info("In Edit after merge id = " + userProcesses.getProcessId());
    utx.commit();
    addSuccessMessage("UserProcesses was successfully updated.");
    } catch (Exception ex) {
    try {
    addErrorMessage(ex.getLocalizedMessage());
    utx.rollback();
    } catch (Exception e) {
    addErrorMessage(e.getLocalizedMessage());
    } finally {
    em.close();
    return "userProcesses_list";
    ....The insert code: This also gives a success message but fails to change the db.
    public String create() {
    EntityManager em = getEntityManager();
    logger.info("In create name = " +userProcesses.getProcessName());
    try {
    utx.begin();
    em.persist(userProcesses);
    utx.commit();
    logger.info("In create after persist id = " + userProcesses.getProcessId());
    addSuccessMessage("UserProcesses was successfully created.");
    } catch (Exception ex) {
    try {
    addErrorMessage(ex.getLocalizedMessage());
    utx.rollback();
    } catch (Exception e) {
    addErrorMessage(e.getLocalizedMessage());
    } finally {
    em.close();
    return "userProcesses_list";
    ...Now persistence.xml ("portdev" is a sjas jdbc resource)
    <persistence-unit name="PortGenPU" transaction-type="RESOURCE_LOCAL">
    <non-jta-data-source>portdev</non-jta-data-source >
    <class>anicca.portfolio.data.UserProcesses</class>
    </persistence-unit>

    this an example of how to update a record through
    jpa:
    public void alterOrderQuantity(long orderId,
    int newQuantity){
    EntityManager em =
    jpaResourceBean.getEMF().createEntityManager();
    try{
    em.getTransaction().begin();
    Order order = em.find(Order.class, orderId);
    order.setQuantity(newQuantity);
    em.getTransaction().commit();
    }finally{
    em.close();
    Hi.
    Many thanks for the help with update. I had seen an example like yours before but forgotten about it. Do you always have to have a em.find() inside the transaction? (We are talking about a user submitting jsf page to be updated.)
    And what about em.merge(). What is the purpose of this function? It is quite unclear from the javadoc.

  • After upgrading to OS 7.1.1 Maps no longer works correctly.  It is constantly "locating" and does not do real time updating.  Tried "Scout" map app it does the same thing.  Do I have something not properly set up for viewing Maps the way I used top?

    After upgrading my iphone 4s to 7.1.1 the Maps application does not work properly.  It updates very slowly and is constantly "locating".  Why is this happening after the upgrade?  I also tried SCOUT App it is does the same thing.  It seems like it is losing the GPS position.  Is there a fix for this?

    Any change after turning Airplane mode off and on and/or or after turning Location Services off and back on?
    If not, any change after doing a reset which is similar to a computer restart and is done by pressing and holding the home button and the sleep/wake or on/off button simultaneously until you see the Apple logo and then release?

  • I have a 27" desktop mac running with OSX 10.6.8.  The bluetooth keyboard started not typing when some of the keys are pressed. Plugged in a wired keyboard, started doing the same thing.  Now the cursor moves but cannot select anything.  Suggestions?

    I have a 27" desktop mac running with OSX 10.6.8.  The bluetooth keyboard started not typing when some of the keys are pressed. Plugged in a wired keyboard, started doing the same thing.  When opening up a browser or application, the cursor moves but cannot select anything.  Suggestions?

    Maybe something in these Apple support articles will help.
    Keyboard Doesn’t Work
    Keyboard Keys Do Not Respond
    Keyboard/Mouse – Troubleshooting Wireless

  • My CS6 program that has never had a problem before, is not telling me that there is an error and that it "unexpectedly quit" when I simply try to launch the program.  I have restarted my computer several times.  It does the same thing each time.  So then

    My CS6 program that has never had a problem before, is not telling me that there is an error and that it "unexpectedly quit" when I simply try to launch the program.  I have restarted my computer several times.  It does the same thing each time.  So then I tried uninstalling the program and re-installing.  It said that it could not install due to an error.  So I STILL can't launch my program.  I don't know what to do.  Any help would be appreciated.  I have to edit photos for a photoshoot and return them tomorrow. :/

    Reset Photoshop's Preferences?
    Your Photoehop preferences will survive un-installing and re-installing Photoshop......

  • My pc has a virus I just downloaded song from pc to kids ipods now both ipods are not working correctly could the virus be in the ipods,  if not why are both not working doing the same thing right after unplugging from pc.

    Can an ipod get a virus from a pc that has a virus.  After connecting two different ipods to my pc to download music they both are not working correctly, could the virus have transferred to the ipod,  if not why would both ipods not work and be doing the same thing?  When trying to click on a game it just stays on the main screen.

    - I have not heard of a virus that can cause problem with an iDvice that has not been jailbroken.
    - Try resetting the iPods. nothing will be lost.
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Do you hve problems with one game? The same game on both iPods?
    Other apps?

  • Having problems with ipad mini and Siri. Works sporadically, will work once and then the second time not. Worked all the time with the original Mailbox app. Then started doing the same thing when I installed the new update so wondering if it is software?

    Having problems with ipad mini and Siri. Works sporadically, will work once and then the second time not. Worked all the time with the original Mailbox app. Then started doing the same thing when I installed the new update so wondering if it is software?

    Hi,
    I have the check box on a second Partition  but not on the Time Machine one
    I forget what I did now to get this called "Recovery HD"
    For the rest try https://discussions.apple.com/docs/DOC-4055  User Tip that links to Pondini's work on Time Machine.
    10:17 pm      Friday; May 2, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Itunes worked for about 30min. and then quit working, now it says there is a problem and shuts down. TGried uninstal and reinstall but it does the same thing. Will not run.

    I am running Windows 8.1 and installed itunes and it worked fine for about 30min. and then icloud started and the itunes and icloud just quit. Tried to run itunes again but got a message "a problem occured and needs to shut down" then it shuts down. I have tried reinstalling but get the same problem. Tried uninstalling and reinstlling but it does the same thing.

    I am running Windows 8.1 and installed itunes and it worked fine for about 30min. and then icloud started and the itunes and icloud just quit. Tried to run itunes again but got a message "a problem occured and needs to shut down" then it shuts down. I have tried reinstalling but get the same problem. Tried uninstalling and reinstlling but it does the same thing.

  • My iMovie doesn't work. When I open it nothing comes up so I force quit but then it closes, and a message comes up to send to apple. When I try to reopen it, it does the same thing!

    Please hep me this is super aggrivating and I have no clue what to do!

    Hello BellzJay,
    Thank you for your question. It sounds like your iMovie window is not appearing when you open the program and force quitting it then reopening it does the same thing. I would recommend these staps in particluar to try from the following article:
    iMovie: How to troubleshoot "Application Unexpectedly Quit" messages
    http://support.apple.com/kb/ht3143
    1) Verify your software is up to date by running Software Update.
    The updates necessary to resolve the issue are those relating to QuickTime, iLife, iMovie and Mac OS X. If any of these updates are available, install the updates. After you install the updates, run Software Update again to verify there are no more updates for that application available.
    2) Disable non-essential QuickTime components.
    Navigate to /Library/QuickTime/ for a list of components currently installed.
    Temporarily disable any components that are not in the list below. You can disable the components by moving them to the Desktop or another folder outside of the /Library/QuickTime/ folder.
    Open iMovie and see if the issue is resolved. If iMovie no longer unexpectedly quits, check to see if an updated component is available, or contact the developer of the component for further recommendations.
    iMovie uses the following components, and should be left in the QuickTime folder:
    AppleIntermediateCodec.component
    AppleMPEG2Codec.component
    Note: There may also be a similar folder at ~/Library/QuickTime/ depending on the components you have installed. If this folder is available on your Mac, remove any components as instructed in step 2. Both of these locations hold QuickTime components. The components help you encode or decode different types of multimedia content.
    5) Run Apple Hardware Test and Disk Utility
    If you are experiencing unexpected behavior in other applications, check your hardware by using Apple Hardware Test. You can also test your hard disks using the Verify and Repair functions of Disk Utility.
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • When I connect my ipod to my computer it opens my documents and won't show up in my itunes and I have unistalled then reinstalled itunes and reset my ipod twice and it stills does the same thing how can I make it so that it shows up in my itunes?

    When I connect my ipod to my computer it opens my documents and won't show up in my itunes and I have unistalled then reinstalled itunes and reset my ipod twice and it stills does the same thing how can I make it so that it shows up in my itunes?

    Try
    iOS: Device not recognized in iTunes for Windows
    I would start with              
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or              
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    Before you reinstall the Apple software, also remove iCloud vi Control Panel Remove programs. The reinstall the Apple programs
    New cable and different USB port?
    Runs this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    Try on another computer to help determine if computer or iPod problem

  • 1st generation ipod. When I plug it into my computer an image of a disk w/a magnifying glass appears (disk scan).  Each time I plug it in it does the same thing and it wont show up on my computer.

    I have a 1st generation ipod, which I love. When I plug it into my computer an image of a disk with a magnifying glass appears (disk scan).  When it finishes the scan it always checks out. I then restart it and all looks fine. Each time I plug it in to the computer it does the same thing and it wont show up on my computer. The other strange thing is all of the songs are gone from the ipod but the disk space is still being used. When the ipod is not plugged into the computer everything look fine even the correct date shows up. Any ideas????? Thanks

    try reinstalling iTunes.

  • HT201401 My iphone 4 wont play sound through the internal speaker. Will play if I hook up headphones. I have reset it, restored it, and it does the same thing.

    My iphone 4 wont play sound through the internal speaker. Will play if I hook up headphones. I have reset it, restored it, and it does the same thing. I can still hear when i make calls too. The the output button only says dock connector or apple tv.

    If the phone has ever gotten wet it may be damaged. It may also have dirt or a bent pin in the dock connector or the earphone jack. Try cleaning the dock connector and inspecting it with a magnifying glass. Try inserting and removing the earphone plug several times. If you have restored it and that did not fix the problem damage is the most likely cause.

  • Got my daughter an ipod touch 4th and it wont dothe back up from itunes? I bought my other daughter an iphone 4 and its doing the same thing. Both are locking up itunes too.

    Got my daughter an ipod touch 4th and it wont dothe back up from itunes? I bought my other daughter an iphone 4 and its doing the same thing. Both are locking up itunes too. I tried the deactivate/activate that was suggested it still didnt work. I took the ipod to a friend and hooked to her laptop and it synced fine but now trying to sync on mine it wont do it and it has the backup encryption on but no passwords will unlock it. itunes will reccognize the ipod and the iphone but while going thru the sync steps they both get to step 2 then lock up itunes and then says its syncing but will never stop. I am very frustrated and am regretting buying products from Apple.

    It seems to be a glitch or bug. Its been officially acknowledged and addressed by Apple. There is no resolution other than waiting for a few days.   The Kb article by Apple states it will fix itself on January 7.
    http://support.apple.com/kb/TS4510
    Symptoms
    After January 1st, 2013, Do Not Disturb mode stays on past its scheduled end time.
    Resolution
    Do Not Disturb scheduling feature will resume normal functionality after January 7, 2013. Before this date, you should manually turn the Do Not Disturb feature on or off.
    To turn off the scheduling feature, tap Settings > Notifications > Do Not Disturb and switch Scheduled to Off.

  • When i turn on my computer it freezes in the white screen and the spinning wheel and it won't move from there ... I have turned it off and on several times and took out the battery and it keeps on doing the same thing again what can i do ???

    when i turn on my computer it freezes in the white screen and the spinning wheel and it won't move from there ... I have turned it off and on several times and took out the battery and it keeps on doing the same thing again what can i do ??? please i need help with this and how can i fix it

    Here is some pertinent information and how-to's from Apple:
    http://support.apple.com/kb/TS2570
    Post back if these troubleshooting steps do not work.

Maybe you are looking for

  • How do I access time machine from different user account

    Hi there. Last week I had to take my comupter into the local Apple Store because I was having problems with Boot Camp.  The genius at the store had to delete everything from my hard drive and reinstall it from my external hard drive.  As part of the

  • ICal "week view" question

    Is it possible to advance one day at a time in the "week" view mode in iCal? I can only advance one week at a time. I have my week starting day set to "Monday," but I sometimes want to be able to see events over a long weekend (from, say, Friday to M

  • Help with my iphone 4

    i downloaded the software and out of nowhere it tells me to check my network connection because it timed out. Can anyone help me

  • Won't sync or update, only music with a lot of luck

    I just bought a new ipod 8 gb and I am working on windows xp. When I connect my ipod to Itunes it will sync, but then Itunes reject the ipod and it's impoissible to update postcasts, update/reset the ipod from Itunes or anything else. And I saw that

  • Captivate 4 export backgound images as jpeg

    I am trying to use Captivate 4 in conjunction with another piece of software for creating web help files. I am using Captivate to create software demos for training purposes.  As this will also generate the screenshots I need for my web help files, I