On 3/15/07, francky <[EMAIL PROTECTED]> wrote:
>
> jeffrey morin wrote:
> >> When you set a link to display: block, it becomes a block element.
> Block
> >> elements by default take on the full width of their containing element.
> So
> >> now,
> >> the text within the link is free to slide across t
jeffrey morin wrote:
>> When you set a link to display: block, it becomes a block element. Block
>> elements by default take on the full width of their containing element. So
>> now,
>> the text within the link is free to slide across to the right.
>>
> but when you put text-align : right on a
On 3/15/07, Paul Novitski <[EMAIL PROTECTED]> wrote:
>
> At 3/15/2007 02:33 PM, jeffrey morin wrote:
> > >
> > > When you set a link to display: block, it becomes a block element.
> Block
> > > elements by default take on the full width of their containing
> element. So
> > > now,
> > > the text wi
At 3/15/2007 02:33 PM, jeffrey morin wrote:
> >
> > When you set a link to display: block, it becomes a block element. Block
> > elements by default take on the full width of their containing element. So
> > now,
> > the text within the link is free to slide across to the right.
>
>
>bu
(Sheesh, why do y'all keep sending replies to both me AND the list? I'm bailing
out duplicate mails like a man in a sinking rowboat ;)
jeffrey morin wrote:
>> When you set a link to display: block, it becomes a block element. Block
>> elements by default take on the full width of their containing
At 3/15/2007 02:00 PM, Paul Novitski wrote:
>For example, if the link is the sole contents of the paragraph, you
>could apply {display: block} to the link itself and have it center.
At 3/15/2007 02:13 PM, jeffrey morin wrote:
> > so here is a test page. the display block worked but like the test
Hi Jeffrey,
> Instead of text-align, maybe you can float: do you mean something like
> this?
>
> testpage
> <
> http://home.tiscali.nl/developerscorner/css-discuss/link_right-here.htm>
>
> Greetings,
> francky
yeah i could do that too. i was just curious if it could be done another way
i
jeffrey morin wrote:
> On 3/15/07, Daniel Beardsmore <[EMAIL PROTECTED]> wrote:
>> jeffrey morin wrote:
>>> hello everyone,
>>> i have a box with 4 paragraphs in it. one paragraph has nothing but
>>> a link which is 2 words long. my question is can i apply tex-align:
>>> right to that link someho
>
> When you set a link to display: block, it becomes a block element. Block
> elements by default take on the full width of their containing element. So
> now,
> the text within the link is free to slide across to the right.
but when you put text-align : right on a paragraph it works.
jeffrey morin wrote (but not in the e-mail):
> the link is the only thing i want text aligned right. i did the display block
> on the link and then applied text-align: right and it worked. but why does
> this work? i am not familiar with this technique
When you set a link to display: block, it be
On 3/15/07, Daniel Beardsmore <[EMAIL PROTECTED]> wrote:
>
> jeffrey morin wrote:
> > so it sounds like there is no way around adding a class to that
> paragraph
> > then?
>
> Um ... without seeing your page, I cannot answer that. Right now, your
> code goes
> along these lines:
>
> #divBox p a:l
At 3/15/2007 01:46 PM, jeffrey morin wrote:
>so it sounds like there is no way around adding a class to that paragraph
>then?
Depends on your markup. Please post the contents of the div so we
can see what you're dealing with.
For example, if the link is the sole contents of the paragraph, you
jeffrey morin wrote:
> so it sounds like there is no way around adding a class to that paragraph
> then?
Um ... without seeing your page, I cannot answer that. Right now, your code
goes
along these lines:
#divBox p a:link {text-align: right}
OR
#divBox a {text-align: right}
The former
At 3/15/2007 01:13 PM, jeffrey morin wrote:
>i have a box with 4 paragraphs in it. one paragraph has nothing but a link
>which is 2 words long. my question is can i apply tex-align: right to that
>link somehow without adding another class in my code.
>
>i tried #divBox p a:link {text-align: right}
so it sounds like there is no way around adding a class to that paragraph
then?
On 3/15/07, Daniel Beardsmore <[EMAIL PROTECTED]> wrote:
>
> jeffrey morin wrote:
> > hello everyone,
> >
> > i have a box with 4 paragraphs in it. one paragraph has nothing but a
> link
> > which is 2 words long. my q
jeffrey morin wrote:
> hello everyone,
>
> i have a box with 4 paragraphs in it. one paragraph has nothing but a link
> which is 2 words long. my question is can i apply tex-align: right to that
> link somehow without adding another class in my code.
>
> i tried #divBox p a:link {text-align: righ
16 matches
Mail list logo