Royal Genes


Safe For Kids





HTML query



Sun, 26 Nov 2006 19:15:23 -0000 uk.people.silversurfers
previous


BoyPete...
I gather the following is non-compliant.......... (absmiddle)

pmj...
"Non Compliant" with what?
There are various different Specifications laid done for HTML
(& now XHTML), which have various different things allowed in them,
to be "Compliant" or "Valid"

BoyPete...
Dreamweaver says so.



width="25" height="25" align="absmiddle"

How should it be coded please? :)

Ali...
Possibly not the same thing

BoyPete...
Ta, I'll try it :)


pmj...
It depends what you are trying to do (& why you are trying to do it)...

BoyPete...
Right, firstly, this is a site I started to put together two years ago, and
then for reasons............got dropped, so I don't remember the thinking
behind what I did.
Second, don't forget I'm really a newbie to this stuff, and haven't got my
head round CSS, which I suspect I should be using?
I've deleted the align stuff, and it looks fine.
Next problem is that I've used the text AND the ball as the link.........the
result is that the ball now has a box round it!

datasmog...
What you are seeing is the equivalent of the underscore on a hyperlink.
Set the image border to 0.

BoyPete...
Done and sorted (when I found out where!). Many thanks Ray. :)

I'll backtrack, and redo that frame.
What is the arguement against frames anyway?? There seems to be oodles of
sites out there using them.


BoyPete...
I don't know either now..was done two years ago. Prob sorted now :)


Can you elaborate a bit more please?

BoyPete...
It concerns a column of links in a navigation panel. I want them centred
left to right in the panel.

Ali...
both middle and absmiddle align vertically.
align="center" or textalign="center" (note american spelling)
are for left to right alignment (in CSS)

BoyPete...
See my reply to faolan. I've got a mag somewhere with a CSS tut. I'll have a
read.



What HTML Tag(s) is that "absmiddle" Value for the "align" Attribute
being used with?

BoyPete...


Generally any Attributes such as that which are being used for
*Positioning* should be done by using CSS (Cascading StyleSheets)
either "InLine" or embedded in the HTML or Referenced as an External
StyleSheet File.

& not as "Attributes" of the HTML Tags themselves.
next