wrap instead of justify???

Howdy,
I have this statement in all my .htmls:

BODY {font: 11pt "Arial";text-align: justify;margin-left: 15px;margin-right: 5px}
  H1 {font: 12pt "Arial" Helvetica; color: navy; font-weight: bold; }
  H2 {font: 14pt "Times Roman" ; color: black; font-weight: bold; }
 
  A:link {font: 11pt "Arial" Helvetica; color: blue; font-weight: bold; text-decoration: none}
  A:visited {font: 11pt "Arial" Helvetica; color: navy; font-weight: bold; text-decoration: none}

I hate that justifying. is there a wrap statement for the right align. I don't want any scroolbars.

Plus, i'd like to be able to click on a catagory in my left frame and have it open to a full window, with the back button option.

Thinking about hiring someone to write a good CSS so I can concentrate on the content of my site rather than fight html,

Please see:
http://www.geocities.com/~budallen/
and poke around.

Thanks,
bud
LVL 14
smeebudAsked:
Who is Participating?
 
jbirkConnect With a Mentor Commented:
Yeah, thanks otto!  I never realized what NOSAVE was.  It just appeared occasionally when I used to use composer...

Thanks smeebud!  Did that style sheet I sent you work ok?
-josh
0
 
slinkyCommented:
to open a new window you need to use the target option in the link i.e. <A HREF="myhtm.htm" target=_new>Link</A>
if you replace the _new with the name of a frame it will put the html in the frame, if you use _top or _parent it will splat the frameset and put the page in the whole browser area.

With regard to controlling text, you get most flexibility from putting all your text in a table, setting the relative % width of the table.
If you center the table you can add/control your margins, without specifying absolute pixel sizes etc

0
 
smeebudAuthor Commented:
If you go to my page slinky, perhaps you can tell me the statement to make a full screen when clicking on
for example "Setup and Re-install Windows 95 " In the top
"General" section.

Bud
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
jbirkCommented:
For alignment of text, only:  left | right | center | justify are listed in the specification as possiblities.  If you use the normal left, you don't have to actually specify that, it's the default for the languages which are read left to right in CSS, and it should do all wrapping automatically.  If you are having a case in which it does not wrap, I'd like to see that (post the code?) so I could figure out what was going on.

If I understand what you are asking, I think you want the window frameset to be replaced by the new page (so that the new page takes the entire same window).  This is done by using this statement:
<A HREF="myhtm.htm" target="_top">Link</A> as slinky mentioned.

If however you wanted it to open up into a brand new window leaving the current page untouched in the original window, then use this:
<A HREF="myhtm.htm" target="_blank">Link</A>
using "_new" as slinky mentioned does not work correctly, but will actually open into a new window, just not with the functionality expected (it creates a new window named _new, so if you tried to open another window using the same method it would open it into that same window instead of a new window because _new would refer directly to that window.  _blank creates a brand new window every time).

Hope this helped!
-Josh

0
 
slinkyCommented:
Ooops...indeed _blank not _new...my memory ain't what it used to be...

smeebud. what you need to do is..

<BR><IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8><A target=_top       <-- add this here
HREF="Setup.html">Setup
and Re-install Windows 95</A>
0
 
slinkyCommented:
<BR><IMG SRC="pix/ball.gif" NOSAVE BORDER=0 HEIGHT=8 WIDTH=8><A target="_top"      <-- add this here
HREF="Setup.html">Setup
and Re-install Windows 95</A>

might need quotes!
0
 
jbirkCommented:
I see you use a generator for coding slinky...  (the remaining NOSAVE, which is only meaningful to the generators -- I think that one is netscape composer?)  But yes, that is the way to do it as I mentioned in my answer!
:)
-Josh
0
 
smeebudAuthor Commented:
jbirk and slinky,
J, what more do you need to see, i'll happily provide it.   A whole .html??

Slinky the "<A HREF="95Tuneup.html" target="_top">Link</A>" or
<A HREF="95Tuneup.html" target="_top">Windows 95 Tune up; A must</A>  WORKS GREAT:::)))

"Windows 95 Tune up; A must" it's the only one I've changed so far." And it has the nice ALT+left arrow or back button to return. I like that.

jburk, I'll have to re-open this for now.
if need be, I'll make two seperate questions for you both to answer.
Have not messed with the wrap yet.

Please see, http://www.geocities.com/~budallen/
"Windows 95 Tune up; A must"
That's what I want, save for thwe wrap and font size.

Thanks both.

Bud
0
 
jbirkCommented:
I looked at your page and noticed that you changed the left frame to not use text-align, and it seems to be working fine.

