HighDots Forums  

display inline q

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss display inline q in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
larry
 
Posts: n/a

Default display inline q - 07-11-2008 , 02:21 AM






Hello,
How can I have the internal div display inline and the content of it to the
right. I have tried float etc with no luck. At present it displays all in
one line but I did want the content to display to the right if possible.

<div class="p7ABtrig">
<h3><a href="javascript:;" id="p7ABt1_1"><%=
FormatDateTime(Recpipic.Fields.Item("dateimage_usr "),1)%>

<div style=" display:inline; text-align:right;"> Ref:
<%=(Recpipic.Fields.Item("imagesku").Value)%> </div></a></h3>
</div>

thanks in advance

larry



Reply With Quote
  #2  
Old   
Osgood
 
Posts: n/a

Default Re: display inline q - 07-11-2008 , 05:23 AM






Try using a span to contain the content on the left and right then float
them.



<h3><a href="javascript:;" id="p7ABt1_1">
<span class="left"><%=
Quote:
FormatDateTime(Recpipic.Fields.Item("dateimage_usr "),1)%></span
span
class="right"><%=(Recpipic.Fields.Item("imagesku") .Value)%></span></a></h3>



..left {
float: left;
}
..right {
float: right;
}


larry wrote:
Quote:
Hello,
How can I have the internal div display inline and the content of it to the
right. I have tried float etc with no luck. At present it displays all in
one line but I did want the content to display to the right if possible.

div class="p7ABtrig"
h3><a href="javascript:;" id="p7ABt1_1"><%=
FormatDateTime(Recpipic.Fields.Item("dateimage_usr "),1)%

div style=" display:inline; text-align:right;"> Ref:
%=(Recpipic.Fields.Item("imagesku").Value)%> </div></a></h3
/div

thanks in advance

larry



Reply With Quote
  #3  
Old   
Walt F. Schaefer
 
Posts: n/a

Default Re: display inline q - 07-11-2008 , 12:42 PM



Since the code is obviously for a Project 7 widget, your best bet is to ask
it on their newsgroup (forums.projectseven.com)

--

Walt


"larry" <lar (AT) ry (DOT) com> wrote

Quote:
Hello,
How can I have the internal div display inline and the content of it to
the right. I have tried float etc with no luck. At present it displays all
in one line but I did want the content to display to the right if
possible.

div class="p7ABtrig"
h3><a href="javascript:;" id="p7ABt1_1"><%=
FormatDateTime(Recpipic.Fields.Item("dateimage_usr "),1)%

div style=" display:inline; text-align:right;"> Ref:
%=(Recpipic.Fields.Item("imagesku").Value)%> </div></a></h3
/div

thanks in advance

larry




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.