Jump to content

gawain

Members
  • Posts

    43
  • Joined

  • Last visited

gawain's Achievements

Newbie

Newbie (1/7)

0

Reputation

  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
×
×
  • Create New...