Is there is a problem with the way it looks?  I'm viewing it on the suggested 800 X 600, and I see:
"Windows 95 Tune up; A must"
just like that (it's not wrapped because it fits in one line).
Is that what you were looking for?

-Josh
0
 
smeebudAuthor Commented:
jbirk,
Well no,
When I didn't know how to make a full page and it was all confined to the reght frame, that's where i have the problem.

I have to do a lot of text juggeling to not have the words in the left frame messup. I need a wrap statement there too.

just tell me what you need.
I'll upgrade the points.
You guys are the only real help i've come across.
How about e-mailing me from my site.
I promise I won't bug you::)).
I get enough of that myself.

Bud

What the heck is NOSAVE. I've been asking all over about that.


Bud
0
 
OttaCommented:
> What the heck is NOSAVE. I've been asking all over about that.

Most browsers "save" a downloaded image,
so that when you navigate to some other page,
and navigate "back" to this page,
the browser can used the "saved" copy of the image,
rather than fetching a "fresh" copy over the Internet.

0
 
slinkyCommented:
No, jbirk I don't use a generator (I pasted that from smeebud's page)...I use Emacs!
0
 
jbirkCommented:
Wow!  You use Emacs!  A unix user.  How can you stand that program?  It drives me crazy...  I suppose there's not much choice with unix though.  Better than VI I suppose.

-Josh
0
 
smeebudAuthor Commented:
jbirk or slinky.
Well we seem to be working togeather here so how about one of you answering this, and I'll put up another just like it so the other can answer.
I know you both said you're not worried about the points, but allow me please to award you both.

BTW, thanks otto. The nosave then to me seems counter productive as far as load time go, correct??

Regards
Bud
0
 
slinkyCommented:
Well I was a UNIX user but predominantly PC based now.
Still WinEmacs is not too bad!
Sure thing smeebud, I'll await the follow-up question.

0
 
smeebudAuthor Commented:
Yep,
Check out the Buttons at http://www.webdev.net/orca/
and see how they show other sub-catagories.
I tried to steal that but i think they made it us-stealable:)

I'll write them.

Stay in touch
and thanks
Bud
0
 
smeebudAuthor Commented:
jbirk,

Was it you or slinky that was going to make me a demo???

Lost my e-mail addesses.

Bud
0
 
jbirkCommented:
I think it was slinky, because I don't recall anything like that.  I had mentioned some stuff about style sheets and had said if you wanted more help on a specific thing which I had mentioned (don't remember what anymore), that I would help.
-Josh
0
 
OttaCommented:
> The NOSAVE then to me seems counter productive
> as far as load time go, correct??

Yes, but it may be useful, if the image changes
(like a snapshot from a video-camera) each time
you "visit" a web-page.
0
 
jbirkCommented:
It could also be useful for the developement stage of a web page so you don't have to worry about caching of images which are being changed or modified, etc.
-Josh
0
 
smeebudAuthor Commented:
Josh, was it you that offered a Demo for me??

If I tale NOSAVE OUT, does that mean that the images DO get saved or they DON't get saved??

Bud
0
 
OttaCommented:
Images are saved, in the browser's "cache",
unless you specify 'NOSAVE' (under the assumption
that the specific browser does recognize the 'NOSAVE' option).

0
 
smeebudAuthor Commented:
Thanks Otta.

For people visting my site, it seems it would reduce load time when they come back, right.

is it safe to remove NOSAVE from all my .html files.

Please have a look at http://www.geocities.com/~budallen/
And tell me how it loads for you.

Bud
0
 
OttaCommented:
> it seems it would reduce load time when they come back, right.

The use of 'NOSAVE' will *INCREASE* load-time,
because a "fresh" copy of the image must be fetched.

> is it safe to remove NOSAVE from all my .html files?

It depends -- how "dynamic" are your images?
If you have an image which is a "counter",
like an automobile odometer, then use 'NOSAVE'.
If you have an image which is a picture of a "mailbox",
then omit 'NOSAVE'.

0
 
smeebudAuthor Commented:
Thanks Otta

Bud
0
 
jbirkCommented:
Everything loaded really quickly except for the right frame with the big image and the counter (the counter seemed to take a while for me).  Since the page is mostly text it loads nicely.  You probably don't need to worry about it.
-Josh
0
 
smeebudAuthor Commented:
Thanks Josh,
Now I forget.
Was it you that was going to build me a demo, as we talked about and easier design for people to find things??

Bud
0
 
jbirkCommented:
I thought I had responded to this question but it didn't show up above??  Some network error I guess.  Oh well.
I can't recall that I had offered that.  I had said I would help further with your style sheets or look into including them, but I can't recall anything about a demo.  It must have been slinky.

-Josh
0
All Courses

From novice to tech pro — start learning today.