Jump to content

Jammy_Stuff

Members
  • Posts

    21
  • Joined

  • Last visited

Everything posted by Jammy_Stuff

  1. Here. I've made a few minor changes but I didn't see much wrong with it in the first place. This sort of thing is working on my site so it should on yours too. Try it and let me know.
  2. Sorry. I just managed to work it out myself by also adding a #main in addition to the #menu within #outer and setting widths for them both. It does seem alot of code though. Any better way?
  3. Jammy_Stuff

    Vertical Menu

    I'm trying to make a menu that goes on the right of my website. Here is the stylesheet that I'm using and this is is an example page. As you can see, the menu gets pushed down as content is added to the page.Can anyone help me? (Just incase it changes anything, a logo image will be on the final site, at the top, using the #logo class. The menu will need to go below this.)
  4. Works now. Strange. It wasn't working on the actual site but when I uploaded it on the testing site, it started working on both. Cheers.
  5. Done. It still shows up .
  6. I've added your bit about margins and padding and I'm still getting the bit at the top. Here's a screenshot with the bit I want rid of circled in red.http://www.james-wheatley.co.uk/files/Screenshot.jpg(left as a link for dial up users)
  7. Ok. Adding min-height:768px to it has kind of sorted out the problem of it not reaching the bottom of the page but I'm not too keen on it as it is screen resolution specific. It still means there is a gray bit at the top as well so I would like to get rid of that. Anyway, I've thrown together a quick example page so you can see it.http://www.james-wheatley.co.uk/css/index.php
  8. I'm currently working on a new design for my website and I'm going for a two tone idea. I have centered the content of the page and made it 780px wide. I want the center bit to be a different color to the rest. Here is the code currently:body{background-color:#333333;color:#999999}h1, h2{text-align:center;}#outer{width:780px;background-color:#000000;margin:auto;}The problem is, when a page is less tall than the monitor, I just get a gray background with a black box in it (when I want sort of a black stripe in the middle and a gray stripe on either side.Any ideas?
  9. I've tried that and here is the results. It validates, but doesn't seem to have any effect in Firefox or IE.
  10. Here's the contents of my index.html file: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"><html><head><title>Welcome to James' Site</title><meta http-equiv="content-type" content="text/html; charset=utf-8" /></head><frameset cols="20%,80%" frameborder="0"><frame marginwidth="0" noresize="noresize" src="navigation.html" /><frame marginwidth="0" noresize="noresize" src="home.html" name="mainframe" /><noframes><body>Your browser does not support frames. <a href="http://www.mozilla.com/firefox/">Get Firefox!</a></body></noframes></frameset></html> This works in firefox but in IE there is still a border on the frames. Also, it doesn't validate. I tried that thing about putting frameborder="0" in the frame tag rather than the frameset. That validated, but had borders in every browser. So it was totally pointless.
  11. Nope. It doesn't seem to like the frameborder part. Is there any way of doing this with CSS or something?
  12. My website has a navigation frame on the left, and the page on the right. It is done in XHTML frameset. I used to have an annoying border or the frames. I added the attribute: frameborder="0" Now, the annoying border doesn't appear in firefox but it still does in IE. Also, the website fails validation as the attribute doesn't exist. Is there any way that I can get it to validate (preferably also getting it to work in IE).If there isn't a way to get it to work in IE, I'll just add a note that the page works best in Firefox .
  13. I've implimented this code into my website now as I thought it looked quite cool. Just a quick question though. How do I get it to the left of the site with the site on the right?
  14. Actually, I like that CSS one. Can someone help me seperate out the menu affiliated code on that page from the general other stuff?
  15. My site is finally beginning to come together but I don't think much of the nav bar (a frame to the left of the main page full of images). I was thinking of doing one where for example you could have When you click one of these, it goes to the page it is linked to. However if for example you hover the mouse over news, another vertical bar pops out to the right of news saying December 05, January 06 etc.What I want to know is can this be done in javascript, is it a good choice and how do I do it?
  16. Shame I really don't know PHP. I went through the tutorial here but it didn't tell me how to do much.[Edit: Can someone give me a hand? I found the dbase commands but I don't know how to use them]
  17. I was wondering if it would be possible to make a page where I could write client details to and read client details from a database? I guess the database would be an SQL one and the laguage would have to be PHP.Anybody know if this is possible?
  18. Thanks. That sorted out the encoding error. Seeing as I'm getting the same errors in both I'll post up the current code of the navigation.html file: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"><html><head><title>Welcome to James' site</title><link rel="stylesheet" type="text/css" href="navigation.css" /><meta http-equiv="content-type" content="text/html; charset=utf-8" /></head><body><a href="home.html" target="mainframe">Home</a></body></html>
  19. Okay so I'm making my first website and I've come to a problem when validating. I have three html files on my site so far. One is index.html which contains two frames and navigation.html and home.html which open in the frames.When I validate http://www.james-wheatley.co.uk/index.html using validator.w3.org, I get a tentative pass with this error: I get that error with all three files.With navigation.html and home.html, I get failures due to these two errors: and Can anybody lend me a hand as it's got me stumped.
×
×
  • Create New...