Jump to content

SillyBilly

Members
  • Posts

    109
  • Joined

  • Last visited

Posts posted by SillyBilly

  1. How can I put a URL in a reply without having to include the title of the web page. I add the hyperlink and then the prompt window appears requiring a title. When I press CANCEL there is an error message reading that I need to enter a title. I want the URL to show rather than the title.A work-around would be appreciated.

  2. http://www.w3schools.com/myfirst/html00.aspThat example sets a goal for the tutorial. Is that what you had in mind? Only it could be more advanced layout-wise.

    The link below is to the first site that I used to learn how to created a web site. It is a tut from a college. It is well written and explained. Some of the HTML code isdeprecated, but it is the best for your purposes.The w3schools examples made much more sense after I worked through the tut. I finished CSS and am now learning JavaScript at a site other than W3schools for the same reason.Webpage Tutorial
  3. thanks !!! and one more question ?Could you tell me the differences between DOWNLOAD and SAVE AS ???thanks !!!

    Download means to bring something like a program file, an image file, or a document file from somewhere and put it on your computer. Of course, it has to go somewhere, like the Hard Drive. But you could download it to a floppy disc or a CD.When you Download something you will be given the choice of where to put it. This is Saving it to the HD, or a floppy, or a CD.SAVE AS is a method of saving something with a different name in a different folder. For example, you have opened your favourite wordprocessor and typed part of a letter. If you try to Save it, you will notice that it doesn't have a name yet. Type in an appropriate name and before you click OK or Save notice where the letter will be saved i.e. in what folder. You will probably want to retrieve it to finish writing the letter.SAVE AS gives you the options of saving the same file (letter) with a new name and/or in a different folder. You might wish to keep the original without the additions/changes in case you need to start again.The first time I save anything I use the SAVE AS option, so I can control the name I will use for it and the folder where it will go.When I DOWNLOAD I always save the file to the DESKTOP so I can get to it easily. I have a folder called Downloads on the Desktop.
  4. i got a problemi've searched on the forum but i couldn't find anything that suited my needs, and also on the web too.maybe i'm not searching for the right things.i had some code that centered the page nicely.but for some reason it doesn't work when i put in some new content.div html
    <div id="outer"><div align="center" id="header" style="border: 3px #00ff0c solid; "></div><div align="center" id="content1" style="border: 2px silver solid; border-top: 3px silver solid; "></div></div><div id="main" style="border: 2px silver solid; z-index:1; position:relative; top:-50px; left:0px; "></div></div>

    css

    div#outer {width: 80%;margin-top: 20px;margin-bottom: 50px;margin-left: auto;margin-right: auto;padding: 0px;}div#header {background-image:url('backgroundimage.jpg');padding: 15px;margin: 0px;text-align:left;}div#content1 {padding-bottom: 10px;padding-left: 0px;padding-right: 0px;padding-top: 0px;margin-top: 1px;}div#main {margin-left: 10%;margin-right:10%;padding: 0px;}

    i dont know how theres an extra closing div tag in the code..its been a while since i've worked with the code.and i've always thought class should be used instead of id.has anyone got a simpler code for centering a page usng divs?i just got a flash movie (800x300) and some other small pictures and a small menu which can go in some other divs probably inside a main outer div.

    In the style or CSS put
    .cent {text-align: center; }

    In the body put

    <div class=center>lots of text</div>

  5. How do you hide the scrollbar/it`s not possible to scroll down the page?

    If there is not enough text to fill the page, the scrollbar should not appear. The top and bottom arrow boxes are there but not the bar.If you are using frames, and want to have no scrollbars appear even though the graphic is too large to fit, add scrolling=no
    src="stone.html" scrolling="no"

  6. Thank you for the correct code. I mistyped.  I use the color property for the font color in my CSS.  But it is always best to have the correct terminology.  I made another note.

    Just a follow-up to the above, because the code worked as expected when I made a new file with that code only, but it did not in my file. The reason was that I had another span that I did not name originally and it passed it down some of the attributes. Here is the code, which I corrected by naming the first span (.letter), and by adjusting the font-size in the second span.
    <style type="text/css">span.letter{float:left;width:.07 emfont-color: #FFFFCC;font-size: 400%;font-family: verdana,helvetica,arial,serif;line-height: 80%}span.colour{color:#FFFFFF; font-size: 100%;}

    I'm learning. Thanks for being patient. Now I'll work on the deprecated center.

  7. I guess you were saying the use of color as follows
    <font color="blue">blue text</font>

    is deprecated?The color property used in css is still alive and kickin' ...

    Thank you for the correct code. I mistyped. I use the color property for the font color in my CSS. But it is always best to have the correct terminology. I made another note.
  8. I am using this as a DTD

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 TRANSITIONAL//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    Since color is deprecated, I have tried to use CLASS, DIV and SPAN but they put the words at the beginning of a new line, causing the words of the sentence to be out of order. I had no success with ID. I have read many articles, explanations and examples, but none I saw address my problem.I want to change the color of three words in a sentence, there, their, they're. For example, the 3 homonyms should be a different color than the others.When you write your sentence will you use there, their or they're correctly?Any comments or suggestions would be appreciated.

  9. I'm confussed about the warnings I get when I validate using Tidy. The code is,

    <!--DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN "http://www.w3org/TR/html4/loose.dtd"--><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta name="generator" content="HTML Tidy for Linux/x86 (vers 1st November 2002), see www.w3.org"><meta http-equiv="Page-Enter" content="revealTrans(Duration=3.0, Transition=13)"><link rel="stylesheet" type="text/css" href="mystyle.css"><style type="text/css">@media print {

    The warnings are,1. Warning: [style] lacks "type" attribute[style]2. warning: [style] isn't allowed in

     elements[style type=text/css](square brackets replacing greater than and less than)Any comments and suggestions would be appreciated.
  10. For #1...quote from msdnIn other wordsI would imagine that if you remove the line containing "scrollbar-base-color" you will then get an error about the next line#2 It is actually a warning, but... You should have a background color defined if you define color. Works the other way around, too. I'm sure you can be resourceful enough to figure out how to work a search engine and find reasons why... In your case, you know that the links will inherit the background color from the body element, so you don't nee d to worry about it. So a recap... #1 is an error because you are trying to use an MS extension which is not part of standard CSS - you will need to get rid of it if you want to follow standards. #2 is a warning about an accessibility issue - you can ignore it if you like.

    Thank you to aphotic and sbrownii.  I feel much better now.  I suspected the first one after reading other articles and posts.  As to the second one, I was at a loss since both codes work well in IE.
  11. I ran my style sheet through the validator and I don't understand the errors.1. My scrollbar property and colors are not recognized as valid

    body {scrollbar-base-color: #fafad2;scrollbar-track-color: #000000;scrollbar-shadow-color: #ffd700;scrollbar-3dlight-color: #ffd700;

    The error for all of the above is Property scrollbar-base-color doesn't exist : #fafad2 2. This another error that confuses me

    body {background-color: black;background-image: url("pictures/blackmarble3.gif");font-family: helvetica, verdana, arial, sans-serif;color: #FFFFCC;font-size: 11pt;margin: 1em 0.5em 1em 0.8em;}a:link {color: #FF0000;}a:visited {color: #0FF000;}a:hover {color: #FF00FF;}a:active {color: #00FFFF;}

    The error isLine : 22 (Level : 1) You have no background-color with your color : a:link Line : 25 (Level : 1) You have no background-color with your color : a:visited Line : 28 (Level : 1) You have no background-color with your color : a:hover Line : 31 (Level : 1) You have no background-color with your color : a:active I put the background color as black in case the gif does not display.I have colors for my links. The Validator gives the following as the correct code

    body {background-color : black; background-image : url("pictures/blackmarble3.gif"); font-family : helvetica, verdana, arial, sans-serif; color : #ffffcc; font-size : 11pt; margin : 1em 0.5em 1em 0.8em; } a:link {color : #ff0000; } a:visited {color : #0ff000; } a:hover {color : #ff00ff; } a:active {color : #00ffff; }

    This code looks like mine.Any comments or suggeations would be appreciated.

  12. I have many pages that will print as they appear on the display. I have included this code to enable black on white printing, rather than the background and font colors.

    @media print {body{background-color:#ffffff; background-image:none; color:#000000; }#ad{ display:none;}#leftbar{ display:none;}#contentarea{ width:100%;}

    The pages that have absolute positioning of the text appear correctly on the screen, but are shifted to the right about 4 cm when printed.In fact, this occurred when I used the pre tag and when I changed the code to position absolute. I have been reading about some problems with IE6 printing and came across this code, which I haven't tried.

    @page { margin-left: 3cm; }

    which might move the text to the left.Is there some code that will render the page on the paper as it is on the screen?

  13. You could use pre or   but css allows you to postion elements on a page, for example set it's position to absolute then say where you want it placed on the page with the top left of the screen being 0,0 co-ordinates, have a look:
    <head><style>.male{ color:blue;}.female{ color:pink;}</style></head><body><p class="male">Peter</p><p class="female">Carol</p><p class="male">Stuart</p><p class="female">Lynn</p><h1 class="male">Bob</h1><h1 class="female">Linda</h1><p>This is a paragraph containing a <span class="male">male</span> and a <span class="female">female</span>.</p><div class="male" style="position:absolute;top:450px;left:500px;">I am absolute positioned male</div><div class="female" style="position:absolute;top:50px;left:200px;">I am absolute positioned female</div><div class="male" style="position:absolute;top:0px;left:300px;"><h1>I am absolute positioned male2</h1></div><div class="female" style="position:absolute;top:210px;left:20px;"><h1>I am absolute positioned female2</h1></div></body>

    WoW! scott are you fast. I was getting a screenshot to display what I was trying to do. I have 9 pages of family trees that need to be recoded. That is going to be a job.Thanks for your helpCarol.JPG.
  14. Font is old skool don't use it anymore, use css and in this case classes, create one for male and one for female and then call them like so:  :)
    <head><style>.male{  color:blue;}.female{  color:pink;}</style></head><body><p class="male">Peter</p><p class="female">Carol</p><p class="male">Stuart</p><p class="female">Lynn</p><h1 class="male">Bob</h1><h1 class="female">Linda</h1><p>This is a paragraph containing a <span class="male">male</span> and a <span class="female">female</span>.</p></body>

    Thank you Scott for your reply and code.I will call the main CSS in the head and then add the code in the style tag. That will override the font-color of the CSS when needed because the tree branches are yellow, which is the font color in the CSS.I will also leave the strong tag around the surname.Trusting that this is correct.EDIT: The p tag starts a new line at the left margin. I want to start the name at predetermined spots on the page using the pre tag.EDIT2: I have a work around by putting many   to get to the predetermined spot. Is this the way?Bill
  15. I have set up a family tree using the pre tag, and have used blue and pink for the colors of males and females. I have a CSS for all the pages, but am a bit concerned that I have to use the font color tag for each person on the tree. For example,

    <font color=#87cefa>Peter</font>    and    <font color=#ff00ff>Carol</font>

    Is this too much markup? Should I be including it in the CSS and if so How?Any comments and suggestions would be appreciated.

  16. Thanks Eric.  I got used to closing all the tags, so I would not forget the ones that needed a closing tag.The code works some of the time on some of the pages.  It varies as to the page.  I tried moving the image from the web page to a hosting site, but that made no difference.  I'll keep trying.

    I read many articles on different sites to confirm my understanding. By experimenting I found that the code works on all pages except the one that uses images in frames.
  17. <meta> doesn't need a "closing tag" as the element itself is an "empty tag".If you're using XHTML syntax (instead of HTML) then you just "self close" the element, as I showed before.<meta http-equiv="imagetoolbar" content="no" />If using HTML syntax, you leave it as-is<meta http-equiv="imagetoolbar" content="no">Dynamic Drive only showed you the HTML syntax, it forgot about the XHTML syntax (as I showed in my post).

    Thanks Eric. I got used to closing all the tags, so I would not forget the ones that needed a closing tag.The code works some of the time on some of the pages. It varies as to the page. I tried moving the image from the web page to a hosting site, but that made no difference. I'll keep trying.
  18. "similar"?It's the same exact code :)I'm even supprised Dynamic Drive has it on their pages, as they usually only deal with "DHTML" stuff, and this <meta> tag is Static (Not Dynamic).lol, what will those crazy folks at Dynamic Drive think of next :(I can't believe they actually labeled it as "Disable Image Toolbar script"It's not a script :)

    I tried both of the codes and neither stop the box from appearingcross1.gif" GALLERYIMG="no"greater than and less than replaced by [ and ] for posting.
  19. I have gif and jpg images on some of my pages. When I mouse-over them I get a box with icons. The icons give the options to save, print, e-mail, open my pictures folder.This is very annoying. I do not see this on commercial sites. Is there a code to stop this box? Do I need to use javascript?Any comments or suggestions would be appreciated.

  20. Thank you for your reply. I appreciate your comments and suggestions. I got this code from Fixed ToolTip script- © Dynamic Drive (www.dynamicdrive.com). I checked the my code in Notepad and there is no forward slash as it appears in Tidy. I would think that such an occurence in the code would create problems.Secondly, I don't understand the other warning that reads <style> isn't allowed in <html> elements. I understand that <style> goes in the <head> and that goes in <html>. I have <style> in <html> in other pages, and Tidy does not report a warning.I'm going to Dynamic Drive and Tidy to hear what they have to say.Bill

×
×
  • Create New...