I'm with you. I saw no code either. The respondent may have cut and pasted
formatted, maybe syntax-highlighted code into the message and it was
eliminated because the list software deals only with ASCII. Normally,
however, I would think that the HTML tags would be ignored and the content
displayed in plain text. I don't know what list software is in use, however,
so it may have simply been discarded.
As far as adding an attribute of any kind to an id tag, that is a simple
matter. You can simply apply it in the CSS (presuming, of course, that the
attribute is applicable to the element in question in the browser(s)
targeted; for example, hover: does not apply to arbitrary elements in any
version of IE), or you can do so inline, simply by specifying the attribute,
e.g. style="text-align:left; color:blue; width:200px;". Since in the current
instance there is an (unique) id tag, it is just as economical to apply the
style inline as embedded or externally, although my personal penchant is to
centralize my CSS and javascript if possible.
To my knowledge, there is no prescribed order to the specification of
attributes inline, simply a common one. It is usual to specify the src
attribute of an img tag immediately following the selector (which editors
such as Dreamweaver enforce by automatically formatting the tag that way
when you insert an image), but I have seen and used constructs such as <img
onclick="this.foo()" src="yourpath/images/yourimage.jpg" /> without any
problems. So far as I know, the attributes specified for an element simply
become part of a property array which the user agent employs to determine
how to display the element. I know that when specifying properties for the
style attribute of an element in an embedded or external stylesheet I tend
to simply enter them in the order I think of them, and it seems to make no
difference. I might put in the color, then the border, then the position,
then the font characteristics for one selector, then use a completely
different order for the next. Doesn't seem to make a difference. I would be
interested to learn of a case where the order of the attributes specified
for an element made a difference in the display of that element in the
browser. Anybody know of an example?
Cheers,
Scott
.
----- Original Message -----
From: "Portman" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, May 23, 2005 4:00 PM
Subject: Re: [wdvltalk] Website review
Deb, I didn't see any code in your e-mail but I did manage to get the text
up higher. What I did was change the top margin of the <p> to -150px.
Seems to have worked.
Thanks.
Riva
PBC Web Design wrote:
At 01:30 PM 5/23/2005, you wrote:
I am not sure what you mean . . . I tried adding it into my code but
then the images are all over the place.
Here is your code: I'm suggesting that you add to it:
or use right instead of left if you wish. I'm not good with css id's but
there may be a way to actually add the alignment into the id tag and then
you wouldn't have to set each image manually. I think it also *may* be
important to change the code around a bit to:
so that src winds up directly after img. Not sure if that's necessary
but I'm pretty sure you might get some glitches in some browsers if you
separate the img and the src the way you have. (remember to remove the
periods before the img before using the code if you're going to
copy/paste. I couldn't get this post to go through w/o escaping the
code.)
Deb
____ . The WDVL Discussion List from WDVL.COM . ____
To Join wdvltalk, Send An Email To:
mailto:[EMAIL PROTECTED] or
use the web interface
http://e-newsletters.internet.com/discussionlists.html/
Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.
____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.