Graphic not in line with text?
I am having trouble doing something. I have a short line of
text, and at the end of it I want a small graphic or an arrow to
appear, in line.
But, when I use this coding in HTML, the graphic always goes
down to the next line:
<ul > <li>Please visit the committee page by
clicking the arrow <img src="../graphics/rightarrow.gif"
width="13" height="13" border="0"></li></ul>
It doesn't seem to matter what "align=" attribute I add
either, the arrow always appears on the next line.
Any one able to set me straight?
Many thanks,
Stephen
Tallahassee, FL
"sbsmithfl" <[email protected]> wrote in
message
> <ul >
Please visit the committee page by clicking the arrow <img
> src="../graphics/rightarrow.gif" width="13" height="13"
> border="0"></li>
>
Hi Stephen --
Why can't you just add the image inside the <p> tag? So
it looks like this:
<p>Please visit the committee page by clicking the
arrow <img
src="../graphics/rightarrow.gif" width="13" height="13"
border="0"></p>
John
Similar Messages
-
Error when adding image in-line with text
When using some of my templates I have no problem in putting
a small graphic (a pdf icon) in-line with text. Yet with others the
insertion of the same small graphic forces a newline before and
after the graphic.
If the text and image is placed in an editable region of the
template, but not within a table cell all is ok.
If the text and image is place within a table cell within the
editable region the problem arises. I am sure there is something I
have specified incorrectly but cannot discover what it is.
An example of where it works fine is:
www.digitalfox.co.uk/parryassociates/products.htm
An example of where it doesn't work is:
www.bournemouthlittletheatre.co.uk/membership2.htm
I am using Dreamweaver 8 within Studio 8 and run under
Windows XP.
Can anyone help please?
Regards
Roger SansomHmm -
<style type="text/css">
<!--
@import url("nav-bar-top/nav-bar-top.css");
@import url("nav-bar-top/nav-bar-top.css");
@import url("nav-bar-top/nav-bar-top.css");
@import url("nav-bar-top/nav-bar-top.css");
@import url("nav-bar-top/nav-bar-top.css");
@import url("nav-bar-top/nav-bar-top.css");
@import url("nav-bar-top/nav-bar-top.css");
@import url("nav-bar-top/nav-bar-top.css");
@import url("nav-bar-top/nav-bar-top.css");
@import url("nav-bar-top/nav-bar-top.css");
@import url("nav-bar-top/nav-bar-top.css");
Is this the belt and bracers approach? 8)
Anyhow, your problem is in the very first line of one of
those (take your
pick) -
TD IMG {
DISPLAY: block
That causes images in table cells to behave as a block tag.
Block tags
force all adjacent content to the next line.
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
==================
"RogerLS" <[email protected]> wrote in
message
news:[email protected]...
> When using some of my templates I have no problem in
putting a small
> graphic (a
> pdf icon) in-line with text. Yet with others the
insertion of the same
> small
> graphic forces a newline before and after the graphic.
>
> If the text and image is placed in an editable region of
the template,
> but
> not within a table cell all is ok.
>
> If the text and image is place within a table cell
within the editable
> region
> the problem arises. I am sure there is something I have
specified
> incorrectly
> but cannot discover what it is.
>
> An example of where it works fine is:
> www.digitalfox.co.uk/parryassociates/products.htm
>
> An example of where it doesn't work is:
> www.bournemouthlittletheatre.co.uk/membership2.htm
>
> I am using Dreamweaver 8 within Studio 8 and run under
Windows XP.
>
> Can anyone help please?
>
> Regards
> Roger Sansom
>
>
> -
How to get Horizontal Slider in line with text?
Hi,
I am trying to put my horizontal sliders in line with text information, but for some reason the alignmentbase property does not work. Any tips?
The code I use now:
<s:Panel id= "ViewTracksPanel"
title = "Viewing settings"
width="100%"
height="100%">
<s:layout>
<s:VerticalLayout paddingLeft="10" paddingTop="10" paddingBottom="10"/>
</s:layout>
<s:VGroup >
<s:HGroup gap="30">
<s:RadioButton group="{viewingtype}" id="viewtrackHistory" label="Track History" value="History" />
<s:RadioButton group="{viewingtype}" id="viewLatestLocation" label="Current Position" value="LatestLocation"/> <!--does not work because precision of data is not inline with interval precision -->
</s:HGroup>
<s:HGroup right="40">
<mx:Text text="Track Time Interval: {timeInt.value} Minutes "/>
<s:Label text="1"/>
<s:HSlider stepSize="1" minimum="1" maximum="60" id="timeInt" width="200" dataTipPrecision="0" change="timeInt_changeHandler(event)" alignmentBaseline="ideographicBottom" />
<s:Label text="60"/>
<s:Label/>
</s:HGroup>
<s:HGroup>
<mx:Text text="Display Time Interval: {Speed.value} Seconds"/>
<s:Label text="1"/>
<s:HGroup>
<s:HSlider stepSize="1" minimum="1" maximum="5" id="Speed" width="200" dataTipPrecision="0" alignmentBaseline="ideographicBottom"/>
</s:HGroup>
<s:Label text="5"/>
</s:HGroup>
<s:Label/>
This results in:
As seen above, the slider (& corresponding labels) are not on the same 'horizontal line/position' as the mx Text (ex. 'Track Time Interval' but a bit above?
I tried to put alignmentbaseline to all possible values but whithout succes.
Any advice would be really great!
Thanks.I just did one line but I think you want this
<s:HGroup verticalAlign="baseline">
<mx:Text text="Display Time Interval: {Speed.value} Seconds"/>
<s:Label text="1"/>
<s:HSlider stepSize="1" minimum="1" maximum="5" id="Speed" width="200" dataTipPrecision="0"/>
<s:Label text="5"/>
</s:HGroup>
Also you don't need to wrap everything in a VGroup if you have a vertical layout - pick one or the other.
Carol -
I have a new ipad mini - I am able to receive emails but not send - same with text. I have tried to follow the support advice. I have deleted my aol account and added it again. I have compared every setting with my husband, who has an ipad? Please help
ps when syncing it jumps through steps 1 - 4 real fast, i seem to remeber iphone showing the number of tracks transferring and names, but i see nothing? then it sits on 5 saying "waiting for changes to be applied"
-
I am facing problem regarding graphical user interface. I am using text box for editing files. I want to show the line numbers and graphical breakpoints along with text box. Can anybody help me in this? Thanks.
Thanks for you reply.
But actually I don't want to show the \ (backslashes) to the user in my text box.
Ok let me elaborate this problem little more.
I want to show my text box as it is in normal editors e.g. In Matlab editor. There is a text box and on left side the gray bar shows the line numbers corresponding to the text. Further more i want that the user should be able to click on any line number to mark specific line as breakpoint (red circle or any graphical indication for mark).
Regards,
Waqas Ahmad -
How can i copy line with text and image to ms word
When I insert an image in textflow using InlineGraphicElement it works, but when I copy the line with the image to MS Word it copies only the text (not the image).
How can i copy the image to MS Word?If you want copy formatted text and image to MS Word, you need to give MS Word rtf markup, because Word can recognize rtf markup but not TLF markup.
So you need to create a custom clipboard to paste a rtf markup. It's a large feature for you, because you need a tlf-rtf converter in your custom clipboard.
TLF Custom Clipboard Example:
package
import flash.display.Sprite;
import flash.desktop.ClipboardFormats;
import flashx.textLayout.container.ContainerController;
import flashx.textLayout.conversion.ITextImporter;
import flashx.textLayout.conversion.TextConverter;
import flashx.textLayout.edit.EditManager;
import flashx.textLayout.elements.*;
import flashx.undo.UndoManager;
// Example code to install a custom clipboard format. This one installs at the front of the list (overriding all later formats)
// and adds a handler for plain text that strips out all consonants (everything except aeiou).
public class CustomClipboardFormat extends Sprite
public function CustomClipboardFormat()
var textFlow:TextFlow = setup();
TextConverter.addFormatAt(0, "vowelsOnly_extraList", VowelsOnlyImporter, AdditionalListExporter, "air:text" /* it's a converter for cliboard */);
private const markup:String = '<TextFlow whiteSpaceCollapse="preserve" version="2.0.0" xmlns="http://ns.adobe.com/textLayout/2008"><p><span color=\"0x00ff00\">Anything you paste will have all consonants removed.</span></p></TextFlow>';
private function setup():TextFlow
var importer:ITextImporter = TextConverter.getImporter(TextConverter.TEXT_LAYOUT_FORMAT);
var textFlow:TextFlow = importer.importToFlow(markup);
textFlow.flowComposer.addController(new ContainerController(this,500,200));
textFlow.interactionManager = new EditManager(new UndoManager());
textFlow.flowComposer.updateAllControllers();
return textFlow;
import flashx.textLayout.conversion.ITextExporter;
import flashx.textLayout.conversion.ConverterBase;
import flashx.textLayout.conversion.ITextImporter;
import flashx.textLayout.conversion.TextConverter;
import flashx.textLayout.elements.IConfiguration;
import flashx.textLayout.elements.TextFlow;
class VowelsOnlyImporter extends ConverterBase implements ITextImporter
protected var _config:IConfiguration = null;
/** Constructor */
public function VowelsOnlyImporter()
super();
public function importToFlow(source:Object):TextFlow
if (source is String)
var firstChar:String = (source as String).charAt(0);
firstChar = firstChar.toLowerCase();
// This filter only applies if the first character is a vowel
if (firstChar == 'a' || firstChar == 'i' || firstChar == 'e' || firstChar == 'o' || firstChar == 'u')
var pattern:RegExp = /([b-df-hj-np-tv-z])*/g;
source = source.replace(pattern, "");
var importer:ITextImporter = TextConverter.getImporter(TextConverter.PLAIN_TEXT_FORMAT);
importer.useClipboardAnnotations = this.useClipboardAnnotations;
importer.configuration = _config;
return importer.importToFlow(source);
return null;
public function get configuration():IConfiguration
return _config;
public function set configuration(value:IConfiguration):void
_config = value;
import flashx.textLayout.elements.ParagraphElement;
import flashx.textLayout.elements.SpanElement;
import flashx.textLayout.elements.ListElement;
import flashx.textLayout.elements.ListItemElement;
class AdditionalListExporter extends ConverterBase implements ITextExporter
/** Constructor */
public function AdditionalListExporter()
super();
public function export(source:TextFlow, conversionType:String):Object
if (source is TextFlow)
source.getChildAt(source.numChildren - 1).setStyle(MERGE_TO_NEXT_ON_PASTE, false);
var list:ListElement = new ListElement();
var item1:ListItemElement = new ListItemElement();
var item2:ListItemElement = new ListItemElement();
var para1:ParagraphElement = new ParagraphElement();
var para2:ParagraphElement = new ParagraphElement();
var span1:SpanElement = new SpanElement();
span1.text = "ab";
var span2:SpanElement = new SpanElement();
span2.text = "cd";
list.addChild(item1);
list.addChild(item2);
item1.addChild(para1);
para1.addChild(span1);
item2.addChild(para2);
para2.addChild(span2);
source.addChild(list);
var exporter:ITextExporter = TextConverter.getExporter(TextConverter.TEXT_LAYOUT_FORMAT);
exporter.useClipboardAnnotations = this.useClipboardAnnotations;
return exporter.export(source, conversionType);
return null; -
I did a hard reset on my Iphone 5, when it was resetting black lines with white text popped up at the top of the screen. Last line says _fetchBorrowedList:881 number of borrowed blocks 16. It is stuck at this point and will do nothing. Tried another hard reset and the same thing happened. Any Ideas??
Make an appointment at the genius bar and get the screen replaced if that's available in your area ($149) or get the phone replaced if it's not or if the damage is more extensive ($269).
-
Putting form field in line with text
trying to put a text form field in line with the paragraph but am unable to do so. Any ideas?
Are you trying to adjust the line spacing of the text in order to align the text with visible lines already present in the format of the form?
There isn't a text formatting tool in the form section. You need to create the from field and edit the properties to allow Multi Line Scrolling and to Allow Rich Text Formatting. Then exit the Form section by clicking the hand tool. Click in the field and press Ctrl+E to pull up the text formatting tool bar. Click more, then paragraph. On line spacing select Exactly and enter the amount of characters that you need in order for the spacing to apply appropriately.
Hope this helps! -
Make a horizontal scroll line with text
Hello:
Can you help me about how to make a line of text that slide
(or scroll) from
right to left, desappear and come bak again?
have you some samples?
many thanksThis should get you there
http://css-tricks.com/snippets/jquery/horz-scroll-with-mouse-wheel/
1. Load the mousewheel min script via CDN (jquery-mousewheel - cdnjs.com - the missing cdn for javascript and css) into the Scripts Panel;
2. Add the provided snippet into your Stage > compositionReady event handler.
hth
Darrell -
How do I stop the the points in a drawn line graphic jumping into line with each other?
Just trying to annotate a few pics in a report, proposals for MTB trails over a copied pdf of a map.
When I try to place a point, it will automatically line itself up with a previous point which is hugely frustrating
Cheers in advance
RikHold down the command key whilst dragging.
Peter -
My Regular Expression is not replaceing lines with br / in them
here is my problem
This is my original Code:
<p class="x3-subheading-1">DEGREE: Bachelor of Accountancy<br />MAJOR: Accounting</p>
I want to find and replace all instances of this subheading class with this:
<h3>******************</h3>
This is what has worked for me for ones without <br />:
Find: <p class="x3-subheading-1">([^<]*)</p>
Replace: <h3>$1</h3>Managed to figure out this as a work arround.
Find: <p class="x3-subheading-1">([^<]*)<br />([^<]*)</p>
Replace: <h3>$1<br />$2</h3>
Depending on the number of <br /> you can just add more
Find: <p class="x3-subheading-1">([^<]*)<br />([^<]*)<br />([^<]*)</p>
Replace: <h3>$1<br />$2<br />$3</h3> -
FW CS6 Align tool not working properly with lines of text
Much to my surprise the align tool is not aligning properly with text and I'm not sure what the issue is. My snap to grid distance is set at 1 in preferences.
Task: Left-align several vertically-stacked lines of type using the alignment tool. All lines have text-align: left.
Result: Some of lines of type display 1px off from each other. Using the right-align tool yields the same issue.
Oddly enough shapes align pixel-perfect.
Any ideas? Thanks!I'm not certain of this, but I believe the Align panel aligns the text runs as opposed to the text boxes themselves. This should be a good thing, as it's usually the text that needs to be aligned, not the invisible boxes containing the text.
Could that be what's happening? -
WS_DELIVERY_UPDATE_2 is not upating line text
I am trying to update Header and line item text using the FM WS_DELIVERY_UPDATE_2 with in the IDOC_INPUT_DELVRY. I have populated all the required prameters for line text in FM but it is not gettnig updated in delivery. Header text are getting updated without any issues. Could someone please help on this issue.
IT_TEXTH-RFBEL = '800003709'
IT_TEXTH-RFPOS = '000010'
IT_TEXTH-TDOBJECT = 'VBBP'
IT_TEXTH-TDNAME = '800003709000010'
IT_TEXTH-TDID = 'Z057'
IT_TEXTH-TDSPEAS = 'EN'
APPEND IT_TEXTH
IT_TEXTL-RFBEL = '800003709'
IT_TEXTL-RFPOS = '000010'
IT_TEXTL-TDID = 'Z057'
IT_TEXTL-TDSPRAS = 'EN'
IT_TEXTL-TDLINE = 'TEST TEXT'
APPEN IT_TEXTL
PASSING THIS INTO FM WS_DELIVERY_UPDATE_2 in table Parameters. The line item text is not getting updated.
Thanks
SenthilHi Nabheet,
Thanks for your reply. The WS_DELIVERY_UPDATE_2 was already used with in the standard IDOC posting FM 'IDOC_INPUT_DELVRY' but they were missing to pass text table parameters IT_TEXTH and IT_TEXTL. I wrote an enhancement to replace this FMwith added table parameters IT_TEXTH and IT_TEXTL to pass the text however the header text is working but not the line item text when delivery posted thru IDOC.
Thanks,
Senthil -
recieved a pdf form and need to fill in the lines with text
using acrobat pro9 macIs it a fill in form (if so, then you should get an i-bar as you move over the fields)? Are you filling it out in Acrobat or the MAC preview? The latter has problems with PDF forms and should not generally be used for this need.
If there are no form fields (not fillable), then you will either have to add form fields yourself (maybe the MAC version has the recognize fields feature of the PC version -- assuming the form is actually text and not just a picture). The other option is to use the Typewriter tool. -
How to make textframe go down with texts.
Hi All:
There are two parallel textframes in my page, TF_1(at left) and TF_2(at right), and there are another two textframe TF_3 and TF_4, two tables,TB_1(in TF_3) and TB_2(in TF_4),
TF_2 is too narrow to place TF3(with TB_2) , so I wanted to move TF3 a little to the left , but when I moved it, TF_4 (with TB_1) did not go down with texts, how to resolve this?
See attachment, please.
http://www.fileden.com/files/2008/5/29/1934968/32.zip
Thanks in advance.Hi Frekfeng,
You can move the text frames with:
var myDoc = app.activeDocument;
var myTextFrame = myDoc.textFrames.item("TextFrame01")
myTextFrame.geometricBounds = ["10mm", "10mm", "287mm", "200mm"]; // A4 page
You can get the text frame to expand with:
function resizeOverset() {
myStories = myDoc.stories;
for (var j = myStories.length - 1; j >= 0; j--) {
if (myStories[j].overflows == true) {
myLastFrame = myStories[j].texts[0].parentTextFrames[myStories[j].texts[0].parentTextFrames.length - 1];
myLastFrame.fit(FitOptions.FRAME_TO_CONTENT);
Brett
Maybe you are looking for
-
Viewing on an external monitor?
I currently use an AJA T-tap to view my output on an external monitor. I have heard that with the new Mac Pro I can view pixel to pixel using HDMI. Is that true? And how do you do it? No longer a need for the T-Tap? Best. Tom
-
I have six external hard drives but since loading Maverick two of them won't 'go to sleep' at night. I never had a problem before.
-
Why does Start Digital Edge in Start Trigger.vi do a kind of timeout?
Hi I am doing a manual trigger on my hardwareboard by inserting a 5 volt source into the selected triggerchannel a couple of seconds after I push the start button. The generation never starts. But if I put the trigger signalchannel equal to the exte
-
IOS 7: freedom to change Apple's icons's skins
Unfortunately, the two apps I've found to change icons's skins do not have the option to change the iOS 7 apps--Notes, Settings, and Contacts--that I would like to change; neither Iconical nor App Icons Free provide for these. From myriad comments I'
-
SWIG error: even simplest example not working!
Even the simplest example is giving me the following "Undefined symbols" error: $ gcc -c -fPIC example.c example_wrap.c -I/usr/include/python2.5 $ gcc -dynamiclib example.o example_wrap.o -o _example.so Undefined symbols: "_PyErr_Fetch", referenced f