1
WonderT
Link size
  • 2010/10/18 10:24

  • WonderT

  • Just popping in

  • Posts: 12

  • Since: 2004/2/2 1


In my site I have installed Xoops 2.4.4.
I would set a clickable text with a big size.
If I try using HTML tag, it doesn't work.
I try with:
<font size="6"><b><a target=_self href=http://www.mysite.com/page.php>TEXT I WOULD BE VERY BIG</a></b></font>

How can I do to have a BIG SIZE TEXT clickable ?

Thanks

2
culex
Re: Link size
  • 2010/10/18 10:41

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


If this is in your theme try

<span style="font-size:200%"><b><a target=_self href=http://www.mysite.com/page.php>VERY BIG SIZE</b></a></span>


If this is text in news, article etc try

[size=x-large][b][url=http://www.mysite.com/page.php]VERY BIG SIZE[/url][/b][/size]


Programming is like sex:
One mistake and you have to support it for the rest of your life.

3
WonderT
Re: Link size
  • 2010/10/18 11:56

  • WonderT

  • Just popping in

  • Posts: 12

  • Since: 2004/2/2 1


I have tried your purpose but it doesn't still work.
The link is in a block.

Other solution ?

Thanks

4
ghia
Re: Link size
  • 2010/10/18 12:12

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


A custom block? Or some other block?
Which options, parameters were set?

5
WonderT
Re: Link size
  • 2010/10/18 14:53

  • WonderT

  • Just popping in

  • Posts: 12

  • Since: 2004/2/2 1


Yes it's a custom block set with HTML+BBcode content and NO Cache

6
ghia
Re: Link size
  • 2010/10/18 22:30

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Give a unit to your font-size. 6 is assumed px (pixel), which is not so big.
200% as suggested will double the usual font.
Other settings are size=x-large or xx-large or 40px or 5em.

7
playsome
Re: Link size
  • 2010/10/19 0:04

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


If i am understanding correctly you want to make the text size of one link in big font?

try

<span style="font-size:x-large"><a href="http://yourlink">YOUR BIGG TEXT</a></span>

font size is pretty much deprecated now its always best practice to define presentation in css, the style="font-size:x-large" in the above code is the css rule to make the text within the span tag extra large size.

Another way of doing it is to give your <a> anchor tag an id (or class if you want to use it more than once on the same page) and set a css rule fot it in your theme css, example

<a id="mybigtext" href="http://www.link.com">Big text here</a>

and in the css file of your theme you can type

#mybigtext {font-size:x-large}

or wrap link in <span id="mybigtext"></span>


Login

Who's Online

243 user(s) are online (151 user(s) are browsing Support Forums)


Members: 0


Guests: 243


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits