Topic: span this Pages that link to <a href="https://ozoneasylum.com/backlink?for=10558" title="Pages that link to Topic: span this" rel="nofollow" >Topic: span this\

 
Author Thread
wcr one
Paranoid (IV) Inmate

From: seattle
Insane since: Mar 2001

IP logged posted posted 05-02-2001 19:07 Edit Quote

Why is the period at the end of this sentence being put on a new line? I have used the <span class=></span> tag a lot of other places on this site (to italicize scientific names) with no problem. but in nn4.75 (and perhaps other versions as well) the period is relagated to a new line. what up with that?

div.body{font: bold 10pt arial; text-align:center; color:#f5f5f5}
div.body2{font: bold 10pt helvetica, arial; text-align:left; color:#f5f5f5}
span.mail{font: bold 10pt helvetica, arial; text-align:left; color:#DEC65A}
a:link {font: bold 8pt helvetica, arial, "sans serif"; color:#DEC65A; text-decoration:none}
a:visited {font: bold 8pt helvetica, arial, "sans serif"; color:#BAB990; text-decoration:none}
a:hover {font: bold 8pt helvetica, arial, "sans serif"; color:#F9F9C7; text-decoration:none}

<div class=body>
The purpose of this database is to allow users to search for cruises of interest based
on region, sampling gear, and/or sampling date. The results will return a list of the
cruises meeting the search criteria and will link to a synopsis of each cruise. Please note that the actual ichthyoplankton data (i.e. taxa caught, catch statistics) are not available directly through this database. The database is meant as a tool to find what data have been collected. More specific information can be found in the University of Washington fish collection web site (through 1993) or by <a href="mailto:bill.rugen@noaa.gov"><span class=mail>e-mailing the webmaster</span></a>.
</div>

thanks


la'dsasha
Neurotic (0) Inmate
Newly admitted Neurotic (0) Inmate
Newly admitted
IP logged posted posted 05-02-2001 19:21 Edit Quote

im not sure why youre using span within the anchor tag like that.. it would be more efficient to just do <a href="mailto:bill.rugen@noaa.gov" class="mail">e-mailing the webmaster<a>.

it would be easier if you actually posted the page instead of just the source (that way i could, uh, check it in netscape).

a "quick" fix would be to use a <nobr></nobr> tag around where the break is occuring and you dont want it to.

btw, where are your paragraph tags? or is this inside a table? you can still use classes within paragraph or td tags (<p class="body"> ). if thats all the css code you are using, it seems rather inefficient.

------
Hell hath no fury like a woman scorned

wcr one
Paranoid (IV) Inmate

From: seattle
Insane since: Mar 2001

IP logged posted posted 05-02-2001 20:12 Edit Quote

Well, the reason I had to use the span tag was that the a:link style is of a differnt size than the body style and I needed style attributes from both. the a: link is used for a bottom and top nav bar and is quite a bit smaller.

as for the site, it is on a development server right now and I think the government is a bit leery about folks poking around the test servers.

I don't know why I would need <p> tags as spacing and <br> work fine. But wouldn't the problem remain the same even within the <P></P> tags? the inline change from the a:link would override the p styles. I actually have quite a bit more style tags, just no used on this particular page. I am not allowed to use css as a rule, because gov't sites must be accessible to as many folks as possible (it's the law). I would love to use them, but have no real choice and must settle for document level <style>.

I will try the <nbr>. thanks


wcr one
Paranoid (IV) Inmate

From: seattle
Insane since: Mar 2001

IP logged posted posted 05-02-2001 23:19 Edit Quote

hmmmm. just noticed that the text-align:center part of the body style tag is being also being ignored for any text on that line. I realize this is probably due to a: link and span.mail duking it out over style rights, but I thought that the style "closest" to the target wins.

confusion

oh, and the <nobr> doesn't work either.

more confusion



[This message has been edited by wcr one (edited 05-02-2001).]

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

IP logged posted posted 05-02-2001 23:30 Edit Quote

How about a link to a real version of the page? It's just really annoying, and occasionally impossible, to figure out the problem from a section of the code.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu