41 users online (1 members and 40 guests)  


  Results 1 to 10 of 10

Related

  1. Replies: 1
  2. === type comparison in mysql?    Forum: Databases
    Replies: 6
  3. comparison to javascript    Forum: CGI Perl Forum
    Replies: 0
  4. IceIsHot.com Web Host Comparison    Forum: Introduce Yourself
    Replies: 2
  1. #1
    sumit israni's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2001
    Posts
    5

    Post HTML/CSS Comparison

    Hi Friends,
    I am on the lookout for a quick sheet in which effects generated by HTML are common to those generated by CSS.If anybody can help me in this regard I shall be most thankful,
    Regards
    Sumit

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662

    Post

    lo sumit,

    hmm. HTML and CSS have more differences tahn commonalities, so I have never seen a comparison sheet.

    I have seen a complete CSS lookup at http://www.devguru.com and if you want the html4.0 specs alognside the css1 specs, then http://www.w3c.org are your best bet.

    hope that helps.

    ------------------
    QuietDean-

  3. #3
    sumit israni's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2001
    Posts
    5

    Post

    Hello QuietDean,
    Thanks for ur prompt message.Well I have the CSS reference sheets and the HTML tag sheet,but what I was really interested in knowing was ..is this:
    For Example:I have a text written say"Hello Sumit".Now I want to highlight the text with a background color that would span the entire width of the page.Now what would be the best way and the shortest way of doing it.Would it be applying a table then giving its row a background color or would it be via CSS or would it be using the style attribute of the HTML tag.This is a very primitive example .Therefore what I am wanting to know is how to achieve an optimized way of layout which would increase my speed of HTML programming.Therefore in relation to that I would want a cumulative comparison of all the layout techniques possible using either of the technologies (HTML/CSS)availaible!!

  4. #4
    webmistress's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Apr 2001
    Posts
    48

    Post

    The advantage of the CSS is that if you are going to be re-using a certain style over and over on your page, you can define it once in the header and be done with it. Also, if you decide to change it later, you change it in one place rather than at each use.

    I had one client who kept changing his "conventions" for text style (notice the past tense on our cliental relationship), and CSS was definitely the way to go. Want those footer links in a bigger font-size? Fix it in the CSS once. Want all transliterated words to be in in Courier instead of what you told me before, Times New Roman? Fix it in the CSS once.

    Just my thoughts.



    ------------------
    webmistress

  5. #5
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662

    Post

    Good thoughts. True.

    Sumit, as to your problem, weeeelll, it depends. The problem is, according to the latest specs, you would achieve what you want by using a <div class="big"> for example, and defining the div to be 100% wide etc. Thats the proper way. However, you try getting away with this in Netscape 6 and see what a headache it can cause. Therefore, I still use a table to achieve this.

    CSS is still a new technology (even though we are on the second version and it's been around since the invention of the printing press!) so the browsers are still worlds apart when it comes to implementation. Thats why the table still works, but even tables are treated differently in different browsers and tables are older than the dinosaurs! it's just that some of the old techniques are more reliable than their funkier modern counterparts.

    So I think what you really need is a list of CSS 'bugs'. This will help you see when to use CSS and when to use HTML.

    Here are two links, one of known bugs and another to a browser-comparison of supported attributes in CSS ---- bugs first:
    http://css.nu/pointers/bugs.html

    and browser support:
    http://www.webreview2.com/style/mastergrid.shtml
    I am a huge fan of CSS, but sometimes the browsers just don't cut the mustard.

    Hope these help.

    ------------------
    QuietDean-

  6. #6
    sumit israni's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2001
    Posts
    5

    Talking

    Hey QuietDean,
    You really provided me what I was looking for.Seriously that list is worthwhile looking for. But I guess I will have to do some manual work really and jot down the things in a categorized way so that it becomes second nature in writing HTML.As of now I have to really lookup on these sheets for reference.But I think once these subtle techniques and commonalities are noted,it will become a lot easier.I really thank you for enlightening me on that.Even I am a fan of CSS, but using it inline sometimes confuses me.Thanks buddy,
    Regards
    Sumit

  7. #7
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662

    Cool

    Glad I could help.

    Don't forget, Daves' got a couple of css tutorials in his resources section.

    ------------------
    QuietDean-

  8. #8
    sumit israni's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2001
    Posts
    5

    Post

    Hey Dean
    Thanks man for giving such a prompt help.I do not know the link to Dave's resources site.Can u kindly give me the link .Thanks a lot,
    Regards
    Sumit

  9. #9
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662

    Lightbulb

    Sure,

    to get to the main resources menu, its just -
    http://www.ahfb2000.com

    for the css section, its -
    removed

    Have fun!



    ------------------
    QuietDean-

  10. #10
    webmistress's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Apr 2001
    Posts
    48

    Thumbs up

    Oh, nice references, QuietDean, thanks. Tables,lol, I surfed on Lynx via a Unix terminal account until just bout oh, three years ago. When CNN switched to tables on their front page I went whacko trying to figure out what the news was!

    But seriously, it boggles my brain how the two main browsers can interepret tables so darned differently. Ah well.

    ------------------
    webmistress



Tags for this Thread