Jump to content

croatiankid

Members
  • Posts

    332
  • Joined

  • Last visited

Posts posted by croatiankid

  1. i have a question though, how can divs be positioned the same way as tables? columns and rows allow you to put different bits of data right next to each other? only way i can think of with divs is to use position absolute..but then centerting the website gets confusing.... but im not very used to divs, so i may be wrong.
    you can use padding and margin and float to do all that.
    and also adobe photoshop uses tables to structure webpages created with image slicing- are they actually going against what is considered the proper way?
    yes.
  2. Yea. I agree. No problem with using tables. As for xhtml, the only difference there is that all the tags are closed properly, things are nested, elements are lowercased etc... My site is built with tables and it validates as xhtml just fine. So I see no point in switching to divs.
    problems with using tables for layout: * mixes presentational data in with your content. o This makes the file sizes of your pages unnecessarily large, as users must download this presentational data for each page they visit. o Bandwidth ain't free. * This makes redesigns of existing sites and content extremely labor intensive (and expensive). * It also makes it extremely hard (and expensive) to maintain visual consistency throughout a site. * Table-based pages are also much less accessible to users with disabilities and viewers using cell phones and PDAs to access the Web.taken from hereno problems, eh?
  3. Can you not just upload the page and then link it to us? I mean, I personally would want to just click on a link instead of copying, pasting, saving, and then seeing it and having to delete it later on.
    I second that. I'm not making a file and saving it just to help YOU.
  4. Before you ask a question in this forum, you should check out our HTML Tutorial.
    read the tutorial.
    Differences Between HTML and XHTMLIn HTML the <link> tag has no end tag.In XHTML the <link> tag must be properly closed.
    How to use the <link> tag to link to an external style sheet:<head><link rel="stylesheet" type="text/css" href="theme.css" /></head>

  5. put 2 periods in the href/src. for example, to get an image one directory up, use src="../image.jpg". you could also enter another directory, for example, src="../directory/image.jpg". To go two directories up, you use src="../../image.jpg", for three src="../../../image.jpg" and so on

  6. I've also been told/read that, fonts shouldn't have the " around them.
    W3C recommends (try validating) putting quotes if they contain whitespace, for example Times New Roman should be "Times New Roman". This is because if a font were to contain more than 1 consecutive white space, for example
    imaginary  font

    , without the quotes it would be rendered as

    imaginary font

    . I don't know if there is a font like this, but it's W3C recommended.

×
×
  • Create New...