11
ronhab
Re: Empty space between text and pics
  • 2005/1/29 13:15

  • ronhab

  • Friend of XOOPS

  • Posts: 160

  • Since: 2003/4/27


Quote:

robertalbert wrote:
I'm sure i know a bit about CSS and coding, etc. but how to create an empty space (margin?)(padding?) around my pictures when i post a newsitem or just a custom block i cannot find.

Do i have to code that in the css file?

Any help me?


Take a look here, it should help:

http://www.htmlite.com/CSS009.php

Then just apply to the appropriate area in your site's css. (Look at the source code when your site renders to see which CSS setting is being used for that particular image).



12
ronhab
Re: System buttons
  • 2005/1/29 13:09

  • ronhab

  • Friend of XOOPS

  • Posts: 160

  • Since: 2003/4/27


Hmm, only other things I can think of is to rename/delete the adminmenu.php file in the cache folder after those steps (I think you tried that though) or trying a different browser/clear your current browser's cache.



13
ronhab
Re: System buttons
  • 2005/1/29 12:56

  • ronhab

  • Friend of XOOPS

  • Posts: 160

  • Since: 2003/4/27


They moved the FAQ on ya, Catz.

https://xoops.org/modules/smartfaq/faq.php?faqid=276

Take a look there. Sorry, I forgot to add "and then update your system module".



14
ronhab
Re: Alt Tag on Images
  • 2005/1/29 12:23

  • ronhab

  • Friend of XOOPS

  • Posts: 160

  • Since: 2003/4/27


Hi Rowdie,

The right way to show a tooltip is the title tag. The wrong way is the alt tag.

If you use the title tag:
1. It works in all browsers
2. You are in compliance with the W3C
3. Your code will validate

If you use the alt tag:
1. It only works in one browser
2. You are out of compliance with the W3C
3. Your code will validate as having alternate text for images, when you are really using it for something else.

The DHTML script you linked to is for people who want to change the color or the background color or add HTML inside of the tooltip to override how the tooltip would show normally in a user's browser. (adding a link to the wikipedia listing, for example). However, be aware that it will make your site not validate and be out of compliance again. Additionally, it won't provide information to text browsers or blind people with screen readers.

To simply display the tooltip all that is needed is the title attribute.

Let's say for example that I have a submit button on my form that is a picture of betty boop. The alt tag should be "submit" while the title tag should be "betty boop" or "picture of betty boop" or something similar.

HTH



15
ronhab
Re: System buttons
  • 2005/1/29 12:15

  • ronhab

  • Friend of XOOPS

  • Posts: 160

  • Since: 2003/4/27


Go to groups admin and click modify on the webmasters group. Then click modify button at the bottom (even if you don't change anything). It should reset your admin icons.

Webmasters should have system admin rights and module admin rights for all boxes.



16
ronhab
Re: Alt Tag on Images
  • 2005/1/29 11:07

  • ronhab

  • Friend of XOOPS

  • Posts: 160

  • Since: 2003/4/27


Q: How do I do something?
A: Right Way X, Wrong Way Y
R: I'll use the wrong way.



17
ronhab
Re: Alt Tag on Images
  • 2005/1/29 1:21

  • ronhab

  • Friend of XOOPS

  • Posts: 160

  • Since: 2003/4/27


The alt tag is not supposed to be displayed as a tooltip. This behavior was introduced by Netscape 4, which then was emulated by MSIE. It is outside the spec.

http://www.mozilla.org/docs/web-developer/faq.html#alttooltip


Why doesn’t Mozilla display my alt tooltips?

Contrary to a popular belief stemming from the behavior of a couple browsers running on the Windows platform, alt isn’t an abbreviation for ‘tooltip’ but for ‘alternative’. The value of the alt attribute is a textual replacement for the image and is displayed when the image isn’t.

Mozilla doesn’t display the alt attribute as a tooltip, because it has been observed that doing so encourages authors to misuse the attribute.

* When the alternative text is shown in a tooltip, some authors write bad alt texts, because they intend the text as auxiliary tooltip text and not as a replacement for the image. (‘Bad’ in the sense that the textual alternative is less useful for people who don’t see the image.)
* When the alternative text is shown in a tooltip, other authors don’t want to supply textual alternatives at all, because they don’t want tooltips to appear. (Again, making things harder for people who don’t see the image.)

There is another attribute that Mozilla shows as a tooltip: title. In fact, the HTML 4.01 specification suggests that the title attribute may be displayed as a tooltip. However, this particular display method is not required and some other browsers show the title attribute in the browser status bar, for example.

At this point some people feel compelled to post a “But IE…” rant in the newsgroups or in Bugzilla. Please note that Mac IE 5 behaves in the same way as Mozilla when it comes to the alt and title attributes. Windows IE also shows the title attribute in a tooltip.



18
ronhab
Tip: Add a Firefox Live Bookmark Icon to Your Site
  • 2005/1/28 2:13

  • ronhab

  • Friend of XOOPS

  • Posts: 160

  • Since: 2003/4/27


If you're using Firefox, you can add dynamic bookmarks that automatically fetch RSS feeds for you. People can subscribe by bookmarking your feed. If you want people to see the "add a live bookmark" icon in their Firefox browser's status bar, drop this code in your theme.html between the <head> tags.

<link rel="alternate” type="application/rss+xml” title="Linux Universe RSS” href="http://linux-universe.com/backend.php" />


Please replace my site with yours and change the title to whatever you wish.



19
ronhab
Re: Site Statistics Version: 0.3 - installed fine but not logging anything
  • 2005/1/27 15:18

  • ronhab

  • Friend of XOOPS

  • Posts: 160

  • Since: 2003/4/27


Quote:


// for stats by XOOPS@IBDeeming!
include_once XOOPS_ROOT_PATH.'/modules/statistics/include/hitcounter.php';

at the top of the file under the line

include_once XOOPS_ROOT_PATH.'/class/xoopsblock.php';

"

add to waht file? the read me does not state which file/tempalate or the like to change.


Add that to header.php in your root.

HTH



20
ronhab
Re: Hey Blockhead
  • 2005/1/27 15:09

  • ronhab

  • Friend of XOOPS

  • Posts: 160

  • Since: 2003/4/27


Works like a charm after fiddling with my theme a bit. Thank you very much for this.




TopTop
« 1 (2) 3 4 5 ... 12 »



Login

Who's Online

194 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 194


more...

Donat-O-Meter

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

Latest GitHub Commits