Hyperlink's color in HTMLDocument : how to choose?

I am working on an HTML editor. and I wonder how can i do to make the tag A and HREF in an Hyperlink being automaticallly colored in blue and underlined without the relevant HTML source appeared, I mean without having this relevant HTML code :
<font color="#0000ff"> blabla <font>
I just want blabla .
I realize that adding this instruction ( docHTML = edKitHTML.createDocument() ) allowed me having my hyperlink underlined in the HTMLDocument where i type the hyperlink.
However, my hyperlink continues being written in black even if this instruction "edKitHTML.createDocument() "seems to give to my hTMLDocument the default attributes (like the fact that an hyperlink is underlined).
Thanks for help.
Laet

Hi,
your HTML line
<font color="#0000ff"> <a href="www.blaba.fr">blabla</a> <font>won't work because the default style sheet associated to HTML documents in Java has an own style for <a href...> tags. You'd either have to associate your own style sheet or add a style attribute to your a tag in the HTML code, i.e.
<a href="www.blaba.fr" style="color:#0000ff; text-decoration:underline;">blabla</a>Ulrich

Similar Messages

  • How can I remove the text hyperlink blue color/visited color?

    Just a quick one if anyone can answer.
    How do I remove or change the color of text hyperlink? For instance if I have some navigation text how can I make it show as
    a solid color instead of the hypertext blue coloring? Also how do I remove the visited link color?
    I want to do this so I just have the text color change when I mouse/hover over it which I already have done.
    I have an example of what I am talking about. Example 1 is my text and example 2 is what I want to achieve. thanks in advance
    for any help...

    The following tutorials may help you understand how to style links and descendant classes:
    http://www.thepattysite.com/linkstyles1.cfm
    http://www.projectseven.com/tutorials/pseudoclasses/index.htm
    Descendant selectors:
    http://www.projectseven.com/tutorials/css/pseudoclasses/page3.htm
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    http://csstemplates.com.au/
    http://twitter.com/nadiap

  • Changing hyperlink text colors.

    I saw few posts asking about changing hyperlink text colors. And there are many camps regarding this topic. Suzanne Boben would recommend editing template XML . Some would recommend editing published HTML code. Some would recommend editing CSS code.
    But it came down to couple things.
    1) proficient in XML, HTML or CSS
    2) tried different colors, but it did turned out as expected
    One easy way is editing CSS files, this only apply to pages' hyperlink text; if your text got turn to PNGs, read no further .
    iWeb generates a CSS file for the associated HTML page - CSS file is in the Page_files folder.
    Edit the CSS files and keep copies of them, then you won't have to edit them again the next time you publish you sites.
    These CSS files are quite easy to understand, all you have to do is to look for a { , a:visited { and a:hover { .
    They contain RGB (Red Green Blue) values for link color, visited link color and rollover color.
    But what about those #8000FF and #4c4c4c?
    Well, I know they are RGB hexadecimal color values, but I don't what colors they are, so I came up with Argiope (Argiope is a family colorful spiders).
    It's a colors picker application to help with choosing background color, link color and rollover color. It'll give you the exact RGB hexadecimal value of chosen color.
    You can find Argiope here. Enjoy

    It can be done, but I have to do too much works.
    I already have a a script to do that, but it's quite complicated for an average bear.
    http://www.geocities.com/[email protected]/iWeb_utils --> LinksColors.zip
    Does just that, it is flexible, you can configure the colors for individual page, but it is quite different to configure. Look at the colors.txt and page.txt.
    If you really want to know more, ping me.

  • How to choose which Aperture duplicate photo to keep

    I use Aperture 3.4.5 on an iMac with OS 10.8.4 and, like many others who have written to this community, I have acquired lots of duplicates because some years ago I  moved from iPhoto to Aperture. Those collections are mostly referenced in their original collections. I quite understand how these duplicates came to be.  Using Duplicate Annihilator - Aperture  I have found a great many (4 thousand) pairs of duplicate pictures out of a library of 60 thousand, and as  has been explained by several responders, usually one is called iPhoto Original and the other iPhoto Externally Edited or iPhoto Edited.  I have never knowingly used an external editor, but I do understand that, in iPhoto, just rotating the photo from portrait to landscape will create a copy, something that does not happen with Aperture.  So that is why the dupliocates exist. My question is basically, now that I have found them, how to choose which one of the two versions to keep, because there seems no reason to keep these duplicates.
    Obviously if I have made noticeable changes, or added many key words,  then I want to keep that one. The duplicates in question are in  two-photo Stacks. The original will have  a size of 3 MB or 4Mb and the copy will have a smaller size, maybe  as little as 1.5 or 2 MB.  Sometimes the copy has just been rotated (and the file size is made smaller). With Aperture I can rotate the original iPhoto picture and maintain the larger size. Sometimes (but not always) there is a name change from xxxx to xxxx.jpg.  But even without a name change, the edited or rotated file is smaller.  I have examined the two images at high resolution, in Aperture, and I cannot see any difference, though they have very different sizes.  This surprised me; there seems no benefit from the larger size, though there is a slight shift of the histogram of colors. (I do not plan to print any of these at high resolution, just show them on the iMac or a video.)
    So my question is: is it desirable to keep the larger original file, though I do not see a difference in the image on my 27in iMac? I have many of these duplicates to choose between, and I would like to understand the consequences of my choice before I delete things. 

    I would keep the larger as long as storage space wasn't an issue and if it was I'd look at increasing storage before deleting the larger file.
    Think of it this way the larger files contains more data, more data means not only a better image (even if you cannot see a difference on the monitor) but also more options when you go to edit the image.
    Cropping is just one obvious example.  A larger file will give you more options when it comes to cropping the image. 
    You can always create the smaller from the larger, you can;t go the other way. Once you delete the larger file the data is lost for good.

  • Changing hyperlink text color...

    I see how to change hyperlink text colors for a page (normal, rollover, visited, active) but I am hoping for something more complicated- I would like a link to change color on rollover, but stay that color until another link is clicked, then return to its original color. ( I have a swap image applied to five links on a page, clicking on each word displays a different image.) Is there any code I can add that will get a link to remain a rollover color until something else is selected? Thanks in advance!

    CSS menus are much leaner and more efficient than image rollovers.
    Persistent Page Indicator on CSS Menus
    http://alt-web.com/Articles/Persistent-Page-Indicator.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • My firefox background color is black how to solve this problem?

    Every time when i open firefox my background is black. for fix the proble go to tools then options then colors then tick "use system colors" and "Allow page to chooses their own colors, instead of my selection above" then press double "ok" colors problem is fixeed. but when i close and re open firefox see same problem meaning my background is black. Please how can i solve
    ? thanks!

    My new laptop arrived today and it is the first time I ever see Windows 8. I experienced this problem with a black background in any Firefox page.
    After a long troubleshooting process on a draconic OS I have never experienced, I found the culprit.
    1. Hover your mouse (don't click) over the top-right corner (or press the Window key and the C key.) This will open the charm bar.
    2. Select Settings.
    3. Choose Personalize.
    4. Change the background/wallpaper.
    5. Enjoy your Firefox with its true colors. Hoozah!
    After applying that solution, if the background of your favorite website looks a flat white, then:
    1. Go to TOOLS in Firefox. Select Content.
    2. Click the Colors button.
    3. Enable "Allow pages to choose their own colors, instead of my selections above"
    4. Click OK and OK.
    5. Firefox will automatically display default background colors of websites.

  • How to choose line style?

    Hi,
    I want to draw lines with different styles (not colors). Could anybody tell me how to choose different line styles? I did not find the function. Thanks.

    :) Finally it works in Netscape on at least one of Linux machine. The problem was that the java vm version of the Netscape was 1.1.5 but I compiled the applet in 1.3.1. The problem was solved after I download Netscape 6.2 and selected "Full install" when I installed it. Thanks.

  • How to choose an iPhoto Library to sync in iTunes?

    I have 3 iPhoto Library in my Mac. I want to sync my iPhone with one of them, but I don't know how to choose in iTunes the right Library.
    In this moment I have one selected, but it's not the one I want.
    Can anyone help me?
    thanks

    Launch iPhoto with the Option key held down, click on Choose Library, and specify the one you want to sync. iTunes will only sync the iPhone with the iPhoto library set as the default in iPhoto.
    (46020)

  • Why is the font color on the Colorful Tabs changing when I choose a new Personna, when it never did before?

    The font color has always been black and the tabs in color, but now when I choose a different Personna, the font fades and/or turns white, sometimes fuzzy. This has never happened before. I even uninstalled and reinstalled Firefox. Please help.

    Does it help if you disable the Persona Plus extension?
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How to choose diffetent PO types in R/3 from a SC in Classic Scenario

    Hello everyone,
    I am working with SRM 5.0 in a classic scenario and I have a problem. I create a SC, then it is sent to sourcing cockpit where I assign it a vendor to create a PO, but I can't choose what kind of PO I want to create.
    In PPOMA_BB, the user has at least 2 different PO's in attribute BSA and attribute DP_PROC_TY. When I create a PO from a Bid invitation I can choose this kind of POs.
    Do you know how to choose different POs type from SC??
    Thanks,
    Ivá

    Hi,
    For backend products,In standard you can not choose what PO you want. By default the backend document type 'EC' is chosen. In number ranges for SC followon documents the interval number 'PO' would correspond to backend EC document external interval number. This is the standard behaviour though you might have maintained BSA attribute with other values in addition to EC.
    For local products you can choose the PO transaction type. After youclick on create purchase order, in the next screen you will get an option choose your transaction type, provided you have maintained these in PPOMA_BBP for BSA attribute.
    Hope this clarifies.
    Rgds,
    RRK

  • How to choose data in file adapter?

    How to choose data in file adapter?

    create a xml file in source folder in local source location and pick it up using file adapter in BPEL and deliver it to Target location.

  • How to choose Application layout in flex?

    Hi Everyone ....!
    I have confused to select the layout in flex 3.0.There are three type of layout having absolute,horizontal and vertical. Which one is best? and How to choose layout? and please Explain about layout???/...
    Thanks in advance.........
    Regards,
    Selvendran.A

    You mean if you want to have a user-resizeable application?
    If so, all 3 layouts work.
    If you can tell us what you want to build very briefly, we can help you pick a layout, however, as I said, this isn't super-important and you can change this as your application begins to take shape.
    I generally use a vertical layout for my applications for example, but not because it's best, none of the 3 can be considered that, simply because I have more vertical elements than horizontal ones or that need to be placed in specific places given (x,y).

  • How to choose correct domain from 2 domains

    Hi All,
    There are 3 domains (bmp, eai and wli) in 2.1. Can any one point me to the documentation
    that throws light to how to choose a correct domain for your needs?
    Thanks,
    Parag

    Parag,
    Here is some light:
    bpmdomain is configured with BPM only.
    eaidomain is configured with AI and BPM. This includes the AI and DI BPM plug-in.
    wlidomain is configured with AI, B2Bi, and BPM. This includes the AI, DI and B2Bi BPM
    plug-in.
    samples is configured like wlidomain but has sample data associated with it.
    You can always read the config.xml for each domain and see what applications get deployed
    when the domain server gets started.
    Hope this helps.
    Chris
    Parag Gandhe wrote:
    Hi All,
    There are 3 domains (bmp, eai and wli) in 2.1. Can any one point me to the documentation
    that throws light to how to choose a correct domain for your needs?
    Thanks,
    Parag

  • How to choose the right project settings?

    I'm new in taking video's and in editing them. I bought a Sanyo HD Xacti Video camera and made a lot of clips in my last holiday. The clips are transferred to my compter and have the format .MP4 1280-720 depth 1280 and 29,97 fps.
    I want to create after editing en DVD which I can show on my TV 16:9 (PAL-Netherlands)
    When I create a new project I have to choose the seetings and I really do not know how to choose!!
    What Project settings should I choose because in the settings I only see 30 fps under de NTSC systems. Is there some where a general explanation how to do?
    Help will be appreciated very much!!
    Greetings Willem

    Before the NTSC to PAL, I believe there are other major considerations.
    1. You are recording 720p30 1280 x 720 16:9 at 30 frames per second, using the MPEG-AVC/H.264 codec). That sounds to me like your are dealing with what they call "AVCHD-Lite". If so, there are major basic problems editing that in Premiere Elements 7. See Steve Grisetti's FAQ
    http://forums.adobe.com/thread/454585?tstart=0
    2. Your remarks would suggest that you want to create at DVD-VIDEO widescree (16:9) of your Timeline.
    3. So before all else, I would determine if you can successful bring your video into Premiere Elements 7 and export the DVD-VIDEO in the NTSC system before you think about converting an NTSC video to a PAL end product.
    4. Typically you select the project preset (new project dialog) to match the properties of your video. Once done that does not stop you from changing the export preset later. In the case of your NTSC 720p30 Sanyo video, I would suggest the project preset (new project dialog) = NTSC HDV HDV 720p30. Think of the project preset as a template from which you can edit your video. Although this 720p is a variant of AVCHD, I suggest the HDV category since there is no 720p preset under AVCHD. Note that the descriptions to the right of where you set the preset.
    5. In Share/Disc/Disc, in the Burn Dialog, then select the preset: NTSC_Widecreen_Dolby DVD. If that is all completed successfully then we can talk about conversion of NTSC 1280 x 720 16:9 to a PAL DVD-VIDEO (720 x 576 25 frames per second with a 16:9 flag to stretch the video on display after encoding).
    6. You may find the following link helpful:
    http://www.camcorderinfo.com/content/article_converting_ntsc_pal.htm
    ATR

  • How to choose vendor's second account when MIR7/MIRO ?

    Dear All,
    Here is my question, one vendor has two account , when MIRO/MIR7, SAP default the first vendor account as IR 's default datas, how to change it to the second account which I have added in the vendor?
    In MIRO/MIR7 there only display the vendor bank details, canu2019t choose.  thx

    step1 :  XK02: In the display vendor: payment transactions I add 2 bank key with different bank account,
    step2 :  MIR7/MIRO: When after entering PO ,  system default the PO's vendor's first bank account as the new invoice datas, but sometimes I should choose the second bank account for the vendor's invoice .
    I have some try about how to choose the very bank account when entering invoice in MIR7/MIRO , but have no idea about this.  And now We have to change the vendor's bank account's sequence for this requirement.
    As there has a list for vendor's bank accounts in the payment transactions, then I think SAP should let me choose whick bank account when entering invoice in MIR7/MIRO, and how?
    thanks a lot

Maybe you are looking for

  • I have a new Palm Pre Plus - can I have more than one Google G-Mail Account on the phone?

    I have a general G-Mail account and it has started getting too busy with advertisements etc.  I'm thinking about changing to a different e-mail address but don't know what yet. I have an old Palm Centro I used to Synch with my laptop.  Now I need to

  • Why won't My Macbook allow me to download adobe flash player

    I just got this used macbook yesterday, I put all my apple info in this computer, It let me download other downloads not Aodobe... It says my password is wrong but I know for a fact it's right why?

  • Widgets within widgets

    I am working on a site that currently is very complicated to navigate due to the vast number of pages. I would like to bring it up to date with spry and widgets. I currently am using the tabbed panel and inside that I am using an HTML panel to load c

  • Problems with transaction CJ20N

    Hello Experts, I have created a tooling asset with transaction AS01 and I have some problems with transaction CJ20N. I would like to know how can we Link the Asset already created with the WBS by transaction CJ20N. Thanks Ferdaws

  • How do I keep my swf file in the top left corner?

    I want my flash document to stay flush with the left and top of the page, but i can't figure out how. This is what it's doing http://ericreou.com/portfolio.swf I designed it so that the box with my name in it sits touching the left top corner. When I