Jump to content

SmokingMan

Members
  • Posts

    188
  • Joined

  • Last visited

Everything posted by SmokingMan

  1. I want a CSS menu on each page, the menu will be the same on all pages. Is there a way to link to it and have it as an external file, or do I have to code it into every page?
  2. Excuse me for thinking out loud here, but could it be that since the "nav" element and the "content" element are children of the "main" element, be the reason that when the drop down is activated, it pushes the content down instead of flowing over it?Nevermind, I got the dropdowns going over the content now. All I need to do is still center the menu and get the pop-out for "Shelby>Movies" to pop out to the right spot. It pops out, but it doesn't go where it should. It pops out to the right, but up against the next heading, not straight out to the right like it should.Okay, all is fixed except for the centering of the menu. I don't know if it can be done, but I've managed to fix all of the other issues while still retaining most of my hair. Any suggestions?
  3. Yes, the border attribute has been deprecated. I always use CSS now to remove that lovely blue border.
  4. I have discovered that if you hover over the far left portion of the 1st <h2> in the menu, it does drop down in FF. But none of the other <h2>'s work, and only a portion of the 1st <h2> is active.Hmmm...now I'm really confused.With a little dinking around (yes, that is the technical term), I found that the "nav" element was sitting under the "content" element so the menu was in essence hidden and unable to be activated. By setting the z-index of the "nav" element, that took care of that. But the menu still won't center, and the pop-out under "Shelby>Movies" doesn't pop out to the side, it just drops down. And the drop downs still push down the content instead of just dropping over it.It's getting closer, but there's still a few minor problems.
  5. I'm trying to put together a CSS menu for one of my sites. I've got it working in IE (kinda), but not at all in FF. AT least in IE the drop down works and all options are shown. But in both IE & FF the menu does not center in the page, and the link under "Shelby", there should be a pop-out when you hover on the "movies" link, but it just drops down not out to the side like it should. But in FF nothing works at all. I'm at a loss. Here's the link to the domain I'm using for testing.And here's a link to the CSS I'm using.My eye's have had it, I need a fresh set to look at this. I used a tutorial at Tanfa to put this menu together. I've looked it over and went through the tutorial and have a basic understanding of how it works. And I've customized it for my site. But I can't find the problem.Also while I'm at it, the z-index is set so the drop downs will drop over the page content. But at least in IE, it just pushes the content down. I tried setting the z-index for the page content, but it didn't work. Is this an IE thing, or is the CSS coded incorrectly?Help!
  6. Gee...now I really feel ancient. I didn't get into web based coding until I was into my mid 40's! Before that the last code I wrote was COBOL, BASIC, and Assembler back in the 80's (the 1980's, you know, the last century). Now where did I put that Geritol
  7. Registering domains is cheap, and hosting is also inexpensive. I paid about $30 for my domain for 3 years and $40 a year for hosting. In the grand scheme of things, not a lot of money. So why look for something free that you have little control over when you can have full control for very little money?
  8. If I've learned anything, it's that you need to have patience to learn the ins and outs of CSS, and all other aspects of using markup languages. Not to mention keeping your code up to W3C standards. It takes time, you can't rush into it and expect to understand and retain what you've read after one time.If you don't have any patience, and expect to just be able to read the tutorials and magically understand it all, including browser specific bugs, then you might want to take a step back and reconsider. This does not come easy or quickly.
  9. There's an HTML quiz on the W3C School site. Is that what you're looking for? It will give you an idea on the depth of your general HTML knowledge.
  10. SmokingMan

    html

    You would need to host the site to be able to upload the image to it. To display an image on a site you need to upload it to the site, and you use the <img> tag in your HTML to tell the browser the name of the file, and it's location. The basic format is: <img src="the file location of the image goes here" alt"image name. or you can leave this blank, but it needs to be included"> There are other attributes you can include, but this is the tag at it's most basic. You might want to go through the HTML tutorial at W3C Schools. It will give you a basic understanding of HTML and how to use it.
  11. Site Name: FTWIN.comSite Description:A portal for my other sitesSite Owner/Developer:MeSite Address:http://www.ftwin.comExtra Comments:This is a hobby for me. I use this site and others to sharpen my coding skills. As I learn more I upgrade my sites to reflect it. And if someone is curious, FTWIN is an abbreviation of the city I live in. Any comments on my site design would be appreciated. My sites are continuously evolving, they never seem to be done.
  12. A $10 domain and free hosting wouldn't be so bad as long as you were given enough space and bandwidth, and there were no ads. I pay $40 a year for my hosting. I get 500MB of space with 7GB of bandwidth. This is soon to increase to 750MB of space and 15GB of bandwidth. This includes up to 7 sub domains, SQL Server, and a plethora of other features. Not a bad deal in my opinion
  13. I ran the W3C Validator on my CSS and it validates, but with three warnings. I don't quite understand them, so I thought I'd post them along with my CSS so someone can maybe 'splain them to me.Here is my CSS: /* Meadow Muffin Stylesheet */body {background-image: url(images/pastel-bg.gif); background-color: white;}.main {width: 100%; height: auto; margin: auto;} /* main page container */.header {width: 600px; margin: auto; height: auto; position: relative;} /* site banner */.nav {width:100%; position: relative; height: auto;} /* navbar block */.content {width: 100%; height: auto; position: relative;} /* page text and image content */.maincontent {width: 90%; position: relative; height: auto; left: 5%;} /* main page content */.footer {width: 100%; height: auto; clear: both;} /* page bottom, banners and stuff */.mainfont {font-family:arial, serif; font-size:90%; font-style: italic; text-align: justify; color: maroon;} /* main page font */.randomimage {padding-left: 10px; padding-bottom: 10px; padding-top: 10px; float: right;} /* random image properties */ Here are the warnings I got: I have a background color with my body declaration. And what do the warnings from Line 17 mean. I'm at a loss.
  14. No, they are from the JavaScript Bible v5. Here's the table I was looking at: Table 10-1: Some Date Object MethodsMethod---Value---Range DescriptiondateObj.getTime() 0-... Milliseconds since 1/1/70 00:00:00 GMTdateObj.getYear() 70-... Specified year minus 1900; four-digit year for 2000+dateObj.getFullYear() 1970-... Four-digit year (Y2K-compliant); version 4+ browsersdateObj.getMonth() 0-11 Month within the year (January = 0)dateObj.getDate() 1-31 Date within the monthdateObj.getDay() 0-6 Day of week (Sunday = 0)dateObj.getHours() 0-23 Hour of the day in 24-hour timedateObj.getMinutes() 0-59 Minute of the specified hourdateObj.getSeconds() 0-59 Second within the specified minutedateObj.setTime(val) 0-... Milliseconds since 1/1/70 00:00:00 GMTdateObj.setYear(val) 70-... Specified year minus 1900; four-digit year for 2000+dateObj.setMonth(val) 0-11 Month within the year (January = 0)dateObj.setDate(val) 1-31 Date within the monthdateObj.setDay(val) 0-6 Day of week (Sunday = 0)dateObj.setHours(val) 0-23 Hour of the day in 24-hour timedateObj.setMinutes(val) 0-59 Minute of the specified hourdateObj.setSeconds(val) 0-59 Second within the specified minuteI was just unsure as to what the "dateObj" represented, and if it was required, a reserved word, or a variable of my choosing.
  15. I'm having some trouble understanding the Date Object syntax. I understand the "get" & "set", but what is it that goes before the date object? In "dateObj.setTime()", what is it that you put in place of "dateObj"? Is it a variable of my choosing? Or are there certain keywords that need to be used in this instance? I don't know why I'm having so much trouble getting this into my little pea brain, but right now it's about as clear as mud.Any and all help would be greatly appreciated.
  16. When writing a script to do calculations on a date, what is the difference in the different methods? Such as "dateObj.getDate()" and "dateObj.setDate()". In looking at a table listing the different methods, it doesn't really explain the difference between the "get" and "set". At least not in the chapter I'm currently working in.Soon after I posted this I got it and understand the difference.
  17. But is this really a problem that one needs to concern themselves with when designing pages? More people (at least in the USA), are going to broadband, so I would think that this would be a moot point, at least in my opinion. I'm just curious as this is the first time I've ever seen this being proposed as a possible problem.
  18. I installed the "Web Developer" extension on FF and when I was viewing the "speed report", this was one of the cautions I received: Can someone make sense of this and explain it to me? Does one need to be aware of the size of a CSS file, and if so, maybe split it into multiple stylesheets? This looks like a very useful tool for development, but I wasn't aware of any CSS file size optimization criteria.
  19. I use FF for most of my browsing, but I've noticed that if I leave it up and switch users on XP, it has a tendency to become somewhat unstable once I log back into my account. But I still use it probably 90% of the time. Although I am curious as to how the new and improved IE 7 will be once it's released.
  20. Right now Microsoft is giving away free downloads of several developer tools. Among them are C# 2005 Express and C++ 2005 Express. These are light but fully functional versions, and they are free until November of this year. Here's the link:http://msdn.microsoft.com/vstudio/express/default.aspxThere's a lot more they are offering. You can download and install from the site, or you can download and burn to CD. Both instructions are on the site. Good luck!
  21. So I guess I was trying to re-invent the wheel I'm teaching myself JS, and with no one here to talk to and ask questions of, it's slow going. Thanks!
  22. I'm trying in this exercise to change the color of a page according to a drop down selection. But no matter what is selected, the page always goes to the same color. I know I've probably missed something simple, but I'm still learning JS and it's just not jumping out at me. Here's the code: <title>Chapter 9 Exercise 5</title><script language="javascript"><!--function changeBgColor(list) { color = list.options[list.selectedIndex].value // assemble data for new document color var newColor = "<html><head><title>New Color Document</title></head>" newColor += "<body bgcolor='color'><br><b>Click the back button for original window" newColor += "</b></body></html>" // write new document document.write(newColor) document.close() // end rewrite }--></script></head><body><form>Select a background color:<select name="colorList" onChange="changeBgColor(this)"> <option selected value="red">Stop</option> <option value="yellow">Caution</option> <option value="green">Go</option></select></form></body> What am I missing here? As I have the variable 'color' defined, would it not contain the value selected in the dropdown list? I tried doing this without having the first option selected, but there's no difference. The new page is always red.
  23. I do understand the difference between design and development. I would like to know enough of each to be able to contribute what is needed for the development and design of the site. But, when it comes to graphical talent, I'm afraid there's nothing short of divine intervention that would allow me do design a logo or banner. I know the basics of Paint Shop Pro, and can do some very minor things, but I have no talent in that area. If there is an artisitic gene, I was born without it So I'll need to concentrate more on the technical expertise needed to code the site and make it do what the owner of the site wants it to do. I'll depend on others for graphical design.***by the way...if I didn't go over each post two or three times, my spelling would be horrible...where in the heck is the spell check feature anyway
  24. Thanks for all of the suggestions. I have the basic understanding of XHTML and CSS, and I'm currently working on learning JavaScript. The programming end is more of what I'm interested in, although database management and integration is also more along my field of interest. As far as web design, I think that most anyone can learn how to use WYSIWYG editors, but you need to know the workings of the code behind them. That's why I'm more interested in the coding aspects of web development.I can see I've got a ways to go yet, but with a little work, who knows.
  25. I've been building web sites as a hobby, but would like to maybe make a little money on the side designing sites for others. Other than the obvious, HTML, XHTML, and JavaScript, what other areas of study would be good as a core of web building subjects to know? For example, would server-side languages and database integration be handy to know? Any suggestions on what would be helpful to know? I don't have the time or money to take classes, so what ever I learn I will be teaching myself at home.
×
×
  • Create New...