Jump to content

johneva

Members
  • Posts

    161
  • Joined

  • Last visited

Everything posted by johneva

  1. johneva

    DIV + Overflow

    They have designed it with frames but I would advise againt the use of frames at all, think of a better way.You carnt call a seperate file in a div unless you use an include of some type.Not sure what you did wrong when you tryed using an include but that is the best way to do it.
  2. johneva

    Tables or Css?

    I carnt belive your all still even arguing about this.If you prefer using tables then keep using tables.If you prefer to make sites with div and CSS and conform to W3C standards then keep doing so.If your telling people to use table instead of divs just cos you carnt be bothered to learn how to make sites that conform to W3C standards then DONT!This just gets so boring hearing the same argument over and over.
  3. Your coding is not anywhere near XHTML valid though so why do you have an image saying it is?Validation errorsAlso tables should not be used for layout and styles should be in CSS not in with the rest of your XHTML.Right the reason it plays up once you add the XHTML doc type is cos it swiches from reading your page in quirks mode to XHTML strict mode, in quirks mode the browser will guess at what it thinks is right to do instead of doing as the coding says.
  4. Doing it with CSS will give the same result, the reason CSS is used is so styles are coded seperatly to your HTML/XHTML.I personally dont use tables at all for layout as you have. I use divs and CSS for my layouts.I also prefer a fluid layout myself so that the page looks good on all screen sizes so I would not want to do what your doing anyways.
  5. Yeah there aint a great deal of diffrence in the coding between HTML and XHTML it just forces you to code pages better as it has strickter rules.
  6. You have to have set widths for everything as your mate told ya.
  7. http://www.w3schools.com/xml/xml_whatis.asp
  8. Also whos bickering?Does it not bother you answering the same questions every week just cos people dont run seaches before asking silly questions?These forums are an amazing resource to get help from but it can be a bit annoying answering the same old questions.
  9. It is not something you can really make a mod for though mate.You could design one that picks up on certain keywords but it just would not work as it should, it would pull up wrong threads and let though threads that it should have caught.The problem is not an easy one to fix really your always gonna get new people asking questions before looking for the answer them self. The only option I think is to have a thread full of all the common questions so then whenever one comes though you can just give them the link to the FAQs thread.
  10. W3 schools and other tutorials on the web and forums I use on the web like this one and couple of others I use.
  11. The answer to your question depends on your needs but if you go though the basics of CSS you will understand what I mean by this.You can use absolute positioning but 99.9% of the time this is not the best way.Here are some tutorials I think you may find handy.W3 Schools CSS.HTML Dog CSSA list apart CSS layout tips, tricks and techniquesMax Designs Holy GrailMax Design
  12. johneva

    Some doubts

    Here take a look over this.Link
  13. johneva

    CSS Validator

    It should still say validation passed like in this page here.
  14. No, and why would you want too?They are not styles one is a souce of an image and one is a target for a hyperlink.Cascading Styles Sheet (CSS) are for keeping styling info.
  15. johneva

    Ordered Lists...

    AhhhhhYeah I never tested it in Opera I only tested it in Firefox and IE.DamnNa dont know of any other way.
  16. johneva

    Ordered Lists...

    Sure it does did you copy it?The thing you do have to watch out for is the diffrence in margin between IE and FF but you already know that.
  17. johneva

    Ordered Lists...

    Use float: left; instead of display: inline;heres a quick example.<html><head><title>example</title><style>ol { float:left; } li { float:left; margin:15px; padding:0; }</style></head><body><ol><li><a href="/1">Link 1</a></li><li><a href="/2">Link 2</a></li></ol></body></html> Ya like that dont ya.
  18. Yep your right there are quite a few topics that come up quite regular.
  19. johneva

    height

    If you put a container div around your nav div and content div, then the container is the same height as the content div and the left nav div will then be 100% of the container div.
  20. Na it dont cost out to learn how to code webpages not using these online tutorials.All you need is a code editor Note Pad will do but there are better ones out there such as Note Pad 2 or PHP Designer 2006 and loads more out there for free.First port of call if you have the time then is to learn HTML.W3Schools HTMLhttp://www.w3schools.com/html/default.aspOnce you have ran though the HTML section on here.You will wanna run though the CSS section.HTMLDog also has some very good tutorials on HTML and CSS.If you dont understand anything just give us a shout on this forum and we will soon sort ya out.
  21. johneva

    Scroll Bar

    Like on this scrollable div?http://www.fourlevel.com/nimbus/textarea/scrollable3.htm
  22. Yeah I know what you mean fella.If you make a html file for just the text it will work then, as it does as it should when the file is a html file not a txt file.Other than that I dont know any other way to fix the problem though sorry.Yet another reason why IE sucks.
  23. Oh and welcome to the forum!
  24. Just put the txt as txt in a html file and it will work then.
  25. johneva

    css etiquette

    It is also said that for high-traffic pages embedding your CSS to the page is a good idea anyways. Not sure why really, I suppose it is just less work not having to import the css file.But I do have all my styles in a css file and then any styles that are for one page only in the head of that one page. (Unless your talking a whole layout for a page then an extra CSS file is more approriate I think)
×
×
  • Create New...