Jump to content

gawain

Members
  • Posts

    43
  • Joined

  • Last visited

Everything posted by gawain

  1. gawain

    XML and CSS

    What can I say? Thanks a lot is not enough. Your answer would prompt me to ask you some follow-up questions, but I'll come back. First I need to work on xml w3schools tutorials.Thanks again
  2. gawain

    XML and CSS

    Thanks a lot Mr been_robot. I've read your answer quite carefully, so carefully that I've been reading around about xml, so that I'm seriously thinking of restarting everything about the site I had in mind.But if I can, one more question: which version of xml would you suggest, microsft xml (MSXML) or ... the other one?Thanks
  3. gawain

    XML and CSS

    Thanks a lot kvnmck18 for answering.I haven't any XHTML code.I'm just trying to understand if it is worthwhile learning xml or if itis something which is an alternative to XHTML + CSS.As far as I can understand it seems that XML enables me to do something which otherwise I couldn't do just with plain CSS and PHP; therefore it's worthwhile learning and investing time on it.Please, if you can confirm this.Thanks a lot
  4. gawain

    XML and CSS

    Hi everybody.I'd like to know something about XML, but before starting to read the tutorial, I was wondering if with a XML file I can obtain the same web page I can have with XHTML+CSS, or if working with xml implies a totally different final output.Thanks for any help
  5. Sorry. I gues I didn't explain myself clearly: when I talk about resizing, I mean that a user may shrink or enlarge the viewport, so If the image is in pixel, it doesn't change its size at all, if it's in em ... well it's scalable. The point is that an em image of the same size of a pixel one is of poorer quality.Do you reckon it?
  6. Hi everybody.I'm trying to use em with images because they allow resizing with Iexplorer, whereas px do not. (But it seems that Iexplorer 7 now allows the resizing of images set in pixels as well. Am I right?). I've chosen a picture and used it twice in the same html page, first time using pixel, and then using em (I've resorted to "em calculator" to convert from pixels to em). Well, the size is the same, but the quality of the image is much better in pixels than in em. If it is so, what's the point in using em instead of pixels?Thanks to anybody who can help me in this
  7. gawain

    PHP and CSS

    Mr_CHisol,my thanks. Your explanation is clear and quite helpful.It helps, it helps
  8. gawain

    PHP and CSS

    Hi all.Maybe a pointless and dumb question, the one I'm going to ask, but as a newbie I'll have a try.I was wondering which could be the difference in uploading an image by using <?PHPprint ('<Img src=Images/ca.jpg>');?> versus a simple CSS code <Img src=Images/ca.jpg> If anyone can throw some lightThanks
  9. Thanks for replying.With this code the page doesn't work
  10. Hi everybody.I've got a simple file with a background image.A) If I've got this doctype I can't see anything in FFox, whereas I can see just a slice of the image in IExplorer 7According to this page http://www.w3schools.com/xhtml/xhtml_dtd.asp ,it should be the right order:1) doctype2) html tag:) If I've got this doctype I can see everything well both in FFox and in IExplorer 7.But the html tag comes firstOne more question: what about when I close the tag in a metatag: is that correct to write the slash at the end, like this: Thanks for any hint
  11. Thanks for replying. The problem has been solved as soon as I resorted to an external CSS: it has been validated by the CSS validator. (So the solution with xthtml - to put it simply - is: don't use internal CSS)As to XTML validator it did validate the file all the same.So thanks again for helping me.I must say I still feel a bit frustated. I'd like to know more about the matter and all the question.I tried to read about doctype and stuff like that, but without the help pf the forum all my efforts were thwartedThanks again
  12. Thanks. I'm afraid the document isn't online; I'm trying to build a centered navigation bar. Anyway this is all the code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN""http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head><title>centered menù</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><style type="text/css">body {text-align: center;}#navlist {list-style-type: none; padding:0; margin: 0; }#navlist{width: 70%; background-color: #036;text-align: center;color: #fff;}#navlist li {display: inline;}#navlist li a {float: left; width: 5em; color: #fff; background-color:#049;padding: 0.2em 1em; /* TRouBLed rule*/text-decoration: none;border-right: 1px solid #039;}ul#navlist li a:hover {background-color: #369;color: #fff;}.c {text-align: center;}</style></head><body><div class="c"><ul id="navlist"><li><a href="#">Item one</a></li><li><a href="#">Item two</a></li><li><a href="#">Item three</a></li></ul></div></body></html>Thanks again.
  13. That's the point which I don't understand. I quoted from the validator.I don't understand what a) a parse error is:) what "Unrecognized" refers toSorry about that. If anyone can help me.Thanks
  14. Hi.I tried to validate my css but I got back this answer:Parse error - Unrecognized : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css"> body {text-align: center;}All the remaining CSS code is valid. But I don't understand where the mistake is and what is a parse error:unsure: The HTML Validification turned out to be OK.Thanks for any help
  15. Great work. usefult indeed. Thanks.
  16. Hi Quanta can save in many Doctypes and switch form one another. At least is supposed to.
  17. Eventually, I got something.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="it"><head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" />1) With this code I can't see the accented characters with Firefox, but I can see them with Opera.2) Then, I rewrote everything - using the same tags - with NVU, instead of QUanta, and the accented characters are seen both in FIrefox and in Opera. 3) My conclusion: something doesn't work properly in Quanta. Can everythng boild down to this?Thanks
  18. I've got a machine runnning Linux: I saw the file with Opera and Mozilla and I see the same thing, i.e., I can't see the accented characters Thanks for keeping helping me
  19. Thanks for replying. Yes, I did. I specified the iso 8859-1 charset.Characters such as: è, à, ò That's corret. I can't see the accented characters in the browser. Bye.
  20. Thanks for answering.The charaters are part of the 8850-1 set.I can't see them in the browser (Firefox on Ubuntu Linux) Thanks again.
  21. Hallo everybody.Accented character with my editor - Quanta plus (on a linux system) - are ineffective; they don't turn out.I use the following code<?xml version="1.0" encoding="iso-8859-1"?>< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">I tried different doctypes, but to none of them works.Thnaks if anyone can help me.
  22. gawain

    center img

    I'm not persecuting you Scott; it was my mistake that I wrote the same question two times.Sorry for that and thanks for your help
  23. gawain

    image in a div

    Thanks again Scott. I work on a linux system so my browser is FFox. I'll check out IE on another pc as soon as possible.
  24. gawain

    center img

    Can I add one more question? What about if I want the image to appear in the middle of the page? DO I have to change the css, by usingbody {backround: #mycolor url('myimage.gif') center fixed no-repeat;or is there another way out?Thanks to anybody who can help me.
×
×
  • Create New...